1 |
commit: 536f9fbfad303a2afd648c30ea5c43285795833b |
2 |
Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 30 21:53:26 2019 +0000 |
4 |
Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 30 21:54:09 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=536f9fbf |
7 |
|
8 |
www-servers/gunicorn-19.9.0: py38 support added; relaxed sphinx dep. |
9 |
|
10 |
The sphinx dependency has been relaxed to not force sphinx to be installed |
11 |
with the same PYTHON_TARGETS as the gunicorn itself. |
12 |
|
13 |
No revbump as the end result with USE=doc is the same as it was before. |
14 |
|
15 |
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org> |
16 |
|
17 |
www-servers/gunicorn/gunicorn-19.9.0.ebuild | 17 ++++------------- |
18 |
1 file changed, 4 insertions(+), 13 deletions(-) |
19 |
|
20 |
diff --git a/www-servers/gunicorn/gunicorn-19.9.0.ebuild b/www-servers/gunicorn/gunicorn-19.9.0.ebuild |
21 |
index c98e3a00bb6..d7964868286 100644 |
22 |
--- a/www-servers/gunicorn/gunicorn-19.9.0.ebuild |
23 |
+++ b/www-servers/gunicorn/gunicorn-19.9.0.ebuild |
24 |
@@ -2,7 +2,7 @@ |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=7 |
28 |
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy ) |
29 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy ) |
30 |
|
31 |
inherit distutils-r1 |
32 |
|
33 |
@@ -13,13 +13,12 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
34 |
LICENSE="MIT PSF-2 doc? ( BSD )" |
35 |
SLOT="0" |
36 |
KEYWORDS="amd64 ~arm ~arm64 x86" |
37 |
-IUSE="doc test" |
38 |
+IUSE="test" |
39 |
RESTRICT="!test? ( test )" |
40 |
|
41 |
RDEPEND="dev-python/setproctitle[${PYTHON_USEDEP}]" |
42 |
DEPEND=" |
43 |
dev-python/setuptools[${PYTHON_USEDEP}] |
44 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
45 |
test? ( |
46 |
dev-python/mock[${PYTHON_USEDEP}] |
47 |
dev-python/pytest[${PYTHON_USEDEP}] |
48 |
@@ -29,22 +28,14 @@ DEPEND=" |
49 |
|
50 |
DOCS="README.rst" |
51 |
|
52 |
-python_prepare_all() { |
53 |
- sed -ie "s/..\/bin/\/usr\/bin\//" docs/Makefile || die |
54 |
- |
55 |
- distutils-r1_python_prepare_all |
56 |
-} |
57 |
- |
58 |
-python_compile_all() { |
59 |
- use doc && emake -C docs html |
60 |
-} |
61 |
+distutils_enable_sphinx 'docs/source' --no-autodoc |
62 |
|
63 |
python_test() { |
64 |
py.test -v || die "Testing failed with ${EPYTHON}" |
65 |
} |
66 |
|
67 |
python_install_all() { |
68 |
- use doc && local HTML_DOCS=( docs/build/html/. ) |
69 |
+ use doc && local HTML_DOCS=( docs/source/_build/html/. ) |
70 |
|
71 |
distutils-r1_python_install_all |
72 |
} |