summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/pkgcheck/Manifest1
-rw-r--r--dev-util/pkgcheck/pkgcheck-0.5.2.ebuild54
-rw-r--r--dev-util/pkgcheck/pkgcheck-9999.ebuild9
3 files changed, 61 insertions, 3 deletions
diff --git a/dev-util/pkgcheck/Manifest b/dev-util/pkgcheck/Manifest
index 9f34af1f0a68..c2ad208611ae 100644
--- a/dev-util/pkgcheck/Manifest
+++ b/dev-util/pkgcheck/Manifest
@@ -1,2 +1,3 @@
DIST pkgcheck-0.5.1.tar.gz 68345 SHA256 2600434febcb5e6eb5bfb87f8d5c1106a4d301dffbe46b4aecb48773c3817342 SHA512 4187f1f19f9e30ecf9c0b7ef34dfecee3257860cbac1f8a3b3f14dc4ed6c8a81ecd4e4a62eac2a08c1fee81aa776d303e267e2c586034e4dcd3c019d1710789e WHIRLPOOL d9e07fd5ecc813bedc1c3d5ae936e672ed81105aed4c200aeb50e9ebad0fa068e4dba9a1dcf6d31a0b1c359510fddd5d80aa9663e7ad3d721c60186f55bec1d0
+DIST pkgcheck-0.5.2.tar.gz 80870 SHA256 b93a6b3a19c4aae5bb94d0839f3b004bf892f83e94143d751828d5b4d64e908f SHA512 54b26d9d7ee528a58a2c69e4091133821dae31c7c542e957de0b6c564321e6671e7899bf2e58b006b743e64349e5e8507d1f56d695994cda9a4104e3ccf72a09 WHIRLPOOL 9d8e185d5bf6f9a065a9841f2631c6bd14c9e04d469209fa7bbe8bc2d2dcd89a33bd32c4e69f35af95cb20a4956d31e1436788a6b1ba2935a75ae74a4517f30b
DIST pkgcheck-0.5.tar.gz 68669 SHA256 38de9d6ff6950852167f7d21b1aa50aab3b980150f9c31f2d0547e74165df7b9 SHA512 fb16450374b942533f83f76114c09e692ba000e91f79fb5e6a79afbfa791476864a591f1342e8b93fcbcc36422218a89b8e6753c65fdc644847ec1c08d369ace WHIRLPOOL 0fb7ac1b82fe58497cf41426d6ea11104e80900bc4f1378613c36022f93ea4f222c5324725475b3bdf5e91cb6048a17720bbaa7bba996407693a21f73cc34424
diff --git a/dev-util/pkgcheck/pkgcheck-0.5.2.ebuild b/dev-util/pkgcheck/pkgcheck-0.5.2.ebuild
new file mode 100644
index 000000000000..1e7b546ef5f2
--- /dev/null
+++ b/dev-util/pkgcheck/pkgcheck-0.5.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+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="https://github.com/pkgcore/${PN}/releases/download/v${PV}/${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.3[${PYTHON_USEDEP}]
+ >=dev-python/snakeoil-0.7.0[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+[[ ${PV} == *9999 ]] && DEPEND+=" dev-python/sphinx[${PYTHON_USEDEP}]"
+
+pkg_setup() {
+ # disable snakeoil 2to3 caching...
+ unset PY2TO3_CACHEDIR
+}
+
+python_compile_all() {
+ esetup.py build_man
+}
+
+python_test() {
+ esetup.py test
+}
+
+python_install_all() {
+ local DOCS=( AUTHORS NEWS.rst )
+ distutils-r1_python_install install_man
+ distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+ python_foreach_impl pplugincache pkgcheck.plugins
+}
diff --git a/dev-util/pkgcheck/pkgcheck-9999.ebuild b/dev-util/pkgcheck/pkgcheck-9999.ebuild
index ce6a19ad97c6..b556dcc88866 100644
--- a/dev-util/pkgcheck/pkgcheck-9999.ebuild
+++ b/dev-util/pkgcheck/pkgcheck-9999.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+ SRC_URI="https://github.com/pkgcore/${PN}/releases/download/v${PV}/${P}.tar.gz"
fi
DESCRIPTION="pkgcore-based QA utility"
@@ -21,8 +21,11 @@ HOMEPAGE="https://github.com/pkgcore/pkgcheck"
LICENSE="|| ( BSD GPL-2 )"
SLOT="0"
-RDEPEND="=sys-apps/pkgcore-9999[${PYTHON_USEDEP}]
- =dev-python/snakeoil-9999[${PYTHON_USEDEP}]"
+RDEPEND="
+ =sys-apps/pkgcore-9999[${PYTHON_USEDEP}]
+ =dev-python/snakeoil-9999[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
[[ ${PV} == *9999 ]] && DEPEND+=" dev-python/sphinx[${PYTHON_USEDEP}]"