diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-03-20 00:57:29 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-03-20 01:08:45 +0100 |
commit | 9dfef0de3223e142b69b60312e2b30e91a297536 (patch) | |
tree | c9ea98e0629376916ffc54412e26d480eb3ba19c /dev-util/pkgcheck | |
parent | sys-apps/pkgcore: Bump to 0.11.6 (diff) | |
download | gentoo-9dfef0de3223e142b69b60312e2b30e91a297536.tar.gz gentoo-9dfef0de3223e142b69b60312e2b30e91a297536.tar.bz2 gentoo-9dfef0de3223e142b69b60312e2b30e91a297536.zip |
dev-util/pkgcheck: Bump to 0.9.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-util/pkgcheck')
-rw-r--r-- | dev-util/pkgcheck/Manifest | 1 | ||||
-rw-r--r-- | dev-util/pkgcheck/pkgcheck-0.9.4.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-util/pkgcheck/Manifest b/dev-util/pkgcheck/Manifest index 2f171fc9bfee..51cf2ab16034 100644 --- a/dev-util/pkgcheck/Manifest +++ b/dev-util/pkgcheck/Manifest @@ -6,3 +6,4 @@ DIST pkgcheck-0.9.0.tar.gz 585528 BLAKE2B f9fa2d11b9510d84b5d9381ff033de14ca5ec7 DIST pkgcheck-0.9.1.tar.gz 591753 BLAKE2B e4c8840c022b77dde34ad461367eb1947f269c8a0ff12e9dee2c8e373d1926f58f9d104571bc5de233975eda73509bf39eec533de03f78cf82fa41bbd10bcc74 SHA512 9adcf2fd5b9652e834f96f8a7652c97d28c4ec5a8b8704cd4c7c4ef8463237fc15f4c46e36993d0e72de5aab068b108368378d5481cf4d5df974e4a78adf6072 DIST pkgcheck-0.9.2.tar.gz 593674 BLAKE2B e5d02e914e90db28540ca350d91d38ece9cea1f8413ec90b877bb41896cc7b710e451658c7c6cea3f4cc2f834230a986d18429c8ac3f23d4b317b28e3af8d74f SHA512 2bbced17dcc1718576aa4ce2401fc856cfb6256fe437295c25716852645841c6a28d1c1276f3a5943ce27943ab36bd3ca3ef9bf1ace20138368371a793a80b6d DIST pkgcheck-0.9.3.tar.gz 460029 BLAKE2B 3ef3aa6c338c5b379e4845302aaaacc5c71679309f45985e1dfa71fb1e62760c4f94ca43d34ca4ad75ecd1f738d9bcb0140568b4e4826ee6a14586c21d0c1a03 SHA512 5613f65437e6cc1c55330eef8bc354ad2f6e325a03c8353186d17a8e9dd21333a3900f91a36c1af0767ccda56f30d425ddb848e4eccf9d20ccba3f5de5098fb3 +DIST pkgcheck-0.9.4.tar.gz 609445 BLAKE2B c0a8afe0a008069dc54e977b937c00c3b21c2a86af16b3339348e0f6ed454084a97745f59afda2489a65cfb23e92b35bd3cc464075e8729b8dd1c1cd8e8e5ebd SHA512 821ecabad722a51c85ae9d9b32bff425c56f9f5ad719f70ca3a60467f9978acaab78a27ff7d9b41d0572f749ae2a08de960fb8e470f50095fc6ee67668a0e4c4 diff --git a/dev-util/pkgcheck/pkgcheck-0.9.4.ebuild b/dev-util/pkgcheck/pkgcheck-0.9.4.ebuild new file mode 100644 index 000000000000..78f8b6d343cf --- /dev/null +++ b/dev-util/pkgcheck/pkgcheck-0.9.4.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8..9} ) +DISTUTILS_IN_SOURCE_BUILD=1 +inherit distutils-r1 optfeature + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/pkgcore/pkgcheck.git" + inherit git-r3 +else + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-macos" + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +fi + +DESCRIPTION="pkgcore-based QA utility for ebuild repos" +HOMEPAGE="https://github.com/pkgcore/pkgcheck" + +LICENSE="BSD MIT" +SLOT="0" + +if [[ ${PV} == *9999 ]]; then + RDEPEND=" + ~dev-python/snakeoil-9999[${PYTHON_USEDEP}] + ~sys-apps/pkgcore-9999[${PYTHON_USEDEP}]" +else + RDEPEND=" + >=dev-python/snakeoil-0.9.4[${PYTHON_USEDEP}] + >=sys-apps/pkgcore-0.11.6[${PYTHON_USEDEP}]" +fi +RDEPEND+=" + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/lazy-object-proxy[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pathspec[${PYTHON_USEDEP}] + >=dev-python/tree-sitter-0.19.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests setup.py + +src_test() { + local -x PYTHONDONTWRITEBYTECODE= + distutils-r1_src_test +} + +python_install_all() { + local DOCS=( NEWS.rst ) + [[ ${PV} == *9999 ]] || doman man/* + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "Network check support" dev-python/requests + optfeature "Perl module version check support" dev-perl/Gentoo-PerlMod-Version +} |