summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2019-11-08 15:02:14 -0700
committerTim Harder <radhermit@gentoo.org>2019-11-08 15:03:24 -0700
commit6c85a99a43dbd4d4a8c90c537003ba9a254c30c1 (patch)
tree4a3d47a654482071887dee1b28b9b27cdd1cec1f /dev-util/pkgcheck
parentmedia-video/handbrake: Tidy old, fix git ebuild (diff)
downloadgentoo-6c85a99a43dbd4d4a8c90c537003ba9a254c30c1.tar.gz
gentoo-6c85a99a43dbd4d4a8c90c537003ba9a254c30c1.tar.bz2
gentoo-6c85a99a43dbd4d4a8c90c537003ba9a254c30c1.zip
dev-util/pkgcheck: version bump to 0.7.0
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'dev-util/pkgcheck')
-rw-r--r--dev-util/pkgcheck/Manifest1
-rw-r--r--dev-util/pkgcheck/pkgcheck-0.7.0.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-util/pkgcheck/Manifest b/dev-util/pkgcheck/Manifest
index a02c56a822bb..a8e86e7059d2 100644
--- a/dev-util/pkgcheck/Manifest
+++ b/dev-util/pkgcheck/Manifest
@@ -1,2 +1,3 @@
DIST pkgcheck-0.6.8.tar.gz 188777 BLAKE2B 44c1dfdb09c290079d8b1e07a0937c07135ee5691ef49ea849c5a9a22eccb9ddf00de497facc6b238caf7c1c0d1c964c71bf37f0bfd92df111d90234dfe27bc5 SHA512 d80785ff9041ec4c8beb89847ad069521322938875b7f8484ad7438939a411ca4304e4a91b395944331ad0f0fa0439082f021ccdd8d7189c61da931ebf11d8ee
DIST pkgcheck-0.6.9.tar.gz 196583 BLAKE2B 01d5382c1b64e565eee34efb1723e9324cfa3dffcf9783e1f707fb384caa55c0b926df0638e318e8de03d28f29a1db37d37a6475d15928c8391bb7930239fc0d SHA512 0c7d1564ce01039ee25dd9eeab76105e3c82e0c3fbf7023709ec7d4d430d28c447e821bec992c5aca460bbd53fba070081462a5c95525d50b60d18ce9a5bed7a
+DIST pkgcheck-0.7.0.tar.gz 196523 BLAKE2B 2ac7c61ffa4ff4b7319dc699ddfabcd5006710ff0089893d2c427fc4d1607107a7374fb3fe4d5da16c8a4725d8e350e29433b6c201ce1594169af3d8a04c8c40 SHA512 b7e4f2d044a9afc55810f30be3307b7b3dcc5f5dcfdc3d2702593866f2d6e5c6906175e484185961e9bad4f8f02a729b74bac4cb8e7697f99951b397f8fe8a2e
diff --git a/dev-util/pkgcheck/pkgcheck-0.7.0.ebuild b/dev-util/pkgcheck/pkgcheck-0.7.0.ebuild
new file mode 100644
index 000000000000..5c6e0fb886b6
--- /dev/null
+++ b/dev-util/pkgcheck/pkgcheck-0.7.0.ebuild
@@ -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
+}