Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cherrypy/
Date: Wed, 10 Jan 2018 01:21:04
Message-Id: 1515547171.363aaf3b3d782bd2a52025106ffabf64f22e6ec5.zmedico@gentoo
1 commit: 363aaf3b3d782bd2a52025106ffabf64f22e6ec5
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 10 00:50:49 2018 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 10 01:19:31 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=363aaf3b
7
8 dev-python/cherrypy: version bump to 13.1.0
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 dev-python/cherrypy/Manifest | 1 +
13 dev-python/cherrypy/cherrypy-13.1.0.ebuild | 42 ++++++++++++++++++++++++++++++
14 2 files changed, 43 insertions(+)
15
16 diff --git a/dev-python/cherrypy/Manifest b/dev-python/cherrypy/Manifest
17 index 491ab74e9a6..92b58fc6a54 100644
18 --- a/dev-python/cherrypy/Manifest
19 +++ b/dev-python/cherrypy/Manifest
20 @@ -1 +1,2 @@
21 +DIST CherryPy-13.1.0.tar.gz 687221 BLAKE2B ab9c8f50026e26d171877e4e68f1c5a53fa8519190bcc577e12999cdf8a7f52be37f4ba9ed83a276a9f33676839ec63bff68aa8f9f51ddf15557e09123bf2530 SHA512 c32cf009d6a5b557560a00cde0f47a01ae481c7f60b7f340e5c99bf2d7c757e7c7cbf3ef2f4f71c172057aa09ca332f2d211cc97623ea29ba9f17287c7bc42dd
22 DIST CherryPy-3.8.0.tar.gz 433711 BLAKE2B e1b4a554138a61e8c6313c3055723583d812e573a352d67bd5448f799e4f2f22694b800810b53cd041c665e46d9555b471d1da91c252ade96459778d7a5c07fa SHA512 25f84093e30d814c0980f7d77b98492113470c3297c66ee8652e40650757f8e2b7db01bb8de6d7a1ea9b4bed8b764502b1f563ac6f0d082970bc2d46739d19c2
23
24 diff --git a/dev-python/cherrypy/cherrypy-13.1.0.ebuild b/dev-python/cherrypy/cherrypy-13.1.0.ebuild
25 new file mode 100644
26 index 00000000000..02dfe13cae1
27 --- /dev/null
28 +++ b/dev-python/cherrypy/cherrypy-13.1.0.ebuild
29 @@ -0,0 +1,42 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
35 +
36 +inherit distutils-r1
37 +
38 +MY_P="CherryPy-${PV}"
39 +
40 +DESCRIPTION="CherryPy is a pythonic, object-oriented HTTP framework"
41 +HOMEPAGE="http://www.cherrypy.org/ https://pypi.python.org/pypi/CherryPy"
42 +SRC_URI="mirror://pypi/C/CherryPy/${MY_P}.tar.gz"
43 +
44 +LICENSE="BSD"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE="test"
48 +
49 +RDEPEND=">=dev-python/cheroot-5.9.1[${PYTHON_USEDEP}]
50 + >=dev-python/portend-2.1.1[${PYTHON_USEDEP}]
51 + >=dev-python/six-1.11.0[${PYTHON_USEDEP}]"
52 +DEPEND="${RDEPEND}
53 + dev-python/setuptools[${PYTHON_USEDEP}]
54 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
55 + test? (
56 + dev-python/backports-unittest-mock[${PYTHON_USEDEP}]
57 + dev-python/path-py[${PYTHON_USEDEP}]
58 + dev-python/pytest[${PYTHON_USEDEP}]
59 + )"
60 +S="${WORKDIR}/${MY_P}"
61 +
62 +python_prepare_all() {
63 + # UnicodeEncodeError: 'ascii' codec can't encode character u'\u2603' in position 0: ordinal not in range(128)
64 + sed -e 's|@pytest.mark.xfail(py27_on_windows|@pytest.mark.xfail(sys.version_info < (3,)|' \
65 + -i cherrypy/test/test_static.py || die
66 + distutils-r1_python_prepare_all
67 +}
68 +
69 +python_test() {
70 + py.test -v || die "tests failed under ${EPTYHON}"
71 +}