diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-16 00:09:44 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-16 00:09:44 +0100 |
commit | 0a3feeaba4dbc58966dccdbbfcd7fb14deef0831 (patch) | |
tree | d48a200142b883af377722ab54ec0c1d8c19912f /dev-python/cherrypy | |
parent | 6a7029e0f7370d4d5dfe9e31cc2719a870482392 (diff) |
gentoo auto-resync : 16:06:2024 - 00:09:44
Diffstat (limited to 'dev-python/cherrypy')
-rw-r--r-- | dev-python/cherrypy/Manifest | 2 | ||||
-rw-r--r-- | dev-python/cherrypy/cherrypy-18.10.0.ebuild | 66 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/cherrypy/Manifest b/dev-python/cherrypy/Manifest index d63e005a1002..af973ae5e4dd 100644 --- a/dev-python/cherrypy/Manifest +++ b/dev-python/cherrypy/Manifest @@ -1,3 +1,5 @@ DIST CherryPy-18.9.0.tar.gz 631900 BLAKE2B 5bc0d4315f6b9300ba8fc122858554a6b6476f78ac1fb31b1635707488a4a300e359d2e368dde9996c202a8f42100ef09e298fb923f955e92d7906ed970d2ba9 SHA512 ed2beacedd3417214f45e59567f2a1faf5964745a545360db2f61251a39f50f2a833745832a2c900673029d98062f7e1813db6c342585f8d2bbae0be423edb3a +DIST cherrypy-18.10.0.tar.gz 633708 BLAKE2B b403ac983da855c7bf44b6909cc984a544d61cfa3191fae81f15b01d6b2d5d5e4bcd8c9f99c550e39540aac75d14523724602ddf121768c43bcbb93235e0941b SHA512 6c77d89e484fc1cf5a8e7523d1ebb04ba49930823905142ab016aabc80924e1173c97342f172585758c28faee1b329e26fe04dd1e36c559b7798495d45fdc36f +EBUILD cherrypy-18.10.0.ebuild 1718 BLAKE2B 9beec6507462df19c4da00bb242640a9fb78773a7e0c814b14e643e6d77e53557de95cca3a71c01234d2815645047d0711f16325ff8707c56c48da8281ec1684 SHA512 57963a45132e6f3a89b51732dbe445caa80c72b4cd4463f6c588440da1a96df1c171a8f8f854ecf5a6036dbf994a3e8d1d40bb1047ced1db57d2c066a19628d0 EBUILD cherrypy-18.9.0.ebuild 1732 BLAKE2B 978bc2982d0873b008e932492ad6c85b16629832337d223aa2a8cb1b98a2e1de77ef25cada4e8d8e1d68fd2236fd75f7a967f14866dd270f2c09546078e06b98 SHA512 14cd1a42766ad4c2cf49f35a4e4c181d182899ecc7e8bedf7226d80f4d4f5ce48d96d9f165d17180be5c4178c8be1d519109bf695ec8af0103f77264e64b0292 MISC metadata.xml 469 BLAKE2B 8a5e41d7cee996975da9df7a30172bfebd1b715581bc5e4de1934a97332af16a18c928b33ad088723618f3dd694101639702c5d6c2619e3db46c488992aa67a3 SHA512 d08a8114dcdefa5e27a2382604953c7635d376f941f92a128e229f42c3b236da0e36287182c2be735b624566a6bb5dd1c3541bf67396e33169f86e6dd0d0c09a diff --git a/dev-python/cherrypy/cherrypy-18.10.0.ebuild b/dev-python/cherrypy/cherrypy-18.10.0.ebuild new file mode 100644 index 000000000000..fcbfeb62a8d3 --- /dev/null +++ b/dev-python/cherrypy/cherrypy-18.10.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN="CherryPy" +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="CherryPy is a pythonic, object-oriented HTTP framework" +HOMEPAGE=" + https://cherrypy.dev/ + https://github.com/cherrypy/cherrypy/ + https://pypi.org/project/CherryPy/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="ssl test" + +RDEPEND=" + >=dev-python/cheroot-8.2.1[${PYTHON_USEDEP}] + >=dev-python/portend-2.1.1[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/zc-lockfile[${PYTHON_USEDEP}] + dev-python/jaraco-collections[${PYTHON_USEDEP}] + ssl? ( + dev-python/pyopenssl[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/routes[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + dev-python/objgraph[${PYTHON_USEDEP}] + dev-python/path[${PYTHON_USEDEP}] + dev-python/requests-toolbelt[${PYTHON_USEDEP}] + dev-python/pytest-services[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + sed -i -e '/cov/d' pytest.ini || die + # upstream has been using xfail to mark flaky tests, then added + # xfail_strict... not a good idea + sed -i -e '/xfail_strict/d' pytest.ini || die + + distutils-r1_python_prepare_all +} + +python_test() { + local EPYTEST_DESELECT=() + [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( + # broken by changes in traceback output + cherrypy/test/test_request_obj.py::RequestObjectTests::testErrorHandling + cherrypy/test/test_tools.py::ToolTests::testHookErrors + ) + + epytest +} |