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: Thu, 24 Oct 2024 10:23:27 +0000 (UTC) [thread overview]
Message-ID: <1729765343.c4af85799cd4de7fcc6e040bf5bf2b8d20e23503.sam@gentoo> (raw)
commit: c4af85799cd4de7fcc6e040bf5bf2b8d20e23503
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 24 09:53:50 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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
+}
next reply other threads:[~2024-10-24 10:23 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-24 10:23 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-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-11-13 4:35 Sam James
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=1729765343.c4af85799cd4de7fcc6e040bf5bf2b8d20e23503.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