From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A355F138331 for ; Wed, 10 Jan 2018 01:21:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E90B0E09C3; Wed, 10 Jan 2018 01:21:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B9646E09C3 for ; Wed, 10 Jan 2018 01:21:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D59D0335C31 for ; Wed, 10 Jan 2018 01:21:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DB4A41AE for ; Wed, 10 Jan 2018 01:20:57 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1515547171.363aaf3b3d782bd2a52025106ffabf64f22e6ec5.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cherrypy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/cherrypy/Manifest dev-python/cherrypy/cherrypy-13.1.0.ebuild X-VCS-Directories: dev-python/cherrypy/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 363aaf3b3d782bd2a52025106ffabf64f22e6ec5 X-VCS-Branch: master Date: Wed, 10 Jan 2018 01:20:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 30493726-6e29-4459-9425-6dbad2160dd8 X-Archives-Hash: 225b515b1fab12a881d51eadaa859e09 commit: 363aaf3b3d782bd2a52025106ffabf64f22e6ec5 Author: Zac Medico gentoo org> AuthorDate: Wed Jan 10 00:50:49 2018 +0000 Commit: Zac Medico gentoo org> CommitDate: Wed Jan 10 01:19:31 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=363aaf3b dev-python/cherrypy: version bump to 13.1.0 Package-Manager: Portage-2.3.19, Repoman-2.3.6 dev-python/cherrypy/Manifest | 1 + dev-python/cherrypy/cherrypy-13.1.0.ebuild | 42 ++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-python/cherrypy/Manifest b/dev-python/cherrypy/Manifest index 491ab74e9a6..92b58fc6a54 100644 --- a/dev-python/cherrypy/Manifest +++ b/dev-python/cherrypy/Manifest @@ -1 +1,2 @@ +DIST CherryPy-13.1.0.tar.gz 687221 BLAKE2B ab9c8f50026e26d171877e4e68f1c5a53fa8519190bcc577e12999cdf8a7f52be37f4ba9ed83a276a9f33676839ec63bff68aa8f9f51ddf15557e09123bf2530 SHA512 c32cf009d6a5b557560a00cde0f47a01ae481c7f60b7f340e5c99bf2d7c757e7c7cbf3ef2f4f71c172057aa09ca332f2d211cc97623ea29ba9f17287c7bc42dd DIST CherryPy-3.8.0.tar.gz 433711 BLAKE2B e1b4a554138a61e8c6313c3055723583d812e573a352d67bd5448f799e4f2f22694b800810b53cd041c665e46d9555b471d1da91c252ade96459778d7a5c07fa SHA512 25f84093e30d814c0980f7d77b98492113470c3297c66ee8652e40650757f8e2b7db01bb8de6d7a1ea9b4bed8b764502b1f563ac6f0d082970bc2d46739d19c2 diff --git a/dev-python/cherrypy/cherrypy-13.1.0.ebuild b/dev-python/cherrypy/cherrypy-13.1.0.ebuild new file mode 100644 index 00000000000..02dfe13cae1 --- /dev/null +++ b/dev-python/cherrypy/cherrypy-13.1.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) + +inherit distutils-r1 + +MY_P="CherryPy-${PV}" + +DESCRIPTION="CherryPy is a pythonic, object-oriented HTTP framework" +HOMEPAGE="http://www.cherrypy.org/ https://pypi.python.org/pypi/CherryPy" +SRC_URI="mirror://pypi/C/CherryPy/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=">=dev-python/cheroot-5.9.1[${PYTHON_USEDEP}] + >=dev-python/portend-2.1.1[${PYTHON_USEDEP}] + >=dev-python/six-1.11.0[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/backports-unittest-mock[${PYTHON_USEDEP}] + dev-python/path-py[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" +S="${WORKDIR}/${MY_P}" + +python_prepare_all() { + # UnicodeEncodeError: 'ascii' codec can't encode character u'\u2603' in position 0: ordinal not in range(128) + sed -e 's|@pytest.mark.xfail(py27_on_windows|@pytest.mark.xfail(sys.version_info < (3,)|' \ + -i cherrypy/test/test_static.py || die + distutils-r1_python_prepare_all +} + +python_test() { + py.test -v || die "tests failed under ${EPTYHON}" +}