mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
dev-python/billiard: fix doc, test, python bump
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user