From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Perl-Critic/
Date: Mon, 13 Nov 2023 04:35:26 +0000 (UTC) [thread overview]
Message-ID: <1699850068.eb7c0aaa2f937eced010e32ff2a4f73326dae98a.sam@gentoo> (raw)
commit: eb7c0aaa2f937eced010e32ff2a4f73326dae98a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 13 03:39:40 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Nov 13 04:34:28 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb7c0aaa
dev-perl/Perl-Critic: add 1.152.0
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-perl/Perl-Critic/Manifest | 1 +
dev-perl/Perl-Critic/Perl-Critic-1.152.0.ebuild | 85 +++++++++++++++++++++++++
2 files changed, 86 insertions(+)
diff --git a/dev-perl/Perl-Critic/Manifest b/dev-perl/Perl-Critic/Manifest
index 45dcc2d25b5a..72ecca91fa8f 100644
--- a/dev-perl/Perl-Critic/Manifest
+++ b/dev-perl/Perl-Critic/Manifest
@@ -1,2 +1,3 @@
DIST Perl-Critic-1.140.tar.gz 650449 BLAKE2B 648e3605278fbcd9c62437b1c3d587353541db3146829ed2d4aee5d0e240e13d692358146fd860150d1bae79d359ade93b53451a095a36f9c05f49cb0fd93d5c SHA512 46afc8260d2b500edbb29836be993f065270ed9ffa6aa00611a980b294025b794286bc820afeabb94b7d1cdd9bfb4e715e44e466fb0340cb9d938e031b54a6f0
DIST Perl-Critic-1.150.tar.gz 662419 BLAKE2B 0a8191c3bde85e78d5c41f8bed87048a9edbedbd4ded81ba7227dc03d4d467f3d0bf224cd8bc8e727d99984f6e241740ec2ce6cea523a44f4c887fdf76aff566 SHA512 cc5c604c77865edcf8824e3ffbfb44adda0e9d56f8fad35832d35be8b85450fc9c85ba7c0b6859a8f54523285067d46296eea88f2034c98cd7aa61a8511f3b34
+DIST Perl-Critic-1.152.tar.gz 662426 BLAKE2B 850f0e7cce2a46929b6c104e6f78d8259b9cbf7eb6ecdb84ef601ca098cae9f30866eeaca72a7bba095c0a8b42e71d3fd36a01c972fe8e5d45e1e3ee6755cbb3 SHA512 273aeb46617cf614b044c76c4307faf80c8ee4702f115f4baa7d23306164a70e70394fd64e3d89e43650a7314a3bd21ab96ee6daba28f1a12d9d32bd5032779c
diff --git a/dev-perl/Perl-Critic/Perl-Critic-1.152.0.ebuild b/dev-perl/Perl-Critic/Perl-Critic-1.152.0.ebuild
new file mode 100644
index 000000000000..21dac4f9ce85
--- /dev/null
+++ b/dev-perl/Perl-Critic/Perl-Critic-1.152.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.152
+inherit perl-module elisp-common
+
+DESCRIPTION="Critique Perl source code for best-practices"
+
+SLOT="0"
+KEYWORDS="~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-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
+}
next reply other threads:[~2023-11-13 4:35 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-13 4:35 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-24 16:25 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Perl-Critic/ Matt Turner
2024-12-02 13:15 Jakov Smolić
2024-12-01 19:02 Arthur Zamarin
2024-10-24 10:23 Sam James
2024-09-21 19:58 Arthur Zamarin
2024-07-07 6:23 Sam James
2024-07-07 6:10 Sam James
2024-05-01 8:23 Sam James
2024-02-03 19:09 Sam James
2024-02-03 10:56 Sam James
2024-02-02 5:13 Sam James
2023-11-30 15:59 Ionen Wolkens
2023-10-16 16:34 Joonas Niilola
2023-09-28 1:57 Sam James
2023-08-26 5:04 Sam James
2023-08-24 21:25 Sam James
2023-08-24 21:25 Sam James
2023-07-04 5:22 WANG Xuerui
2023-06-24 8:51 Jakov Smolić
2023-06-24 4:12 Sam James
2023-06-24 3:59 Sam James
2023-06-24 3:56 Sam James
2023-06-19 3:26 Sam James
2021-11-25 1:35 Andreas K. Hüttel
2021-08-03 11:08 Sam James
2021-07-28 1:58 Sam James
2021-07-24 20:23 Matt Turner
2021-07-17 19:29 Andreas K. Hüttel
2021-05-15 2:44 Sam James
2021-05-10 13:12 Sam James
2021-05-09 16:54 Andreas K. Hüttel
2018-03-22 6:58 Kent Fredric
2018-03-05 17:13 Tobias Klausmann
2018-02-25 22:05 Sergei Trofimovich
2018-02-24 8:07 Jason Zaman
2017-12-23 0:23 Kent Fredric
2016-08-05 1:30 Kent Fredric
2016-07-06 22:54 Andreas Hüttel
2016-05-25 23:27 Matt Turner
2016-05-25 23:27 Matt Turner
2016-05-13 10:12 Agostino Sarubbo
2016-04-15 19:56 Andreas Hüttel
2016-03-19 22:42 Andreas Hüttel
2016-03-16 14:09 Agostino Sarubbo
2016-02-03 14:36 Tobias Klausmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1699850068.eb7c0aaa2f937eced010e32ff2a4f73326dae98a.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox