diff options
author | Tim Harder <radhermit@gentoo.org> | 2019-12-09 22:09:37 -0700 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2019-12-09 22:09:37 -0700 |
commit | 4df7a8ab38c5fea08a7ba894f492d64bc4ee969f (patch) | |
tree | a3ba1445002d45b51657154be636642bd050bb70 /sys-apps | |
parent | dev-util/pkgcheck: drop doc use flag and simplify installing man pages (diff) | |
download | gentoo-4df7a8ab38c5fea08a7ba894f492d64bc4ee969f.tar.gz gentoo-4df7a8ab38c5fea08a7ba894f492d64bc4ee969f.tar.bz2 gentoo-4df7a8ab38c5fea08a7ba894f492d64bc4ee969f.zip |
sys-apps/pkgcore: drop doc use flag and simplify installing man pages
Man pages are only installed for releases now, if you need them use the
latest release.
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/pkgcore/pkgcore-9999.ebuild | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/sys-apps/pkgcore/pkgcore-9999.ebuild b/sys-apps/pkgcore/pkgcore-9999.ebuild index 48263e63a067..09021519bb70 100644 --- a/sys-apps/pkgcore/pkgcore-9999.ebuild +++ b/sys-apps/pkgcore/pkgcore-9999.ebuild @@ -19,7 +19,7 @@ HOMEPAGE="https://github.com/pkgcore/pkgcore" LICENSE="BSD MIT" SLOT="0" -IUSE="doc test" +IUSE="test" RESTRICT="!test? ( test )" RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]" @@ -30,37 +30,15 @@ else fi DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( $(python_gen_any_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - ') ) - !doc? ( - $(python_gen_any_dep 'dev-python/setuptools[${PYTHON_USEDEP}]') - ) test? ( dev-python/pytest[${PYTHON_USEDEP}] ) " -python_check_deps() { - has_version "dev-python/setuptools[${PYTHON_USEDEP}]" || return 1 - if use doc; then - has_version "dev-python/docutils[${PYTHON_USEDEP}]" && - has_version "dev-python/sphinx[${PYTHON_USEDEP}]" - fi -} - -python_compile_all() { - use doc && esetup.py build_docs -} - python_test() { esetup.py test } python_install_all() { local DOCS=( AUTHORS NEWS.rst ) - esetup.py install_docs \ - --docdir="${ED%/}/usr/share/doc/${PF}" \ - --mandir="${ED%/}/usr/share/man" + [[ ${PV} == *9999 ]] || doman man/* distutils-r1_python_install_all } |