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 93F5A158094 for ; Fri, 16 Sep 2022 20:44:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CC3CAE082B; Fri, 16 Sep 2022 20:44:46 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 B39AFE082B for ; Fri, 16 Sep 2022 20:44:46 +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 AA80A340D3A for ; Fri, 16 Sep 2022 20:44:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E7A58576 for ; Fri, 16 Sep 2022 20:44:43 +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: <1663361072.5419655f16280f4b189785fcfede37a7be692a34.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.15.ebuild X-VCS-Directories: dev-util/pkgcheck/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 5419655f16280f4b189785fcfede37a7be692a34 X-VCS-Branch: master Date: Fri, 16 Sep 2022 20:44:43 +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: 7b313aaf-600c-40fa-ba1e-a63ad32600ef X-Archives-Hash: c8ab4468cacb01a4781c55f8ccd25d13 commit: 5419655f16280f4b189785fcfede37a7be692a34 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Sep 16 20:44:11 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Fri Sep 16 20:44:32 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5419655f dev-util/pkgcheck: add 0.10.15 Signed-off-by: Arthur Zamarin gentoo.org> dev-util/pkgcheck/Manifest | 1 + dev-util/pkgcheck/pkgcheck-0.10.15.ebuild | 98 +++++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+) diff --git a/dev-util/pkgcheck/Manifest b/dev-util/pkgcheck/Manifest index 193855eaeabc..3caa6ead15de 100644 --- a/dev-util/pkgcheck/Manifest +++ b/dev-util/pkgcheck/Manifest @@ -1,2 +1,3 @@ DIST pkgcheck-0.10.12.tar.gz 477880 BLAKE2B 9d71e6d3312f2c11a722f12c854a14523174b91ca1cf8ea89f6da3463e8aeab1744b083a31eca675e40069b57f4b2b24a83efa0d692d90cd00b9e9c4ec452a02 SHA512 e146dd0533b769078102ff27f90120c459ceb614aed4365a43a36e1a24d1230890c9da7a756b3fcce528806ca1fca10d8d8c283dcc464a7c98368bac0d98a26f DIST pkgcheck-0.10.14.tar.gz 490827 BLAKE2B cf45c66e8cbe11f65840eb98de7e4c8359396f6271dc7d728daeb54704e53c1480198bc1451b4d50510d00029243a0d6dd91201f4bd7b3b5860df27b66792ee7 SHA512 c792a7dfe4f49e6c2008a44f6afb10a2db2067e8e6b9fc6bfe27010e62a6341328f62f3f2e87c4025997392f3883431d4a66c97beb3eeb690cef63e697754ec3 +DIST pkgcheck-0.10.15.tar.gz 493266 BLAKE2B 1dfff3ded8f76c807e79415c6eab1786aeb103975ca639f509e4d97448bed3c7e7969b30ad699528d1a655a6be39fa89f20bf91ee774ab40ca1c99ed23c6f970 SHA512 9bcee0428f6276dc1a5a92dfb528402bc51dd38a79fc2bfeba391297e6e6c058ebf5579e086de881a3331c669dd4700f4b2d5baa74f66172953a329d7e815433 diff --git a/dev-util/pkgcheck/pkgcheck-0.10.15.ebuild b/dev-util/pkgcheck/pkgcheck-0.10.15.ebuild new file mode 100644 index 000000000000..a8ce557ca15d --- /dev/null +++ b/dev-util/pkgcheck/pkgcheck-0.10.15.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_IN_SOURCE_BUILD=1 +inherit elisp-common 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" +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.9.12[${PYTHON_USEDEP}] + >=sys-apps/pkgcore-0.12.13[${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}] + emacs? ( + >=app-editors/emacs-24.1:* + app-emacs/ebuild-mode + app-emacs/flycheck + ) +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +SITEFILE="50${PN}-gentoo.el" + +distutils_enable_tests setup.py + +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 +} + +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 + + 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 +}