diff options
author | Tim Harder <radhermit@gentoo.org> | 2019-08-25 02:15:10 -0600 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2019-08-25 02:15:31 -0600 |
commit | 9a1e7fc6f634f28c5ccd4ad17300d5c97434b0aa (patch) | |
tree | 0b64afe281af3cf185b6c52d3eb8f7d03efd6c87 /dev-util | |
parent | media-video/vlc: 3.0.8 version bump (diff) | |
download | gentoo-9a1e7fc6f634f28c5ccd4ad17300d5c97434b0aa.tar.gz gentoo-9a1e7fc6f634f28c5ccd4ad17300d5c97434b0aa.tar.bz2 gentoo-9a1e7fc6f634f28c5ccd4ad17300d5c97434b0aa.zip |
dev-util/pkgcheck: version bump to 0.6.1
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/pkgcheck/Manifest | 1 | ||||
-rw-r--r-- | dev-util/pkgcheck/pkgcheck-0.6.1.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-util/pkgcheck/Manifest b/dev-util/pkgcheck/Manifest index 9e91bed678d6..54d58720e83c 100644 --- a/dev-util/pkgcheck/Manifest +++ b/dev-util/pkgcheck/Manifest @@ -1,2 +1,3 @@ DIST pkgcheck-0.5.4.tar.gz 95354 BLAKE2B ce39854d494db7a7d3412690b8a789f3d78d2a7d0519f11397ec8b02bd03118f171eeba8fe37207e9c18bdf28e7e321ec06d8bb84f9302c07b5238c0851df1e3 SHA512 3c196ce170bb01f0a9f15caa8557e30cad8e088ab9bc733ac754e9c5f6d9078a70a4d14649ee5342848cc170f3c34d7575b35872c5d1a5693fb7aad207727b1b DIST pkgcheck-0.6.0.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 +DIST pkgcheck-0.6.1.tar.gz 160589 BLAKE2B 7fe9c212672405ade8a593b10e546f2202869bf835fcc43699ad62adb8aa97383b2ce3edd77bf8f88c110c45df029bea46a8b91b4ed98a90ad80648750301c95 SHA512 93b361fae50acc71340335f5367c71b3bca5a1e82f27a7f1ed770f33bc22828018db527a3916e195b7a2e59ef9f9bdb91f1bbeb7f62aa1f02921a2e8e0a95c2c diff --git a/dev-util/pkgcheck/pkgcheck-0.6.1.ebuild b/dev-util/pkgcheck/pkgcheck-0.6.1.ebuild new file mode 100644 index 000000000000..8f6ecf17c089 --- /dev/null +++ b/dev-util/pkgcheck/pkgcheck-0.6.1.ebuild @@ -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.1[${PYTHON_USEDEP}] + >=sys-apps/pkgcore-0.10.0[${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 +} |