1 |
commit: f917d1625394edad2dc197834d6ddc07d6b94d81 |
2 |
Author: David Denoncin <ddenoncin <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Aug 5 09:03:14 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 7 01:10:08 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f917d162 |
7 |
|
8 |
dev-python/lockfile: port to py3.9 |
9 |
|
10 |
Use distutils_enable_{tests,sphinx} |
11 |
Package is deprecated. |
12 |
|
13 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
14 |
Signed-off-by: David Denoncin <ddenoncin <AT> gmail.com> |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
dev-python/lockfile/lockfile-0.12.2-r2.ebuild | 28 ++++----------------------- |
18 |
1 file changed, 4 insertions(+), 24 deletions(-) |
19 |
|
20 |
diff --git a/dev-python/lockfile/lockfile-0.12.2-r2.ebuild b/dev-python/lockfile/lockfile-0.12.2-r2.ebuild |
21 |
index 715cb479540..9cab46e092f 100644 |
22 |
--- a/dev-python/lockfile/lockfile-0.12.2-r2.ebuild |
23 |
+++ b/dev-python/lockfile/lockfile-0.12.2-r2.ebuild |
24 |
@@ -3,8 +3,7 @@ |
25 |
|
26 |
EAPI=7 |
27 |
|
28 |
-PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) |
29 |
-PYTHON_REQ_USE="threads(+)" |
30 |
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) |
31 |
|
32 |
inherit distutils-r1 |
33 |
|
34 |
@@ -15,27 +14,8 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
35 |
LICENSE="MIT" |
36 |
SLOT="0" |
37 |
KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86" |
38 |
-IUSE="doc test" |
39 |
-RESTRICT="!test? ( test )" |
40 |
|
41 |
-DEPEND=" |
42 |
- >dev-python/pbr-1.8[${PYTHON_USEDEP}] |
43 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
44 |
- test? ( dev-python/nose[${PYTHON_USEDEP}] )" |
45 |
-RDEPEND="" |
46 |
+DEPEND=">dev-python/pbr-1.8[${PYTHON_USEDEP}]" |
47 |
|
48 |
-DOCS=( ACKS AUTHORS ChangeLog README.rst RELEASE-NOTES ) |
49 |
- |
50 |
-python_compile_all() { |
51 |
- use doc && emake -C doc/source html |
52 |
-} |
53 |
- |
54 |
-python_test() { |
55 |
- # "${PYTHON}" test/test_lockfile.py yeilds no informative coverage output |
56 |
- nosetests --verbose || die "test_lockfile failed under ${EPYTHON}" |
57 |
-} |
58 |
- |
59 |
-python_install_all() { |
60 |
- use doc && dodoc -r doc/source/.build/html |
61 |
- distutils-r1_python_install_all |
62 |
-} |
63 |
+distutils_enable_tests nose |
64 |
+distutils_enable_sphinx doc/source --no-autodoc |