dev-util/pkgcheck: version bump to 0.6.9
authorTim Harder <radhermit@gentoo.org>
Mon, 4 Nov 2019 17:59:47 +0000 (10:59 -0700)
committerTim Harder <radhermit@gentoo.org>
Mon, 4 Nov 2019 18:02:55 +0000 (11:02 -0700)
Signed-off-by: Tim Harder <radhermit@gentoo.org>
dev-util/pkgcheck/Manifest
dev-util/pkgcheck/pkgcheck-0.6.9.ebuild [new file with mode: 0644]
dev-util/pkgcheck/pkgcheck-9999.ebuild

index cabdf6e1e8f6206b2289f57aab76dc2a9949c9e3..a02c56a822bbde0e5dd385c2e312f01ec00aa3ad 100644 (file)
@@ -1 +1,2 @@
 DIST pkgcheck-0.6.8.tar.gz 188777 BLAKE2B 44c1dfdb09c290079d8b1e07a0937c07135ee5691ef49ea849c5a9a22eccb9ddf00de497facc6b238caf7c1c0d1c964c71bf37f0bfd92df111d90234dfe27bc5 SHA512 d80785ff9041ec4c8beb89847ad069521322938875b7f8484ad7438939a411ca4304e4a91b395944331ad0f0fa0439082f021ccdd8d7189c61da931ebf11d8ee
+DIST pkgcheck-0.6.9.tar.gz 196583 BLAKE2B 01d5382c1b64e565eee34efb1723e9324cfa3dffcf9783e1f707fb384caa55c0b926df0638e318e8de03d28f29a1db37d37a6475d15928c8391bb7930239fc0d SHA512 0c7d1564ce01039ee25dd9eeab76105e3c82e0c3fbf7023709ec7d4d430d28c447e821bec992c5aca460bbd53fba070081462a5c95525d50b60d18ce9a5bed7a
diff --git a/dev-util/pkgcheck/pkgcheck-0.6.9.ebuild b/dev-util/pkgcheck/pkgcheck-0.6.9.ebuild
new file mode 100644 (file)
index 0000000..5c6e0fb
--- /dev/null
@@ -0,0 +1,60 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{6,7} )
+DISTUTILS_IN_SOURCE_BUILD=1
+inherit distutils-r1
+
+if [[ ${PV} == *9999 ]] ; then
+       EGIT_REPO_URI="https://github.com/pkgcore/pkgcheck.git"
+       inherit git-r3
+else
+       KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+       SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+fi
+
+DESCRIPTION="pkgcore-based QA utility"
+HOMEPAGE="https://github.com/pkgcore/pkgcheck"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc network perl test"
+RESTRICT="!test? ( test )"
+
+if [[ ${PV} == *9999 ]]; then
+       RDEPEND="
+               ~dev-python/snakeoil-9999[${PYTHON_USEDEP}]
+               ~sys-apps/pkgcore-9999[${PYTHON_USEDEP}]"
+else
+       RDEPEND="
+               >=dev-python/snakeoil-0.8.3[${PYTHON_USEDEP}]
+               >=sys-apps/pkgcore-0.10.7[${PYTHON_USEDEP}]"
+fi
+RDEPEND+="
+       dev-python/chardet[${PYTHON_USEDEP}]
+       dev-python/lxml[${PYTHON_USEDEP}]
+       network? ( dev-python/requests[${PYTHON_USEDEP}] )
+       perl? ( dev-perl/Gentoo-PerlMod-Version )
+"
+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"
+       distutils-r1_python_install_all
+}
index 2899d8ff47aa95ed6582b942dda7d6c54ab06e5b..5c6e0fb886b604ab5723ca3b53fb7c85ea1a68cf 100644 (file)
@@ -29,7 +29,7 @@ if [[ ${PV} == *9999 ]]; then
 else
        RDEPEND="
                >=dev-python/snakeoil-0.8.3[${PYTHON_USEDEP}]
-               >=sys-apps/pkgcore-0.10.6[${PYTHON_USEDEP}]"
+               >=sys-apps/pkgcore-0.10.7[${PYTHON_USEDEP}]"
 fi
 RDEPEND+="
        dev-python/chardet[${PYTHON_USEDEP}]