From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- dev-python/cheroot/Manifest | 2 +- dev-python/cheroot/cheroot-8.6.0-r1.ebuild | 77 ++++++++++++++++++++++++++++++ dev-python/cheroot/cheroot-8.6.0.ebuild | 76 ----------------------------- 3 files changed, 78 insertions(+), 77 deletions(-) create mode 100644 dev-python/cheroot/cheroot-8.6.0-r1.ebuild delete mode 100644 dev-python/cheroot/cheroot-8.6.0.ebuild (limited to 'dev-python/cheroot') diff --git a/dev-python/cheroot/Manifest b/dev-python/cheroot/Manifest index 248d78c1e300..1910b42c5dab 100644 --- a/dev-python/cheroot/Manifest +++ b/dev-python/cheroot/Manifest @@ -1,4 +1,4 @@ AUX cheroot-8.6.0-remove-pypytools-dep.patch 2757 BLAKE2B 97628fd6590dbe41e34bf0b93bc1062c424097aeea26a86891e2d2fc049fb7ee7a990fc9b9d3dba9406bdd344e3c25cdd08907aaac11e64d78c73b3ccd9b3fa5 SHA512 ddc88d93c795ea25c56d0b2a1bfee1b0f9c900ec2594d69aa91c639575c86c1fb89accc95992587db76d5c4e438a34f2eceac480c60a5470aee5ecd996140e44 DIST cheroot-8.6.0.tar.gz 134779 BLAKE2B 97d1a9bf0a8d72d3204972934aa3ac4c97246b413edebd9f38caa802a5343acc426f137addfdc0faec58f6af2d62bc22023e93b14e1b0b07f6be9ffb12e78306 SHA512 26e48c935fe32d4ce3cf6ae20b5b272416ca53bd8496527c2958ec2ebe87529c831f283ae900e13271b610e39531b682df0376935ecc3bcfcca11c299cd2a893 -EBUILD cheroot-8.6.0.ebuild 1904 BLAKE2B 85849f7216f607607857ca4a0055b5bc618ba6dd98e1d3fec45f1beff2bde329f27bc41202ee2f3e66e44f51db20cabfad7a17287d7a733e522526c19200129d SHA512 6506facf143da2ad138a0dee835e2f28762a76eb151118da535aede3448f31f29a8328aea54ad2214abe5a974507dd267a0d3852c45f82d9775160fd16a33404 +EBUILD cheroot-8.6.0-r1.ebuild 1832 BLAKE2B e2f2b5ea27b7d133a5e6f42d6a05149cf148316e19ad8a8563ab41c6a2c241b5649154714d6384c28ed1af6cfdc2ae81e32f8e8dad2b7e26a5d2d77708951993 SHA512 336eac3a709650b17df11ed5a4b031109bd145c6eb3866d0c970f8ad959a160b0a5b7b3ecf53fe48e7cc66311a3d4261c362425217eb94cfa6a1c35064ccee48 MISC metadata.xml 391 BLAKE2B 1c9c2af2c1a8bcd3f1c426a87d1a2a97fb88a9a30f9c2f1802b8885329277fcfde1deadf635e419cd7f85a5685639709be33aa746d9f7a04c3ac7d832d084b42 SHA512 c194e8bed8d082ed4ce3f2a7f608085fdcf2ab8b7c730e5c6ad7438cf177ed1892565cdff0feda564681f59bf6aefc327e3d24da0a543c0f043934af27873e95 diff --git a/dev-python/cheroot/cheroot-8.6.0-r1.ebuild b/dev-python/cheroot/cheroot-8.6.0-r1.ebuild new file mode 100644 index 000000000000..aae772bf949c --- /dev/null +++ b/dev-python/cheroot/cheroot-8.6.0-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="High-performance, pure-Python HTTP server used by CherryPy" +HOMEPAGE=" + https://cherrypy.dev/ + https://pypi.org/project/cheroot/ + https://github.com/cherrypy/cheroot/ +" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~ia64 ppc ~ppc64 ~riscv x86" + +RDEPEND=" + >=dev-python/six-1.11.0[${PYTHON_USEDEP}] + >=dev-python/more-itertools-2.6[${PYTHON_USEDEP}] + dev-python/jaraco-functools[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/jaraco-context[${PYTHON_USEDEP}] + dev-python/jaraco-text[${PYTHON_USEDEP}] + dev-python/portend[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-1.11.0[${PYTHON_USEDEP}] + dev-python/requests-toolbelt[${PYTHON_USEDEP}] + dev-python/requests-unixsocket[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] + !ia64? ( + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) + ) +" + +PATCHES=( + # Bad dep (upstream gone, only PyPi package, has py2 code, etc) + "${FILESDIR}/${PN}-8.6.0-remove-pypytools-dep.patch" +) + +distutils_enable_tests pytest + +python_prepare_all() { + sed -e '/--cov/d' \ + -e '/--testmon/d' \ + -e '/--numproc/d' \ + -i pytest.ini || die + + # broken + sed -e '/False.*localhost/d' \ + -i cheroot/test/test_ssl.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local EPYTEST_IGNORE=() + if ! has_version "dev-python/pyopenssl[${PYTHON_USEDEP}]" || + ! has_version "dev-python/trustme[${PYTHON_USEDEP}]" + then + EPYTEST_IGNORE+=( + lib/cheroot/test/test_ssl.py + ) + fi + + epytest +} diff --git a/dev-python/cheroot/cheroot-8.6.0.ebuild b/dev-python/cheroot/cheroot-8.6.0.ebuild deleted file mode 100644 index af8d3eaf4567..000000000000 --- a/dev-python/cheroot/cheroot-8.6.0.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="High-performance, pure-Python HTTP server used by CherryPy" -HOMEPAGE="https://cherrypy.org/ - https://pypi.org/project/cheroot/ - https://github.com/cherrypy/cheroot/" -SRC_URI="mirror://pypi/C/${PN/c/C}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ia64 ppc ~ppc64 ~riscv x86" - -RDEPEND=" - >=dev-python/six-1.11.0[${PYTHON_USEDEP}] - >=dev-python/more-itertools-2.6[${PYTHON_USEDEP}] - dev-python/jaraco-functools[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/jaraco-context[${PYTHON_USEDEP}] - dev-python/jaraco-text[${PYTHON_USEDEP}] - dev-python/portend[${PYTHON_USEDEP}] - dev-python/pytest-forked[${PYTHON_USEDEP}] - >=dev-python/pytest-mock-1.11.0[${PYTHON_USEDEP}] - dev-python/requests-toolbelt[${PYTHON_USEDEP}] - dev-python/requests-unixsocket[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] - !ia64? ( - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - ) - ) -" - -PATCHES=( - # Bad dep (upstream gone, only PyPi package, has py2 code, etc) - "${FILESDIR}/${PN}-8.6.0-remove-pypytools-dep.patch" -) - -distutils_enable_tests pytest - -python_prepare_all() { - sed -e "s/use_scm_version=True/version='${PV}'/" -i setup.py || die - sed -e '/setuptools_scm/d' -i setup.cfg || die - sed -e '/--cov/d' \ - -e '/--testmon/d' \ - -e '/--numproc/d' \ - -i pytest.ini || die - - # broken - sed -e '/False.*localhost/d' \ - -i cheroot/test/test_ssl.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - local EPYTEST_IGNORE=() - if ! has_version "dev-python/pyopenssl[${PYTHON_USEDEP}]" || - ! has_version "dev-python/trustme[${PYTHON_USEDEP}]" - then - EPYTEST_IGNORE+=( - lib/cheroot/test/test_ssl.py - ) - fi - - cd "${BUILD_DIR}" || die - epytest -} -- cgit v1.2.3