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/pastedeploy/
Date: Mon, 12 Oct 2020 19:42:50
Message-Id: 1602531734.375ab4e3a412cae8eed982e2c4e41b69381c1a21.mgorny@gentoo
1 commit: 375ab4e3a412cae8eed982e2c4e41b69381c1a21
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 12 19:40:05 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 12 19:42:14 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=375ab4e3
7
8 dev-python/pastedeploy: Bump to 2.1.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pastedeploy/Manifest | 1 +
13 dev-python/pastedeploy/pastedeploy-2.1.1.ebuild | 40 +++++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/dev-python/pastedeploy/Manifest b/dev-python/pastedeploy/Manifest
17 index b77b5542c95..8c886f14f1d 100644
18 --- a/dev-python/pastedeploy/Manifest
19 +++ b/dev-python/pastedeploy/Manifest
20 @@ -1 +1,2 @@
21 DIST pastedeploy-2.1.0.tar.gz 32240 BLAKE2B 1672e3b48a287f57e9e7fca082e4cd07cea770db1c2ae0012a83dc8ec927d83bf94461a69c7afdbed082c72506eb46c0c5db15e5f0bc24ad7a4212efb9f6696e SHA512 2c639b5ad07faee013ff3fe37d0e3c6ca7b56ed0960dbcaf133c05d51a7f29d6a2f35118bd8faea4d9aca90438c43d8046a340833878e4b925f32142df169c97
22 +DIST pastedeploy-2.1.1.tar.gz 32339 BLAKE2B d11affa480e5c9b7be53d0431090e4ec9d66f8862b1aadf6a993a09f9c952380d7698eaa7442614936a8316e2ac50404a096bf64bb3ef31f55cbee35b5982166 SHA512 0109e30cb5ae9bdd7f06a79f6236c90f96c3bcfe507258572b1329796a1821486d9762d954673ccbac76ee63c6a69e64fe5e2cae5402fecf4a5affe88cf46930
23
24 diff --git a/dev-python/pastedeploy/pastedeploy-2.1.1.ebuild b/dev-python/pastedeploy/pastedeploy-2.1.1.ebuild
25 new file mode 100644
26 index 00000000000..0096412f88f
27 --- /dev/null
28 +++ b/dev-python/pastedeploy/pastedeploy-2.1.1.ebuild
29 @@ -0,0 +1,40 @@
30 +# Copyright 1999-2020 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +DISTUTILS_USE_SETUPTOOLS=rdepend
36 +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
37 +
38 +inherit distutils-r1
39 +
40 +MY_PN="PasteDeploy"
41 +MY_P="${MY_PN}-${PV}"
42 +
43 +DESCRIPTION="Load, configure, and compose WSGI applications and servers"
44 +HOMEPAGE="https://pypi.org/project/PasteDeploy/"
45 +# pypi tarball does not include tests
46 +SRC_URI="https://github.com/Pylons/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
47 +
48 +LICENSE="MIT"
49 +SLOT="0"
50 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
51 +IUSE="doc"
52 +
53 +RDEPEND="dev-python/namespace-paste[${PYTHON_USEDEP}]"
54 +BDEPEND="${RDEPEND}"
55 +
56 +distutils_enable_tests pytest
57 +
58 +python_prepare_all() {
59 + sed -i 's:"pytest-runner"::' setup.py || die
60 +
61 + distutils-r1_python_prepare_all
62 +}
63 +
64 +python_install_all() {
65 + distutils-r1_python_install_all
66 +
67 + use doc && dodoc docs/*.txt
68 + find "${D}" -name '*.pth' -delete || die
69 +}