summaryrefslogtreecommitdiff
path: root/dev-util/pkgcheck
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/pkgcheck')
-rw-r--r--dev-util/pkgcheck/Manifest2
-rw-r--r--dev-util/pkgcheck/pkgcheck-0.10.27.ebuild94
2 files changed, 96 insertions, 0 deletions
diff --git a/dev-util/pkgcheck/Manifest b/dev-util/pkgcheck/Manifest
index 7c82f16897bc..0b69015521e2 100644
--- a/dev-util/pkgcheck/Manifest
+++ b/dev-util/pkgcheck/Manifest
@@ -1,8 +1,10 @@
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
+DIST pkgcheck-0.10.27.tar.gz 806381 BLAKE2B f4acf72e85003f4dfa244c843464ab40a93df64a7bec68682cf39413552a51989a3214cab9c340318cebb39a8cf33c497fd72335cd37772f8e4d6e87838e413b SHA512 581109fdc565852d0407d770634864f809c2860ccfa03675afc8273199bc00af1c632c0fca27904c3262b1e851f3b8939cbda466cb3876ac228cddf74016fb32
EBUILD pkgcheck-0.10.25-r1.ebuild 2170 BLAKE2B 44938d24e990a0ac15668ca51ec681010912b8073e9628743b0e691bdf0481262d37715338df87428ae474155b58c1bb44290474626a3eb91a26673db6c4fd6c SHA512 91e14530af0f3c084132f12e6c9ba0552835288fcc1ddfc3fa5f5bcf8d1f2e6c91aa051fb9652a2ca193b0ae285ef7810200b78ec05afb617996d7ef96ff3a86
EBUILD pkgcheck-0.10.25-r2.ebuild 2181 BLAKE2B 808aac9d31a839493d8438718d72317d7c71e4d9674fe2bb16274f5ac4f9fe853fc3e1e3ce550cdc1ab69c10785c7209d215ea3788ca0309439e2bfb66c79be7 SHA512 6192074898536d3c2a4edf3cbe79891a0e24724aa0036e64d9a6391ab2cc72a060bcd7c8fd7c40dec354c6e489071e0a7766670f6cc0f9b10f08b856e9bf9387
EBUILD pkgcheck-0.10.26.ebuild 2171 BLAKE2B db98882758501d6978686ef42e219a0fabfa65e461b7e68a7dedb9126f2877638291fb23bc1912244d4b86a7255b6228d8f3ae19cdca256da776226f58b4ecd1 SHA512 159ac0b29737f07c1873e3f709bddb79cea7a3168c83e14f1c4b296f8b3d91b9691ae3ab55ae433f2e9fc5e458a289aeb9d260e562c4a5784964ed8b9f1e76a1
+EBUILD pkgcheck-0.10.27.ebuild 2179 BLAKE2B 1ad7c2cc0778f82663afb755d0654012a5b981effd3e8d82f89af3c3fe663829e83cf99e86a1012d1f0f53a40f4cbd9373c32b48153dfc36b45e33c50a45852e SHA512 1eb392d8d6d2261156593214d9169911ed026c9e0df79ac0bd375fbdcdc51606641afd00c676b426d99d5ce53a20fcc305e1c73eeac13dd516dd3ea51d008460
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.27.ebuild b/dev-util/pkgcheck/pkgcheck-0.10.27.ebuild
new file mode 100644
index 000000000000..0bfd64093b98
--- /dev/null
+++ b/dev-util/pkgcheck/pkgcheck-0.10.27.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2024 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
+}