diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-10-03 06:55:15 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-10-03 07:10:58 +0200 |
commit | f3ded5c9990174034170891fa4b654a18319d500 (patch) | |
tree | 4ec6f34aa6c50891ad466204f476499ebd9442a5 /dev-python/paste | |
parent | dev-python/coverage: Bump to 7.3.2 (diff) | |
download | gentoo-f3ded5c9990174034170891fa4b654a18319d500.tar.gz gentoo-f3ded5c9990174034170891fa4b654a18319d500.tar.bz2 gentoo-f3ded5c9990174034170891fa4b654a18319d500.zip |
dev-python/paste: Bump to 3.6.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/paste')
-rw-r--r-- | dev-python/paste/Manifest | 1 | ||||
-rw-r--r-- | dev-python/paste/paste-3.6.0.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/paste/Manifest b/dev-python/paste/Manifest index 5ac253f0ee25..3b1926977302 100644 --- a/dev-python/paste/Manifest +++ b/dev-python/paste/Manifest @@ -1 +1,2 @@ DIST Paste-3.5.3.tar.gz 638791 BLAKE2B 12bcd083ba87699c05c46b1d27757ef4de5f528ba4f01407c113cccc1c59975a6143b6831d1d640b0d0fb82995c7aefd5e14601795403512a2997bd8a9e55466 SHA512 3087ea7b6cc45a90b85c473cbff7f018ca961536ff70fbed4610f86dedc82cef0274ccddb767de411ec2955d0c265cb4e797a14a25697870c38667ccd7c4a2d8 +DIST Paste-3.6.0.tar.gz 638953 BLAKE2B 89dc1b04c1b7eacae851900a274e5531ee568e2ef797b954e0c2e0b7bbe914e4bd129a5033919d914335680eb1aa57b115f647c65986ee4ae6e54a5edc9f16c5 SHA512 cacd3150da289f35960363bf77d9749b367ea857bebcfa601bd8410fb317a61ec357be0ef44fbdf9e576c3a3ec2934597d4e1a419f06e64f463705ebb6feb1bb diff --git a/dev-python/paste/paste-3.6.0.ebuild b/dev-python/paste/paste-3.6.0.ebuild new file mode 100644 index 000000000000..cbdcd33095e3 --- /dev/null +++ b/dev-python/paste/paste-3.6.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN^} +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Tools for using a Web Server Gateway Interface stack" +HOMEPAGE=" + https://pythonpaste.readthedocs.io/en/latest/ + https://github.com/cdent/paste/ + https://pypi.org/project/Paste/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +RDEPEND=" + >=dev-python/six-1.4.0[${PYTHON_USEDEP}] + !dev-python/namespace-paste +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/test_proxy.py + ) + + [[ ${EPYTHON} == python3.1[12] ]] && EPYTEST_DESELECT+=( + # fails due to cgi deprecation warning + tests/test_cgiapp.py::test_form + ) + + epytest +} |