mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-util/pkgcheck: add 0.10.29
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
DIST pkgcheck-0.10.27-git-2.43.2.patch 1193 BLAKE2B a91d51e939e524682eccaedc4489c44661f5ed28e76c7074c16f001bf8a968c0ec4485e2a71504e86e081334ee0de02d70573f6ee910c52d636cda1955747686 SHA512 26c81364f7ef875fe3fb1ff77ccde6bd0892160b0ad8ac929f146950473596be1967883ffc5c25fb05ee4fd19870b470fdcfc536667530b89983ce1035b0007f
|
||||
DIST pkgcheck-0.10.27.tar.gz 806381 BLAKE2B f4acf72e85003f4dfa244c843464ab40a93df64a7bec68682cf39413552a51989a3214cab9c340318cebb39a8cf33c497fd72335cd37772f8e4d6e87838e413b SHA512 581109fdc565852d0407d770634864f809c2860ccfa03675afc8273199bc00af1c632c0fca27904c3262b1e851f3b8939cbda466cb3876ac228cddf74016fb32
|
||||
DIST pkgcheck-0.10.28.tar.gz 807874 BLAKE2B 12fbbf4a4482af9e27983fe7b32c376542551fdd5512fc13325f42234f714e49944475960cb23fb525c6b7d7637189bbde8a2e288c9ee360b58595dfc8bce5d7 SHA512 fb13d01ee8d29415afcf267635b8eb4e5c16a5f4fc5c83f3d6ce99a5aadb5d2ee4b31bde9de67fad9a093f10f881604cf0f1abff6ed47c35a23ec17527d8e9f6
|
||||
DIST pkgcheck-0.10.29.tar.gz 377521 BLAKE2B 91a1a25e6ef173582fc9082b92baa66489fd43c7addfbdd8516b5ea93febbb92b7155de88283ae4a1bb09047a44336ab5c336c5d0808c915eab99e8aa4461576 SHA512 339e332db24ffd716b658a40c66f2a90c6905071827da84ce0d633d882d75cf41bb853725ca30fe2abc8d7535f546925aedc8853fa7f1737854cee251a0ec3ab
|
||||
|
||||
93
dev-util/pkgcheck/pkgcheck-0.10.29.ebuild
Normal file
93
dev-util/pkgcheck/pkgcheck-0.10.29.ebuild
Normal file
@@ -0,0 +1,93 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=standalone
|
||||
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.7[${PYTHON_USEDEP}]
|
||||
>=sys-apps/pkgcore-0.12.25[${PYTHON_USEDEP}]"
|
||||
fi
|
||||
RDEPEND+="
|
||||
>=dev-libs/tree-sitter-bash-0.21.0[python,${PYTHON_USEDEP}]
|
||||
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.21.0[${PYTHON_USEDEP}]
|
||||
emacs? (
|
||||
>=app-editors/emacs-24.1:*
|
||||
app-emacs/ebuild-mode
|
||||
app-emacs/flycheck
|
||||
)
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
>=dev-python/flit-core-3.8[${PYTHON_USEDEP}]
|
||||
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 build/sphinx/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
|
||||
}
|
||||
Reference in New Issue
Block a user