1 |
commit: aa52d8ca5587c2de8d54537c869c2d1d94305784 |
2 |
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com> |
3 |
AuthorDate: Mon Nov 25 23:50:54 2019 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 25 23:54:13 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa52d8ca |
7 |
|
8 |
dev-python/webob-1.8.5-r2: revbump, move to new distutils-r1 stuff, add py38 |
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/webob/webob-1.8.5-r2.ebuild | 41 ++++++++++++++++++++++++++++++++++ |
15 |
1 file changed, 41 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/webob/webob-1.8.5-r2.ebuild b/dev-python/webob/webob-1.8.5-r2.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..03608eb740e |
20 |
--- /dev/null |
21 |
+++ b/dev-python/webob/webob-1.8.5-r2.ebuild |
22 |
@@ -0,0 +1,41 @@ |
23 |
+# Copyright 1999-2019 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+ |
28 |
+PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6,7}} ) |
29 |
+ |
30 |
+inherit distutils-r1 |
31 |
+ |
32 |
+MY_PN=WebOb |
33 |
+MY_P=${MY_PN}-${PV} |
34 |
+ |
35 |
+DESCRIPTION="WSGI request and response object" |
36 |
+HOMEPAGE="https://webob.org/" |
37 |
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
38 |
+ |
39 |
+LICENSE="MIT" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
42 |
+IUSE="doc test" |
43 |
+ |
44 |
+BDEPEND=" |
45 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
46 |
+ doc? ( |
47 |
+ >=dev-python/sphinx-1.7.5[${PYTHON_USEDEP}] |
48 |
+ dev-python/alabaster[${PYTHON_USEDEP}] |
49 |
+ ) |
50 |
+ test? ( |
51 |
+ >=dev-python/pytest-3.1.0[${PYTHON_USEDEP}] |
52 |
+ ) |
53 |
+" |
54 |
+ |
55 |
+S="${WORKDIR}/${MY_P}" |
56 |
+ |
57 |
+distutils_enable_sphinx docs 'dev-python/alabaster' |
58 |
+distutils_enable_tests pytest |
59 |
+ |
60 |
+python_prepare_all() { |
61 |
+ sed -i "/'sphinx.ext.intersphinx'/d" docs/conf.py || die |
62 |
+ distutils-r1_python_prepare_all |
63 |
+} |