summaryrefslogtreecommitdiff
path: root/dev-util/pkgdev/pkgdev-0.2.3.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-10-15 17:34:13 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-10-15 17:34:13 +0000
commit0dde300c97b162db179e66d66e343aa4281f5c92 (patch)
treeed8213e62875edc8bf2de67ba7f7c39c6043ec20 /dev-util/pkgdev/pkgdev-0.2.3.ebuild
parent770343ac48f0bc6bc339c3a88021b80e16beb6e9 (diff)
downloadsrcux-0dde300c97b162db179e66d66e343aa4281f5c92.tar.gz
srcux-0dde300c97b162db179e66d66e343aa4281f5c92.tar.xz
srcux-0dde300c97b162db179e66d66e343aa4281f5c92.zip
Adding metadata
Diffstat (limited to 'dev-util/pkgdev/pkgdev-0.2.3.ebuild')
-rw-r--r--dev-util/pkgdev/pkgdev-0.2.3.ebuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/dev-util/pkgdev/pkgdev-0.2.3.ebuild b/dev-util/pkgdev/pkgdev-0.2.3.ebuild
index 5102883e05bd..878b8123d07b 100644
--- a/dev-util/pkgdev/pkgdev-0.2.3.ebuild
+++ b/dev-util/pkgdev/pkgdev-0.2.3.ebuild
@@ -8,8 +8,6 @@ PYTHON_COMPAT=( python3_{7,8,9,10} )
inherit distutils-r1
if [[ ${PV} == *9999 ]] ; then
- PKGDEV_DOCS_PREBUILT=0
-
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/pkgcore/pkgdev.git
https://github.com/pkgcore/pkgdev.git"
inherit git-r3
@@ -48,8 +46,14 @@ RDEPEND+="dev-vcs/git"
distutils_enable_sphinx doc
distutils_enable_tests setup.py
+PATCHES=(
+ "${FILESDIR}/pkgdev-0.2.3-docs-path.patch"
+)
+
python_compile_all() {
- use doc && emake -C doc man
+ if use doc; then
+ "${EPYTHON}" setup.py build_man -f || die
+ fi
# HTML pages only
sphinx_compile_all
@@ -58,7 +62,7 @@ python_compile_all() {
python_install_all() {
# If USE=doc, there'll be newly generated docs which we install instead.
if use doc; then
- doman doc/_build/man/*
+ doman build/sphinx/man/*
elif [[ ${PV} != *9999 ]]; then
doman man/*.[0-8]
fi