Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/paste/
Date: Wed, 09 Sep 2020 22:16:39
Message-Id: 1599689788.ac83e071bb0d29da7c5da46ace920ea66e6b1ea4.mgorny@gentoo
1 commit: ac83e071bb0d29da7c5da46ace920ea66e6b1ea4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 9 20:39:02 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 9 22:16:28 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac83e071
7
8 dev-python/paste: Bump to 3.4.4
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/paste/Manifest | 1 +
13 dev-python/paste/paste-3.4.4.ebuild | 42 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 43 insertions(+)
15
16 diff --git a/dev-python/paste/Manifest b/dev-python/paste/Manifest
17 index 7f91de2f3c9..debd229bd22 100644
18 --- a/dev-python/paste/Manifest
19 +++ b/dev-python/paste/Manifest
20 @@ -1,2 +1,3 @@
21 DIST Paste-3.4.1.tar.gz 633491 BLAKE2B be599b9385ecad754fc431a936ccd78ee088825c88040986ddd4ccb3ca81342d642a23699ca7ef9338be5360703ce5d5a2d966ff9e405744b286fa3fe69bce41 SHA512 90b6bd33e83fde70691be6206ad1de653603900b88fade79f6960df22bb84c6e82c9b6f4ddc11406f4e206273a2b5591b81ca034f8f42a3e993b85b16d07e3f0
22 DIST Paste-3.4.3.tar.gz 630569 BLAKE2B fa81b60ad048a2c999d4e57992f5a5603680bf7505f13a8618a55425b388ef906ceb2e118821d689905a20e7ec2b31d27a6aecd704f529540db6c4436f30268c SHA512 0869a3330a74cc14f88fb5ce24183328ec38fed1fc5cd669b428f09ee2fcafc770e95c2f4dc8de86dfce4d66861bad26c9502cccb81966c519ca4593ada094b1
23 +DIST Paste-3.4.4.tar.gz 630575 BLAKE2B 1d81efae1e1a783daf2d3fa86eb2e80cb95173a4bb182326c27471e2612b7de047bb3d98c0943aba9600f9888d760f39edd7c93ff4c16fbd4c90f68ebaa0caf6 SHA512 f977fa02b6800be27f703115b87987dcf8a1e4edd681f253b20fb363bfe625109b424ec6a0faba066e1d074f55a2ba336e17654f899b3100c9e3c3252d38b5a6
24
25 diff --git a/dev-python/paste/paste-3.4.4.ebuild b/dev-python/paste/paste-3.4.4.ebuild
26 new file mode 100644
27 index 00000000000..5bbbe51a411
28 --- /dev/null
29 +++ b/dev-python/paste/paste-3.4.4.ebuild
30 @@ -0,0 +1,42 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +DISTUTILS_USE_SETUPTOOLS=rdepend
37 +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
38 +
39 +inherit distutils-r1
40 +
41 +MY_P="Paste-${PV}"
42 +DESCRIPTION="Tools for using a Web Server Gateway Interface stack"
43 +HOMEPAGE="https://pypi.org/project/Paste/"
44 +SRC_URI="mirror://pypi/${MY_P::1}/${PN^}/${MY_P}.tar.gz"
45 +S=${WORKDIR}/${MY_P}
46 +
47 +LICENSE="MIT"
48 +SLOT="0"
49 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris"
50 +
51 +RDEPEND="dev-python/namespace-paste[${PYTHON_USEDEP}]
52 + >=dev-python/six-1.4.0[${PYTHON_USEDEP}]"
53 +
54 +distutils_enable_tests pytest
55 +distutils_enable_sphinx docs
56 +
57 +python_prepare_all() {
58 + # TODO: 'Address already in use'
59 + sed -e 's:test_address_family_v4:_&:' \
60 + -i tests/test_httpserver.py || die
61 +
62 + # Remove a test that runs against the paste website.
63 + rm -f tests/test_proxy.py || die
64 +
65 + distutils-r1_python_prepare_all
66 +}
67 +
68 +python_install_all() {
69 + distutils-r1_python_install_all
70 +
71 + find "${D}" -name '*.pth' -delete || die
72 +}