diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-10-12 21:38:57 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-10-12 21:38:57 +0200 |
commit | 139357b4d55eaaf7c7091c339662193f8a1e9e22 (patch) | |
tree | 359db0886c4fc17e7a6d8f8d0fcb20674cba67a2 /dev-python/paste | |
parent | dev-python/virtualenv: Bump to 20.0.34 (diff) | |
download | gentoo-139357b4d55eaaf7c7091c339662193f8a1e9e22.tar.gz gentoo-139357b4d55eaaf7c7091c339662193f8a1e9e22.tar.bz2 gentoo-139357b4d55eaaf7c7091c339662193f8a1e9e22.zip |
dev-python/paste: Bump to 3.5.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.5.0.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/paste/Manifest b/dev-python/paste/Manifest index df8be5e63d93..6b6fc356d8b9 100644 --- a/dev-python/paste/Manifest +++ b/dev-python/paste/Manifest @@ -2,3 +2,4 @@ DIST Paste-3.4.3.tar.gz 630569 BLAKE2B fa81b60ad048a2c999d4e57992f5a5603680bf750 DIST Paste-3.4.4.tar.gz 630575 BLAKE2B 1d81efae1e1a783daf2d3fa86eb2e80cb95173a4bb182326c27471e2612b7de047bb3d98c0943aba9600f9888d760f39edd7c93ff4c16fbd4c90f68ebaa0caf6 SHA512 f977fa02b6800be27f703115b87987dcf8a1e4edd681f253b20fb363bfe625109b424ec6a0faba066e1d074f55a2ba336e17654f899b3100c9e3c3252d38b5a6 DIST Paste-3.4.5.tar.gz 630575 BLAKE2B 2b6f08ed330fe4657bf12b4dfcc0cab95f73ec2647decaa5cb81635f7f2813814170615d1af945640f5bb2fc605f678fc20713b3016f55ad69e9e9b658938408 SHA512 cffc7a36ea880acfed6878a8865161c35263a3a056e853cf0d7c5e4dd2101d9462a4bf71a36e9f4c707c8fc11ae23ad2d0ae31080adf8614680462e489f47d3a DIST Paste-3.4.6.tar.gz 630593 BLAKE2B c1bfa58be8bc182878f0e67c89b09896152e1be993f301bc3ff1fd2673439146f3e95b0e2247d6c3cf43c346f67c7fdaf8a7721dfd0967f71d6346fbf62bab4a SHA512 64cf2abdd40850704060b3a07d1999dcfd05e19bf27270f7918c5c8683a4b1638d04da13d09f9f671b8acf069e26872d5932d5f0ed7022fd5cdc6bbda7602433 +DIST Paste-3.5.0.tar.gz 638021 BLAKE2B 6c8d856733245a7eef5782f8d6c1fe35093f5247cc76e86ab308f2d98a99ebaaef5309a9c402f1334707e042b52e52d7801723e9404ad0ae454b756b9df31dfb SHA512 a9f596d6fcd95f915990c16830caeb9c9a03412447597258c67a003fd485e2efd27798f2eb2de9978ac529292af4b55136de554bfb501e90f6185f55a6b0531b diff --git a/dev-python/paste/paste-3.5.0.ebuild b/dev-python/paste/paste-3.5.0.ebuild new file mode 100644 index 000000000000..87576606a344 --- /dev/null +++ b/dev-python/paste/paste-3.5.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6..9} pypy3 ) + +inherit distutils-r1 + +MY_P="Paste-${PV}" +DESCRIPTION="Tools for using a Web Server Gateway Interface stack" +HOMEPAGE="https://pypi.org/project/Paste/" +SRC_URI="mirror://pypi/${MY_P::1}/${PN^}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris" + +RDEPEND="dev-python/namespace-paste[${PYTHON_USEDEP}] + >=dev-python/six-1.4.0[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest +distutils_enable_sphinx docs + +python_prepare_all() { + # TODO: 'Address already in use' + sed -e 's:test_address_family_v4:_&:' \ + -i tests/test_httpserver.py || die + + # Remove a test that runs against the paste website. + rm -f tests/test_proxy.py || die + + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all + + find "${D}" -name '*.pth' -delete || die +} |