Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pastedeploy/
Date: Wed, 27 Nov 2019 21:21:56
Message-Id: 1574889566.137e37864644137c8f8d8ab950c487c83d36c54f.chutzpah@gentoo
1 commit: 137e37864644137c8f8d8ab950c487c83d36c54f
2 Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
3 AuthorDate: Wed Nov 27 20:01:55 2019 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 27 21:19:26 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=137e3786
7
8 dev-python/pastedeploy-2.0.1-r1: revbump, add py38 and pypy{,3}
9
10 Copyright: Sony Interactive Entertainment Inc.
11 Package-Manager: Portage-2.3.79, Repoman-2.3.18
12 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
13
14 dev-python/pastedeploy/pastedeploy-2.0.1-r1.ebuild | 39 ++++++++++++++++++++++
15 1 file changed, 39 insertions(+)
16
17 diff --git a/dev-python/pastedeploy/pastedeploy-2.0.1-r1.ebuild b/dev-python/pastedeploy/pastedeploy-2.0.1-r1.ebuild
18 new file mode 100644
19 index 00000000000..016dda41de9
20 --- /dev/null
21 +++ b/dev-python/pastedeploy/pastedeploy-2.0.1-r1.ebuild
22 @@ -0,0 +1,39 @@
23 +# Copyright 1999-2019 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} )
28 +
29 +inherit distutils-r1
30 +
31 +MY_PN="PasteDeploy"
32 +MY_P="${MY_PN}-${PV}"
33 +
34 +DESCRIPTION="Load, configure, and compose WSGI applications and servers"
35 +HOMEPAGE="https://pypi.org/project/PasteDeploy/"
36 +# pypi tarball does not include tests
37 +SRC_URI="https://github.com/Pylons/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
38 +
39 +LICENSE="MIT"
40 +SLOT="0"
41 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
42 +IUSE="doc"
43 +
44 +RDEPEND="dev-python/namespace-paste[${PYTHON_USEDEP}]
45 + dev-python/setuptools[${PYTHON_USEDEP}]"
46 +BDEPEND="${RDEPEND}"
47 +
48 +distutils_enable_tests pytest
49 +
50 +python_prepare_all() {
51 + sed -i 's:"pytest-runner"::' setup.py || die
52 +
53 + distutils-r1_python_prepare_all
54 +}
55 +
56 +python_install_all() {
57 + distutils-r1_python_install_all
58 +
59 + use doc && dodoc docs/*.txt
60 + find "${D}" -name '*.pth' -delete || die
61 +}