diff options
Diffstat (limited to 'dev-util/pkgcheck/pkgcheck-9999.ebuild')
-rw-r--r-- | dev-util/pkgcheck/pkgcheck-9999.ebuild | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/dev-util/pkgcheck/pkgcheck-9999.ebuild b/dev-util/pkgcheck/pkgcheck-9999.ebuild index 46531c291504..b81e8708d7c0 100644 --- a/dev-util/pkgcheck/pkgcheck-9999.ebuild +++ b/dev-util/pkgcheck/pkgcheck-9999.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{6,7,8} ) DISTUTILS_IN_SOURCE_BUILD=1 inherit distutils-r1 @@ -19,7 +19,7 @@ HOMEPAGE="https://github.com/pkgcore/pkgcheck" LICENSE="BSD" SLOT="0" -IUSE="doc network perl test" +IUSE="network perl test" RESTRICT="!test? ( test )" if [[ ${PV} == *9999 ]]; then @@ -28,8 +28,8 @@ if [[ ${PV} == *9999 ]]; then ~sys-apps/pkgcore-9999[${PYTHON_USEDEP}]" else RDEPEND=" - >=dev-python/snakeoil-0.8.3[${PYTHON_USEDEP}] - >=sys-apps/pkgcore-0.10.7[${PYTHON_USEDEP}]" + >=dev-python/snakeoil-0.8.4[${PYTHON_USEDEP}] + >=sys-apps/pkgcore-0.10.8[${PYTHON_USEDEP}]" fi RDEPEND+=" dev-python/chardet[${PYTHON_USEDEP}] @@ -40,22 +40,15 @@ RDEPEND+=" " DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) test? ( dev-python/pytest[${PYTHON_USEDEP}] ) " -python_compile_all() { - use doc && esetup.py build_man -} - 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 } |