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/nose_fixes/
Date: Fri, 24 Apr 2020 20:13:14
Message-Id: 1587759174.7b51c2cafa9cb9688f3234d1851a2f1682b59c8a.mgorny@gentoo
1 commit: 7b51c2cafa9cb9688f3234d1851a2f1682b59c8a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 24 19:36:20 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 24 20:12:54 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b51c2ca
7
8 dev-python/nose_fixes: Enable py3.{7,8}, modernize
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/nose_fixes/nose_fixes-1.3.ebuild | 27 ++++++---------------------
13 1 file changed, 6 insertions(+), 21 deletions(-)
14
15 diff --git a/dev-python/nose_fixes/nose_fixes-1.3.ebuild b/dev-python/nose_fixes/nose_fixes-1.3.ebuild
16 index 5abc2100e90..15b6fcc2314 100644
17 --- a/dev-python/nose_fixes/nose_fixes-1.3.ebuild
18 +++ b/dev-python/nose_fixes/nose_fixes-1.3.ebuild
19 @@ -1,9 +1,10 @@
20 # Copyright 1999-2020 Gentoo Authors
21 # Distributed under the terms of the GNU General Public License v2
22
23 -EAPI=6
24 +EAPI=7
25
26 -PYTHON_COMPAT=( python3_6 pypy3 )
27 +DISTUTILS_USE_SETUPTOOLS=rdepend
28 +PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
29
30 inherit distutils-r1
31
32 @@ -14,10 +15,8 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
33 LICENSE="MIT"
34 SLOT="0"
35 KEYWORDS="amd64 x86"
36 -IUSE="doc"
37
38 RDEPEND="
39 - dev-python/setuptools[${PYTHON_USEDEP}]
40 dev-python/nose[${PYTHON_USEDEP}]"
41 DEPEND="
42 ${RDEPEND}
43 @@ -26,20 +25,6 @@ DEPEND="
44 dev-python/pkginfo[${PYTHON_USEDEP}]
45 )"
46
47 -python_prepare_all() {
48 - sed -e 's:../bin/sphinx-build:/usr/bin/sphinx-build:' -i docs/Makefile || die
49 - distutils-r1_python_prepare_all
50 -}
51 -
52 -python_compile_all() {
53 - use doc && emake -C docs html
54 -}
55 -
56 -python_install_all() {
57 - use doc && local HTML_DOCS=( docs/_build/html/. )
58 - distutils-r1_python_install_all
59 -}
60 -
61 -python_test() {
62 - nosetests || die
63 -}
64 +distutils_enable_sphinx docs \
65 + dev-python/pkginfo
66 +distutils_enable_tests nose