summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2019-10-06 06:41:12 -0600
committerTim Harder <radhermit@gentoo.org>2019-10-06 06:42:07 -0600
commit3548c2a44adf8916df5311d0a7b7827742259088 (patch)
tree531ee8a0bac547a94623a67ca4fbd001f313f4e9 /dev-util
parentnet-libs/nodejs: Drop obsolete patch (diff)
downloadgentoo-3548c2a44adf8916df5311d0a7b7827742259088.tar.gz
gentoo-3548c2a44adf8916df5311d0a7b7827742259088.tar.bz2
gentoo-3548c2a44adf8916df5311d0a7b7827742259088.zip
dev-util/pkgcheck: version bump to 0.6.8
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/pkgcheck/Manifest1
-rw-r--r--dev-util/pkgcheck/pkgcheck-0.6.8.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-util/pkgcheck/Manifest b/dev-util/pkgcheck/Manifest
index caf39e005694..3bbfa54981da 100644
--- a/dev-util/pkgcheck/Manifest
+++ b/dev-util/pkgcheck/Manifest
@@ -1,2 +1,3 @@
DIST pkgcheck-0.6.6.tar.gz 186971 BLAKE2B 474bd3ddd6b0a4d4b242c631bd01bdd1351990500c1e9a3b97ae43064ea5ae4c3de57e2ea9e4574c30e52dbe1d10b35f71b2623336f42bac4af5e7e26290a208 SHA512 ef9b2126e3d295c9166f0b57902e62f8791ebe90e1dce333e787c45841a87acb0aa7e1b4ad7436d885a53aed9ce6c7d0619817e28c52b3195be49110bea8d39f
DIST pkgcheck-0.6.7.tar.gz 188355 BLAKE2B cd23a5a9778412ca8b348986cd64ba5b1d128b4c14a9f57aa0a5939f771d5320a2dff84e7c99c96c85782fc48de80f9913afc6d61d1f75faa031ea3de87cb830 SHA512 8392d444c61f876e9046438c403c66cd3f07bdbf012f31842ddb2c52aefec90571f789f72fe069456cbe42ddb2ff55ecadfb8135469cf0ade6bd6040bc2e99fa
+DIST pkgcheck-0.6.8.tar.gz 188777 BLAKE2B 44c1dfdb09c290079d8b1e07a0937c07135ee5691ef49ea849c5a9a22eccb9ddf00de497facc6b238caf7c1c0d1c964c71bf37f0bfd92df111d90234dfe27bc5 SHA512 d80785ff9041ec4c8beb89847ad069521322938875b7f8484ad7438939a411ca4304e4a91b395944331ad0f0fa0439082f021ccdd8d7189c61da931ebf11d8ee
diff --git a/dev-util/pkgcheck/pkgcheck-0.6.8.ebuild b/dev-util/pkgcheck/pkgcheck-0.6.8.ebuild
new file mode 100644
index 000000000000..f7ff040bf763
--- /dev/null
+++ b/dev-util/pkgcheck/pkgcheck-0.6.8.ebuild
@@ -0,0 +1,59 @@
+# 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 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.6[${PYTHON_USEDEP}]"
+fi
+RDEPEND+="
+ dev-python/chardet[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+ network? ( dev-python/requests[${PYTHON_USEDEP}] )
+"
+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
+}