From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9E854158089 for ; Sun, 8 Oct 2023 16:58:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD3482BC016; Sun, 8 Oct 2023 16:58:52 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8BAD42BC016 for ; Sun, 8 Oct 2023 16:58:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 692E3335C39 for ; Sun, 8 Oct 2023 16:58:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A17D98C9 for ; Sun, 8 Oct 2023 16:58:49 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1696783857.02b60b9a31bc3b248f378712cefa93e16b66e1e9.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pkgcheck/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/pkgcheck/Manifest dev-util/pkgcheck/pkgcheck-0.10.26.ebuild X-VCS-Directories: dev-util/pkgcheck/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 02b60b9a31bc3b248f378712cefa93e16b66e1e9 X-VCS-Branch: master Date: Sun, 8 Oct 2023 16:58:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8ce78079-0358-4793-838d-4acaac5db621 X-Archives-Hash: 3be0c751d7e82df337c2afe612a5865c commit: 02b60b9a31bc3b248f378712cefa93e16b66e1e9 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Oct 8 16:50:57 2023 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sun Oct 8 16:50:57 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02b60b9a dev-util/pkgcheck: add 0.10.26 Signed-off-by: Arthur Zamarin gentoo.org> dev-util/pkgcheck/Manifest | 1 + dev-util/pkgcheck/pkgcheck-0.10.26.ebuild | 94 +++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+) diff --git a/dev-util/pkgcheck/Manifest b/dev-util/pkgcheck/Manifest index c15674951dba..0cdda5f00405 100644 --- a/dev-util/pkgcheck/Manifest +++ b/dev-util/pkgcheck/Manifest @@ -1 +1,2 @@ DIST pkgcheck-0.10.25.tar.gz 580383 BLAKE2B 2f32bf413dcb68a59b82ee04147b7844efd7b69d932b5d57182e1c91be12750fe14fdd42bf40c652c69e8ac009b2346cc644a9407cf11f03eea2e74f4ab8edc6 SHA512 8d90b5629236f468b5553ca288dbd4843d83b09adc9b9b20a6ad6228a8bff74bf1c1e473575f85d1fb00bdd416e07cc77ea098fd6a2b29edf39f51da364c4831 +DIST pkgcheck-0.10.26.tar.gz 800332 BLAKE2B 01bfb0168fa7bb27660d4d82dca673834e761913aa4ab12a93a78936da9af3ad9d4330bc276c1c14687d0e0bed1f0748ed72ec871ee1af0c47bbdf724aa02e02 SHA512 8b668db52e1a28a664f06d7d4c590830a3f55c8f400b1dd61f8e721ecc04cd0b8d4e8124d07740d47c40fd9c4f3e9189a2c9a27c371109b76edcdfbad86e52fa 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 +}