summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2015-08-23 20:18:40 -0400
committerTim Harder <radhermit@gentoo.org>2015-08-23 20:18:53 -0400
commit0bf16030911e8eb6387497cd5c6a9476131ddc4e (patch)
treeef12b1a547d1d4c9e65b6edcddd6e2970778c69b /dev-util/pkgcheck
parentsys-apps/pkgcore: version bump (diff)
downloadgentoo-0bf16030911e8eb6387497cd5c6a9476131ddc4e.tar.gz
gentoo-0bf16030911e8eb6387497cd5c6a9476131ddc4e.tar.bz2
gentoo-0bf16030911e8eb6387497cd5c6a9476131ddc4e.zip
dev-util/pkgcheck: version bump
Diffstat (limited to 'dev-util/pkgcheck')
-rw-r--r--dev-util/pkgcheck/Manifest1
-rw-r--r--dev-util/pkgcheck/pkgcheck-0.5.1.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-util/pkgcheck/Manifest b/dev-util/pkgcheck/Manifest
index 26f681e13f89..9f34af1f0a68 100644
--- a/dev-util/pkgcheck/Manifest
+++ b/dev-util/pkgcheck/Manifest
@@ -1 +1,2 @@
+DIST pkgcheck-0.5.1.tar.gz 68345 SHA256 2600434febcb5e6eb5bfb87f8d5c1106a4d301dffbe46b4aecb48773c3817342 SHA512 4187f1f19f9e30ecf9c0b7ef34dfecee3257860cbac1f8a3b3f14dc4ed6c8a81ecd4e4a62eac2a08c1fee81aa776d303e267e2c586034e4dcd3c019d1710789e WHIRLPOOL d9e07fd5ecc813bedc1c3d5ae936e672ed81105aed4c200aeb50e9ebad0fa068e4dba9a1dcf6d31a0b1c359510fddd5d80aa9663e7ad3d721c60186f55bec1d0
DIST pkgcheck-0.5.tar.gz 68669 SHA256 38de9d6ff6950852167f7d21b1aa50aab3b980150f9c31f2d0547e74165df7b9 SHA512 fb16450374b942533f83f76114c09e692ba000e91f79fb5e6a79afbfa791476864a591f1342e8b93fcbcc36422218a89b8e6753c65fdc644847ec1c08d369ace WHIRLPOOL 0fb7ac1b82fe58497cf41426d6ea11104e80900bc4f1378613c36022f93ea4f222c5324725475b3bdf5e91cb6048a17720bbaa7bba996407693a21f73cc34424
diff --git a/dev-util/pkgcheck/pkgcheck-0.5.1.ebuild b/dev-util/pkgcheck/pkgcheck-0.5.1.ebuild
new file mode 100644
index 000000000000..42619afa20cf
--- /dev/null
+++ b/dev-util/pkgcheck/pkgcheck-0.5.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+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 GPL-2 )"
+SLOT="0"
+
+RDEPEND=">=sys-apps/pkgcore-0.9.2[${PYTHON_USEDEP}]
+ >=dev-python/snakeoil-0.6.5[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+pkg_setup() {
+ # disable snakeoil 2to3 caching...
+ unset PY2TO3_CACHEDIR
+}
+
+python_test() {
+ esetup.py test
+}
+
+python_install_all() {
+ local DOCS=( AUTHORS NEWS.rst )
+ distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+ einfo "updating pkgcore plugin cache"
+ python_foreach_impl pplugincache pkgcheck.plugins
+}