dev-util/pkgcheck: version bump to 0.6.4
authorTim Harder <radhermit@gentoo.org>
Fri, 13 Sep 2019 17:44:46 +0000 (11:44 -0600)
committerTim Harder <radhermit@gentoo.org>
Fri, 13 Sep 2019 17:45:33 +0000 (11:45 -0600)
Signed-off-by: Tim Harder <radhermit@gentoo.org>
dev-util/pkgcheck/Manifest
dev-util/pkgcheck/pkgcheck-0.6.4.ebuild [new file with mode: 0644]
dev-util/pkgcheck/pkgcheck-9999.ebuild

index e54cbf26a6a87fd3c917f8cdfcb1f074ab2f35a5..76c1d48ccdd5e15d0d76b611b6b0f68b09bf6650 100644 (file)
@@ -1,2 +1,3 @@
 DIST pkgcheck-0.6.2.tar.gz 169107 BLAKE2B cd7570924b6b115aae467275bc4e1b26a7c20454860d614c23f96c45f5856d6cc8874aa4ba6d250591eae2f5ef0da8102124a924dfdeba5ca75a17fc1005eaaf SHA512 8684fd40694f4348150bd10e4ad4cfb99cf4978595ccd77e117b50abb54060ef1f9d2a9889279ce139b95c39b6b755ccb8c9604a84ea62892e519552e27ca5af
 DIST pkgcheck-0.6.3.tar.gz 171317 BLAKE2B 76e74cb7b7ce093aec6eff210b4984b195adfa615bdfa9937d47725246a8f0f4074a5d7fe0537e9b556df08906cb738f109eb0bcd980966b1baba4f754888285 SHA512 888bcbe66603de97f92f0bd9a35de6b177724b752e70f55a04cb1ae17c32a476986b9d5165cbf92819c1945bf481529943ef6fe3cfd72739749149760c9809c3
+DIST pkgcheck-0.6.4.tar.gz 174315 BLAKE2B 147745f8dc7df3c47302b2b48a1ed0bbeec348cafbe4c7ca247c688db25b248a6d079c73e4ffc28fead4a06fc2f09aa57e8dbffffcbc765602e8d433141eaeaa SHA512 94cceccd5b184c5b810c298faa1071ec77b8ca2a618e7620dec933ea5da7beda3cb5f96a4efaf7ceb2f2059040e9ef0cbd974613011b816c10f28e59c5d32a00
diff --git a/dev-util/pkgcheck/pkgcheck-0.6.4.ebuild b/dev-util/pkgcheck/pkgcheck-0.6.4.ebuild
new file mode 100644 (file)
index 0000000..3d30a06
--- /dev/null
@@ -0,0 +1,58 @@
+# 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 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.3[${PYTHON_USEDEP}]"
+fi
+RDEPEND+="
+       dev-python/chardet[${PYTHON_USEDEP}]
+       dev-python/lxml[${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
+}
index 1a07b1b270b245a93f7a96f5c5f93772a8495149..3d30a06c6c246361a49fdd45d977ca43df443f5d 100644 (file)
@@ -28,8 +28,8 @@ if [[ ${PV} == *9999 ]]; then
                ~sys-apps/pkgcore-9999[${PYTHON_USEDEP}]"
 else
        RDEPEND="
-               >=dev-python/snakeoil-0.8.1[${PYTHON_USEDEP}]
-               >=sys-apps/pkgcore-0.10.2[${PYTHON_USEDEP}]"
+               >=dev-python/snakeoil-0.8.3[${PYTHON_USEDEP}]
+               >=sys-apps/pkgcore-0.10.3[${PYTHON_USEDEP}]"
 fi
 RDEPEND+="
        dev-python/chardet[${PYTHON_USEDEP}]