Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cherrypy/
Date: Sun, 04 Jul 2021 07:39:00
Message-Id: 1625384334.d8f8f0deae65eedcced8f55e3d2304f5c1c795fd.mgorny@gentoo
1 commit: d8f8f0deae65eedcced8f55e3d2304f5c1c795fd
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 4 07:38:14 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 4 07:38:54 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8f8f0de
7
8 dev-python/cherrypy: Bump to 18.6.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/cherrypy/Manifest | 1 +
13 dev-python/cherrypy/cherrypy-18.6.1.ebuild | 52 ++++++++++++++++++++++++++++++
14 2 files changed, 53 insertions(+)
15
16 diff --git a/dev-python/cherrypy/Manifest b/dev-python/cherrypy/Manifest
17 index 6414d1c7d60..f85a63b78c2 100644
18 --- a/dev-python/cherrypy/Manifest
19 +++ b/dev-python/cherrypy/Manifest
20 @@ -1 +1,2 @@
21 DIST CherryPy-18.6.0.tar.gz 686804 BLAKE2B dae7f0ac403084acdf611e4a9e75f152355491e4383a1bd1374ae77ac68b415f41ce79f1e65a7a66c61aa0965ac94cd9bfd0d425cf7752ab54edf0bc0d8cabfb SHA512 cd33303fa9b9704ef427553091a6a6c2bbfea20e7d81acd2bcdc2855f8a36a084a0781bb19f3a084b24f0664bd7b318a667c8c79b5073381901acce4602de9d7
22 +DIST CherryPy-18.6.1.tar.gz 692730 BLAKE2B 44cef7ed54a090df396691001b794bf13be2c61003bf80b63223e3a42914ce50fcfe43c06626fb881105e3ed6fbf587df7024bbf7cfde00a8263c432f4cc7ae4 SHA512 186a0992a443e1ffc1a2924b3351dcb0e6cc6c88b39ac32330d6365fe1b0a35c2008a3a18e1a57f61ffd1901ea6134333bb6288024d8ffbb1fd8e8dcd3145007
23
24 diff --git a/dev-python/cherrypy/cherrypy-18.6.1.ebuild b/dev-python/cherrypy/cherrypy-18.6.1.ebuild
25 new file mode 100644
26 index 00000000000..f5d3a478fc2
27 --- /dev/null
28 +++ b/dev-python/cherrypy/cherrypy-18.6.1.ebuild
29 @@ -0,0 +1,52 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python3_{8..9} )
36 +inherit distutils-r1
37 +
38 +MY_P="CherryPy-${PV}"
39 +
40 +DESCRIPTION="CherryPy is a pythonic, object-oriented HTTP framework"
41 +HOMEPAGE="https://www.cherrypy.org/ https://pypi.org/project/CherryPy/"
42 +SRC_URI="mirror://pypi/C/CherryPy/${MY_P}.tar.gz"
43 +S="${WORKDIR}/${MY_P}"
44 +
45 +LICENSE="BSD"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
48 +IUSE="ssl test"
49 +
50 +RDEPEND="
51 + >=dev-python/cheroot-8.2.1[${PYTHON_USEDEP}]
52 + >=dev-python/portend-2.1.1[${PYTHON_USEDEP}]
53 + dev-python/more-itertools[${PYTHON_USEDEP}]
54 + dev-python/zc-lockfile[${PYTHON_USEDEP}]
55 + dev-python/jaraco-collections[${PYTHON_USEDEP}]
56 + ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )"
57 +BDEPEND="
58 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
59 + test? (
60 + dev-python/routes[${PYTHON_USEDEP}]
61 + dev-python/simplejson[${PYTHON_USEDEP}]
62 + dev-python/objgraph[${PYTHON_USEDEP}]
63 + dev-python/path-py[${PYTHON_USEDEP}]
64 + dev-python/requests-toolbelt[${PYTHON_USEDEP}]
65 + dev-python/pytest-services[${PYTHON_USEDEP}]
66 + )
67 +"
68 +
69 +distutils_enable_tests pytest
70 +
71 +python_prepare_all() {
72 + sed -r -e '/(pytest-sugar|pytest-cov)/ d' \
73 + -i setup.py || die
74 +
75 + sed -r -e 's:--cov-report[[:space:]]+[[:graph:]]+::g' \
76 + -e 's:--cov[[:graph:]]+::g' \
77 + -e 's:--doctest[[:graph:]]+::g' \
78 + -i pytest.ini || die
79 +
80 + distutils-r1_python_prepare_all
81 +}