summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-28 22:44:40 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-28 22:50:37 +0200
commitda376d650fb4ac12237ef6c3b0c1aed2b0331270 (patch)
treee79ce1d12992ffd6dccee802be246a8d1992896c /dev-python/cairocffi
parentsys-process/lsof: ppc64 stable wrt bug #705600 (diff)
downloadgentoo-da376d650fb4ac12237ef6c3b0c1aed2b0331270.tar.gz
gentoo-da376d650fb4ac12237ef6c3b0c1aed2b0331270.tar.bz2
gentoo-da376d650fb4ac12237ef6c3b0c1aed2b0331270.zip
dev-python/cairocffi: Backport distutils_enable_sphinx to 0.8*
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/cairocffi')
-rw-r--r--dev-python/cairocffi/cairocffi-0.8.0-r1.ebuild10
1 files changed, 1 insertions, 9 deletions
diff --git a/dev-python/cairocffi/cairocffi-0.8.0-r1.ebuild b/dev-python/cairocffi/cairocffi-0.8.0-r1.ebuild
index ba91b5f72454..bc4f5be94f97 100644
--- a/dev-python/cairocffi/cairocffi-0.8.0-r1.ebuild
+++ b/dev-python/cairocffi/cairocffi-0.8.0-r1.ebuild
@@ -28,7 +28,6 @@ RDEPEND="
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? (
${RDEPEND}
dev-python/pytest[${PYTHON_USEDEP}]
@@ -38,15 +37,8 @@ PATCHES=( "${FILESDIR}"/${P}-tests.patch )
S="${WORKDIR}/${MY_P}"
-python_compile_all() {
- use doc && esetup.py build_sphinx
-}
+distutils_enable_sphinx docs
python_test() {
virtx py.test -v --pyargs cairocffi
}
-
-python_install_all() {
- use doc && HTML_DOCS=( docs/_build/html/. )
- distutils-r1_python_install_all
-}