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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A2B1915807E for ; Thu, 24 Oct 2024 10:23:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD261E0976; Thu, 24 Oct 2024 10:23:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8E05CE0976 for ; Thu, 24 Oct 2024 10:23:31 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 171F233BEE8 for ; Thu, 24 Oct 2024 10:23:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A771BF32 for ; Thu, 24 Oct 2024 10:23:27 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1729765343.c4af85799cd4de7fcc6e040bf5bf2b8d20e23503.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Perl-Critic/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/Perl-Critic/Manifest dev-perl/Perl-Critic/Perl-Critic-1.156.0.ebuild X-VCS-Directories: dev-perl/Perl-Critic/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c4af85799cd4de7fcc6e040bf5bf2b8d20e23503 X-VCS-Branch: master Date: Thu, 24 Oct 2024 10:23:27 +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: 36bcb48a-8345-45cf-8b06-8f003b687339 X-Archives-Hash: 73eef95f9d31204da3effc77e31f6b62 commit: c4af85799cd4de7fcc6e040bf5bf2b8d20e23503 Author: Sam James gentoo org> AuthorDate: Thu Oct 24 09:53:50 2024 +0000 Commit: Sam James gentoo org> CommitDate: Thu Oct 24 10:22:23 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4af8579 dev-perl/Perl-Critic: add 1.156.0 Signed-off-by: Sam James gentoo.org> dev-perl/Perl-Critic/Manifest | 1 + dev-perl/Perl-Critic/Perl-Critic-1.156.0.ebuild | 86 +++++++++++++++++++++++++ 2 files changed, 87 insertions(+) diff --git a/dev-perl/Perl-Critic/Manifest b/dev-perl/Perl-Critic/Manifest index 206e907bf3f0..597b9a68e5c5 100644 --- a/dev-perl/Perl-Critic/Manifest +++ b/dev-perl/Perl-Critic/Manifest @@ -1 +1,2 @@ DIST Perl-Critic-1.152.tar.gz 662426 BLAKE2B 850f0e7cce2a46929b6c104e6f78d8259b9cbf7eb6ecdb84ef601ca098cae9f30866eeaca72a7bba095c0a8b42e71d3fd36a01c972fe8e5d45e1e3ee6755cbb3 SHA512 273aeb46617cf614b044c76c4307faf80c8ee4702f115f4baa7d23306164a70e70394fd64e3d89e43650a7314a3bd21ab96ee6daba28f1a12d9d32bd5032779c +DIST Perl-Critic-1.156.tar.gz 663818 BLAKE2B 607af75af3401238a0f4076b0360aa106c2a7604cb728b5bcf422b9c017e6defd3ff27eeb780d959cd612e60f81c722d2296fff7074a91b521bf7079adc92a85 SHA512 c5aa84e6dca89f2af3e1afff920bd36a71ac69e1c5b5f3260e1a50b6cb6e6b88cecae28200e54d9ff98540a97ad6a7755c6e1b468d1a1d642d73b6e05e468c34 diff --git a/dev-perl/Perl-Critic/Perl-Critic-1.156.0.ebuild b/dev-perl/Perl-Critic/Perl-Critic-1.156.0.ebuild new file mode 100644 index 000000000000..0d3def011ef5 --- /dev/null +++ b/dev-perl/Perl-Critic/Perl-Critic-1.156.0.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=PETDANCE +DIST_VERSION=1.156 +inherit perl-module elisp-common + +DESCRIPTION="Critique Perl source code for best-practices" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="minimal examples emacs" + +SITEFILE="50${PN}-gentoo.el" + +RDEPEND=" + >=dev-perl/B-Keywords-1.230.0 + virtual/perl-Carp + >=dev-perl/Config-Tiny-2 + >=dev-perl/Exception-Class-1.230.0 + >=virtual/perl-Exporter-5.630.0 + virtual/perl-File-Path + virtual/perl-File-Spec + virtual/perl-File-Temp + dev-perl/File-Which + virtual/perl-Getopt-Long + dev-perl/List-SomeUtils + >=dev-perl/Module-Pluggable-3.100.0 + >=dev-perl/PPI-1.277.0 + dev-perl/PPIx-QuoteLike + >=dev-perl/PPIx-Regexp-0.80.0 + dev-perl/PPIx-Utils + dev-perl/Pod-Parser + >=dev-perl/Pod-Spell-1 + >=dev-perl/Readonly-2 + virtual/perl-Scalar-List-Utils + >=dev-perl/String-Format-1.180.0 + >=virtual/perl-Term-ANSIColor-2.20.0 + >=virtual/perl-Test-Simple-0.920.0 + >=virtual/perl-Text-ParseWords-3 + dev-perl/Perl-Tidy + >=virtual/perl-version-0.770.0 + emacs? ( >=app-editors/emacs-23.1:* ) +" +BDEPEND=" + ${RDEPEND} + >=dev-perl/Module-Build-0.420.400 + test? ( + dev-perl/Test-Deep + !minimal? ( + dev-perl/Test-Memory-Cycle + ) + ) +" + +src_compile() { + perl-module_src_compile + if use emacs; then + elisp-compile extras/perlcritic.el + fi +} + +src_install() { + perl-module_src_install + if use examples; then + docompress -x /usr/share/doc/${PF}/examples + docinto examples/ + dodoc -r examples/* + fi + if use emacs; then + ewarn "USE=emacs: perlcritic-mode is broken upstream, but is installed anyway" + ewarn " https://github.com/Perl-Critic/Perl-Critic/issues/682" + elisp-install ${PN} extras/perlcritic.{el,elc} + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +}