diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-09-25 09:26:29 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-09-25 09:58:46 +0200 |
commit | c22b51a10088a6578e84d26b1c30c1207ff40492 (patch) | |
tree | 82117dece36356c77a472975cb65476b1fe2531a /dev-python/paste | |
parent | dev-python/toolz: Bump to 0.11.1 (diff) | |
download | gentoo-c22b51a10088a6578e84d26b1c30c1207ff40492.tar.gz gentoo-c22b51a10088a6578e84d26b1c30c1207ff40492.tar.bz2 gentoo-c22b51a10088a6578e84d26b1c30c1207ff40492.zip |
dev-python/paste: Bump to 3.4.5
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.4.5.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/paste/Manifest b/dev-python/paste/Manifest index 0924be9fcf09..7cd399ccd77f 100644 --- a/dev-python/paste/Manifest +++ b/dev-python/paste/Manifest @@ -1,2 +1,3 @@ DIST Paste-3.4.3.tar.gz 630569 BLAKE2B fa81b60ad048a2c999d4e57992f5a5603680bf7505f13a8618a55425b388ef906ceb2e118821d689905a20e7ec2b31d27a6aecd704f529540db6c4436f30268c SHA512 0869a3330a74cc14f88fb5ce24183328ec38fed1fc5cd669b428f09ee2fcafc770e95c2f4dc8de86dfce4d66861bad26c9502cccb81966c519ca4593ada094b1 DIST Paste-3.4.4.tar.gz 630575 BLAKE2B 1d81efae1e1a783daf2d3fa86eb2e80cb95173a4bb182326c27471e2612b7de047bb3d98c0943aba9600f9888d760f39edd7c93ff4c16fbd4c90f68ebaa0caf6 SHA512 f977fa02b6800be27f703115b87987dcf8a1e4edd681f253b20fb363bfe625109b424ec6a0faba066e1d074f55a2ba336e17654f899b3100c9e3c3252d38b5a6 +DIST Paste-3.4.5.tar.gz 630575 BLAKE2B 2b6f08ed330fe4657bf12b4dfcc0cab95f73ec2647decaa5cb81635f7f2813814170615d1af945640f5bb2fc605f678fc20713b3016f55ad69e9e9b658938408 SHA512 cffc7a36ea880acfed6878a8865161c35263a3a056e853cf0d7c5e4dd2101d9462a4bf71a36e9f4c707c8fc11ae23ad2d0ae31080adf8614680462e489f47d3a diff --git a/dev-python/paste/paste-3.4.5.ebuild b/dev-python/paste/paste-3.4.5.ebuild new file mode 100644 index 000000000000..87576606a344 --- /dev/null +++ b/dev-python/paste/paste-3.4.5.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 +} |