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 820B1158009 for ; Mon, 19 Jun 2023 03:26:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A9C63E0845; Mon, 19 Jun 2023 03:26:13 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 68776E0845 for ; Mon, 19 Jun 2023 03:26:13 +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 A06B934100C for ; Mon, 19 Jun 2023 03:26:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1415FA7A for ; Mon, 19 Jun 2023 03:26:11 +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: <1687145162.e0609b7a48766ef3f8dedfb70e94d2d6af518442.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.150.0.ebuild X-VCS-Directories: dev-perl/Perl-Critic/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e0609b7a48766ef3f8dedfb70e94d2d6af518442 X-VCS-Branch: master Date: Mon, 19 Jun 2023 03:26:11 +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: acfd435f-adda-42a5-b88c-4603fc0d5db0 X-Archives-Hash: a39086fc40121f768cbd612fc5c6392f commit: e0609b7a48766ef3f8dedfb70e94d2d6af518442 Author: Sam James gentoo org> AuthorDate: Mon Jun 19 02:34:26 2023 +0000 Commit: Sam James gentoo org> CommitDate: Mon Jun 19 03:26:02 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0609b7a dev-perl/Perl-Critic: add 1.150.0 Signed-off-by: Sam James gentoo.org> dev-perl/Perl-Critic/Manifest | 1 + dev-perl/Perl-Critic/Perl-Critic-1.150.0.ebuild | 85 +++++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/dev-perl/Perl-Critic/Manifest b/dev-perl/Perl-Critic/Manifest index aa1765b25b2f..45dcc2d25b5a 100644 --- a/dev-perl/Perl-Critic/Manifest +++ b/dev-perl/Perl-Critic/Manifest @@ -1 +1,2 @@ DIST Perl-Critic-1.140.tar.gz 650449 BLAKE2B 648e3605278fbcd9c62437b1c3d587353541db3146829ed2d4aee5d0e240e13d692358146fd860150d1bae79d359ade93b53451a095a36f9c05f49cb0fd93d5c SHA512 46afc8260d2b500edbb29836be993f065270ed9ffa6aa00611a980b294025b794286bc820afeabb94b7d1cdd9bfb4e715e44e466fb0340cb9d938e031b54a6f0 +DIST Perl-Critic-1.150.tar.gz 662419 BLAKE2B 0a8191c3bde85e78d5c41f8bed87048a9edbedbd4ded81ba7227dc03d4d467f3d0bf224cd8bc8e727d99984f6e241740ec2ce6cea523a44f4c887fdf76aff566 SHA512 cc5c604c77865edcf8824e3ffbfb44adda0e9d56f8fad35832d35be8b85450fc9c85ba7c0b6859a8f54523285067d46296eea88f2034c98cd7aa61a8511f3b34 diff --git a/dev-perl/Perl-Critic/Perl-Critic-1.150.0.ebuild b/dev-perl/Perl-Critic/Perl-Critic-1.150.0.ebuild new file mode 100644 index 000000000000..43dceb9983fe --- /dev/null +++ b/dev-perl/Perl-Critic/Perl-Critic-1.150.0.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=PETDANCE +DIST_VERSION=1.150 +inherit perl-module elisp-common + +DESCRIPTION="Critique Perl source code for best-practices" + +SLOT="0" +KEYWORDS="~amd64 ~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.271.0 + dev-perl/PPIx-QuoteLike + >=dev-perl/PPIx-Regexp-0.80.0 + dev-perl/PPIx-Utils + >=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 +}