summaryrefslogtreecommitdiff
path: root/dev-util/pkgcheck
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-09 00:04:30 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-09 00:04:30 +0100
commit94ead5b3c01213a82c9b72a2df165452421db42b (patch)
tree8a48ed4d21de4204607288d00e68a671bef1e8f8 /dev-util/pkgcheck
parent418459f7de9eb29d6db8b61681f39c467d9600e1 (diff)
gentoo auto-resync : 09:10:2023 - 00:04:30
Diffstat (limited to 'dev-util/pkgcheck')
-rw-r--r--dev-util/pkgcheck/Manifest4
-rw-r--r--dev-util/pkgcheck/pkgcheck-0.10.26.ebuild94
-rw-r--r--dev-util/pkgcheck/pkgcheck-9999.ebuild4
3 files changed, 99 insertions, 3 deletions
diff --git a/dev-util/pkgcheck/Manifest b/dev-util/pkgcheck/Manifest
index 23e080746a7b..517fbe106993 100644
--- a/dev-util/pkgcheck/Manifest
+++ b/dev-util/pkgcheck/Manifest
@@ -1,6 +1,8 @@
AUX 50pkgcheck-gentoo.el 125 BLAKE2B db546b7f4e1517fb4f3bc46eff6a3294c8d677be031ecb33987daa84c355c3628ab7f24bbab90afb24b0bcec6c0ebebb56339374fa35a345481aa9808bd538be SHA512 31bad085867ebecedf0c9c3ed1223e7512238892d69b5224e850d744c5965bf7a2d7cb90978d9cce6da8dc554dba36803d604b8c6ac2b7cc9f2718ef7d6fc644
DIST pkgcheck-0.10.25.tar.gz 580383 BLAKE2B 2f32bf413dcb68a59b82ee04147b7844efd7b69d932b5d57182e1c91be12750fe14fdd42bf40c652c69e8ac009b2346cc644a9407cf11f03eea2e74f4ab8edc6 SHA512 8d90b5629236f468b5553ca288dbd4843d83b09adc9b9b20a6ad6228a8bff74bf1c1e473575f85d1fb00bdd416e07cc77ea098fd6a2b29edf39f51da364c4831
+DIST pkgcheck-0.10.26.tar.gz 800332 BLAKE2B 01bfb0168fa7bb27660d4d82dca673834e761913aa4ab12a93a78936da9af3ad9d4330bc276c1c14687d0e0bed1f0748ed72ec871ee1af0c47bbdf724aa02e02 SHA512 8b668db52e1a28a664f06d7d4c590830a3f55c8f400b1dd61f8e721ecc04cd0b8d4e8124d07740d47c40fd9c4f3e9189a2c9a27c371109b76edcdfbad86e52fa
EBUILD pkgcheck-0.10.25-r1.ebuild 2170 BLAKE2B 44938d24e990a0ac15668ca51ec681010912b8073e9628743b0e691bdf0481262d37715338df87428ae474155b58c1bb44290474626a3eb91a26673db6c4fd6c SHA512 91e14530af0f3c084132f12e6c9ba0552835288fcc1ddfc3fa5f5bcf8d1f2e6c91aa051fb9652a2ca193b0ae285ef7810200b78ec05afb617996d7ef96ff3a86
EBUILD pkgcheck-0.10.25-r2.ebuild 2189 BLAKE2B 4ea11c297b6fe7b421dbd82337a4e5f86d43ed4189f3b5ff74ac0620ac8f325f3fca50ed19a11aac0d4f1c19121c816c4dab63a1bc6d3defbe1b56c25db7d33c SHA512 c7c76dfe3b060ba88c89600719131cfac3ebc6ca235dea887fce19451e2e746dfe1a26fb353851e8c6fe2741410c878ac7b73f9357fcc5e41a57a3afb4ce6800
-EBUILD pkgcheck-9999.ebuild 2189 BLAKE2B 4ea11c297b6fe7b421dbd82337a4e5f86d43ed4189f3b5ff74ac0620ac8f325f3fca50ed19a11aac0d4f1c19121c816c4dab63a1bc6d3defbe1b56c25db7d33c SHA512 c7c76dfe3b060ba88c89600719131cfac3ebc6ca235dea887fce19451e2e746dfe1a26fb353851e8c6fe2741410c878ac7b73f9357fcc5e41a57a3afb4ce6800
+EBUILD pkgcheck-0.10.26.ebuild 2179 BLAKE2B 9ce0b3efa33fbbb03b4e915a119a0ec5d7e58ca02065438c4afc32c8676fd7bdbc361cf11ef5fdab301cf00821f5564c7b2fd8413bfbf3c727c9984aa13cbfe9 SHA512 61149e34aac2d0db663dbff6da37e7f0d4be87913b1478bfe3650880c941b94690455f9c0c1e54ea51175f5ef8a16c49690e42b65277c82969af278275677eec
+EBUILD pkgcheck-9999.ebuild 2179 BLAKE2B 9ce0b3efa33fbbb03b4e915a119a0ec5d7e58ca02065438c4afc32c8676fd7bdbc361cf11ef5fdab301cf00821f5564c7b2fd8413bfbf3c727c9984aa13cbfe9 SHA512 61149e34aac2d0db663dbff6da37e7f0d4be87913b1478bfe3650880c941b94690455f9c0c1e54ea51175f5ef8a16c49690e42b65277c82969af278275677eec
MISC metadata.xml 455 BLAKE2B b544db3532ef1da966833d5edbc79988cc1fd85b6d6276476684b49d4485814d6e2d969e742d3633c8176e7f37cae6614dae1654fd1424d71475f022166f6e6a SHA512 5abd1584f486e88992bab8c51c191b4915a5854752130f8a591147ff4b2af2102fdc8ab182e7358c3e4bbb3fdc8400563a250e2dba1793d365f0edc7c5f7c33a
diff --git a/dev-util/pkgcheck/pkgcheck-0.10.26.ebuild b/dev-util/pkgcheck/pkgcheck-0.10.26.ebuild
new file mode 100644
index 000000000000..5307a9534d07
--- /dev/null
+++ b/dev-util/pkgcheck/pkgcheck-0.10.26.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+inherit elisp-common distutils-r1 optfeature
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/pkgcore/pkgcheck.git
+ 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"
+ inherit pypi
+fi
+
+DESCRIPTION="pkgcore-based QA utility for ebuild repos"
+HOMEPAGE="https://github.com/pkgcore/pkgcheck"
+
+LICENSE="BSD MIT"
+SLOT="0"
+IUSE="emacs"
+
+if [[ ${PV} == *9999 ]]; then
+ RDEPEND="
+ ~dev-python/snakeoil-9999[${PYTHON_USEDEP}]
+ ~sys-apps/pkgcore-9999[${PYTHON_USEDEP}]"
+else
+ RDEPEND="
+ >=dev-python/snakeoil-0.10.4[${PYTHON_USEDEP}]
+ >=sys-apps/pkgcore-0.12.21[${PYTHON_USEDEP}]"
+fi
+RDEPEND+="
+ dev-libs/tree-sitter
+ >=dev-libs/tree-sitter-bash-0.20.4
+ 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}]
+ emacs? (
+ >=app-editors/emacs-24.1:*
+ app-emacs/ebuild-mode
+ app-emacs/flycheck
+ )
+"
+BDEPEND="${RDEPEND}
+ dev-python/wheel
+ test? (
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-vcs/git
+ )
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+distutils_enable_tests pytest
+
+export USE_SYSTEM_TREE_SITTER_BASH=1
+
+src_compile() {
+ distutils-r1_src_compile
+
+ if use emacs ; then
+ pushd "${S}"/contrib/emacs >/dev/null || die
+ elisp-compile *.el
+ popd >/dev/null || die
+ fi
+}
+
+python_install_all() {
+ local DOCS=( NEWS.rst )
+ [[ ${PV} == *9999 ]] || doman man/*
+ distutils-r1_python_install_all
+
+ if use emacs ; then
+ elisp-install ${PN} "${S}"/contrib/emacs/*.el{,c}
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+
+ optfeature "Network check support" dev-python/requests
+ optfeature "Perl module version check support" dev-perl/Gentoo-PerlMod-Version
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/dev-util/pkgcheck/pkgcheck-9999.ebuild b/dev-util/pkgcheck/pkgcheck-9999.ebuild
index 3526f28efb7e..5307a9534d07 100644
--- a/dev-util/pkgcheck/pkgcheck-9999.ebuild
+++ b/dev-util/pkgcheck/pkgcheck-9999.ebuild
@@ -30,11 +30,11 @@ if [[ ${PV} == *9999 ]]; then
else
RDEPEND="
>=dev-python/snakeoil-0.10.4[${PYTHON_USEDEP}]
- >=sys-apps/pkgcore-0.12.18[${PYTHON_USEDEP}]"
+ >=sys-apps/pkgcore-0.12.21[${PYTHON_USEDEP}]"
fi
RDEPEND+="
dev-libs/tree-sitter
- >=dev-libs/tree-sitter-bash-0.20.3_p20230921
+ >=dev-libs/tree-sitter-bash-0.20.4
dev-python/chardet[${PYTHON_USEDEP}]
dev-python/lazy-object-proxy[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]