summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-05-27 00:22:08 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-05-27 00:22:19 +0300
commit4a046b1595997e8e853238d4aef4b9685d56346b (patch)
treeb4330f9771906a7fbe02fe32e912c692783d96d3
parentdev-libs/simdjson: add 2.0.1, drop 2.0.0 (diff)
downloadgentoo-4a046b1595997e8e853238d4aef4b9685d56346b.tar.gz
gentoo-4a046b1595997e8e853238d4aef4b9685d56346b.tar.bz2
gentoo-4a046b1595997e8e853238d4aef4b9685d56346b.zip
dev-util/pkgcheck: add 0.10.11
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r--dev-util/pkgcheck/Manifest1
-rw-r--r--dev-util/pkgcheck/pkgcheck-0.10.11.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-util/pkgcheck/Manifest b/dev-util/pkgcheck/Manifest
index a1a5ad30b40..217d9cc5428 100644
--- a/dev-util/pkgcheck/Manifest
+++ b/dev-util/pkgcheck/Manifest
@@ -1,2 +1,3 @@
DIST pkgcheck-0.10.10.tar.gz 464957 BLAKE2B ce8abb3a4f40b6c8512dc6ff2def4d32a2628b3805dc6d90c67adb869d834885a8b17610766dc3ba11c9d93316dd8543152d3f91e919b0cfd2d9cb72ba5eb937 SHA512 54878acfab8a5c579c8a5ee5c6bf4f1a67811277a6b94950ade89ec8f400b3f8e91a9a6ac31b8a7cf3c97a3ffe053b744d7cb2040dda8fc273516eb663e84839
+DIST pkgcheck-0.10.11.tar.gz 474106 BLAKE2B 2a3e330d54e421a48e5cd89044b9af37334bf461f47487b8dd62e7fd1c766d162766d0a6c1319c50c3fd6965b56377536743903c265782b2fbef050d4f805d3a SHA512 b47814822599417d0f7030ac444fd4b2bab1f1bea21abc2a4fe1dd679185afd7d5f823aefff1b6830036de5c7db6232c0b6fc6d33f9c2535d88a711e6d49132c
DIST pkgcheck-0.10.9.tar.gz 460614 BLAKE2B 5b581cf5acd6cf46d72bb3c928a93a20e3b2f552d447617eaf2b9ac50cd7956f9a43fa7b17932b27fa8dafc6d49e41cb8553e4a9059b0ef5fd769713deb6fb12 SHA512 cc800f89944353dec5a4293968a16c132e573b309b6074d4f950b993dab7ea8c51decf3921bd34d3b04520c932a932d27e6e969c8dcf86d20fd6917265d474b6
diff --git a/dev-util/pkgcheck/pkgcheck-0.10.11.ebuild b/dev-util/pkgcheck/pkgcheck-0.10.11.ebuild
new file mode 100644
index 00000000000..3392619076d
--- /dev/null
+++ b/dev-util/pkgcheck/pkgcheck-0.10.11.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+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 ~loong ~ppc ~ppc64 ~riscv ~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.10[${PYTHON_USEDEP}]
+ >=sys-apps/pkgcore-0.12.11[${PYTHON_USEDEP}]"
+fi
+RDEPEND+="
+ dev-libs/tree-sitter
+ dev-libs/tree-sitter-bash
+ 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}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-vcs/git
+ )
+"
+
+distutils_enable_tests setup.py
+
+export USE_SYSTEM_TREE_SITTER_BASH=1
+
+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
+}