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: Tue, 26 May 2020 16:57:34
Message-Id: 1590511545.b2178d757081824eb24ca6df8bbc488fb7ce9dd8.mgorny@gentoo
1 commit: b2178d757081824eb24ca6df8bbc488fb7ce9dd8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 26 16:45:45 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue May 26 16:45:45 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2178d75
7
8 dev-python/pastedeploy: Bump to 2.1.0
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.0.ebuild | 40 +++++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/dev-python/pastedeploy/Manifest b/dev-python/pastedeploy/Manifest
17 index 0b2e277d851..9d54826cff4 100644
18 --- a/dev-python/pastedeploy/Manifest
19 +++ b/dev-python/pastedeploy/Manifest
20 @@ -1 +1,2 @@
21 DIST pastedeploy-2.0.1.tar.gz 32215 BLAKE2B a398c54813fa990e3f12ba7c66615e3e84e848ce0dc57177f7f76114a544a11f89569ac85f16afb1ee392a08ad06eb6b4f0cc5aa3f328d154643c541fcafa7bd SHA512 be50c434765d5a913f9456527a72bd88e778e947b1db99ee4ea2f3325366038d941bdab6c826bd61f0c1eb1618395e6bca2081ac99b5ca50aa7120406d5f4ce3
22 +DIST pastedeploy-2.1.0.tar.gz 32240 BLAKE2B 1672e3b48a287f57e9e7fca082e4cd07cea770db1c2ae0012a83dc8ec927d83bf94461a69c7afdbed082c72506eb46c0c5db15e5f0bc24ad7a4212efb9f6696e SHA512 2c639b5ad07faee013ff3fe37d0e3c6ca7b56ed0960dbcaf133c05d51a7f29d6a2f35118bd8faea4d9aca90438c43d8046a340833878e4b925f32142df169c97
23
24 diff --git a/dev-python/pastedeploy/pastedeploy-2.1.0.ebuild b/dev-python/pastedeploy/pastedeploy-2.1.0.ebuild
25 new file mode 100644
26 index 00000000000..fd89fee1c97
27 --- /dev/null
28 +++ b/dev-python/pastedeploy/pastedeploy-2.1.0.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=( python2_7 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 +}