commit: bbcdadc5f60aa25fa1cc6ed57087a8426929b00b
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu May 6 13:59:25 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu May 6 23:07:36 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bbcdadc5
dev-python/billiard: fix doc, test, python bump
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-python/billiard/billiard-3.6.4.0.ebuild | 21 ++++-----------------
1 file changed, 4 insertions(+), 17 deletions(-)
diff --git a/dev-python/billiard/billiard-3.6.4.0.ebuild
b/dev-python/billiard/billiard-3.6.4.0.ebuild
index 8839d6aae..1de9ff86b 100644
--- a/dev-python/billiard/billiard-3.6.4.0.ebuild
+++ b/dev-python/billiard/billiard-3.6.4.0.ebuild
@@ -3,9 +3,9 @@
EAPI="7"
-PYTHON_COMPAT=( python3_{7,8} pypy3 )
+PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
-inherit distutils-r1 flag-o-matic
+inherit distutils-r1
DESCRIPTION="Python multiprocessing fork"
HOMEPAGE="
@@ -17,9 +17,6 @@
SRC_URI="https://github.com/celery/billiard/archive/refs/tags/v${PV}.tar.gz -> $
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
-RESTRICT="test"
RDEPEND=""
DEPEND="
@@ -33,15 +30,5 @@ DEPEND="
# The usual req'd for tests
DISTUTILS_IN_SOURCE_BUILD=1
-python_compile_all() {
- use doc && esetup.py build_sphinx --builder="html" --source-dir=Doc/
-}
-
-python_test() {
- esetup.py test
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( build/sphinx/html/. )
- distutils-r1_python_install_all
-}
+distutils_enable_tests pytest
+distutils_enable_sphinx Doc