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