summaryrefslogtreecommitdiff
path: root/dev-perl/Perl-Critic
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-25 04:04:27 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-25 04:04:27 +0100
commitb11a5614cb96e70e116581c98abf286c2cf694ca (patch)
treeb602f03c26a8da259d67174441f0630d3fbbfa5d /dev-perl/Perl-Critic
parente7daa1f959ba2c720f36a6984f588098e68b15cd (diff)
gentoo auto-resync : 25:10:2024 - 04:04:26
Diffstat (limited to 'dev-perl/Perl-Critic')
-rw-r--r--dev-perl/Perl-Critic/Manifest2
-rw-r--r--dev-perl/Perl-Critic/Perl-Critic-1.156.0.ebuild86
2 files changed, 88 insertions, 0 deletions
diff --git a/dev-perl/Perl-Critic/Manifest b/dev-perl/Perl-Critic/Manifest
index fc2380435b70..af629923d829 100644
--- a/dev-perl/Perl-Critic/Manifest
+++ b/dev-perl/Perl-Critic/Manifest
@@ -1,4 +1,6 @@
AUX 50Perl-Critic-gentoo.el 435 BLAKE2B 67cd9711566c4f06785a1060202638c7501648a5c1b2c479785389d2c4106b05f3e9193c1c517810a1798efe8b6f06c4ca363682e7c89d9dfc0c594e0bce5c6d SHA512 2f0d1135e98c4fe3a920b24b0540459b2c609bcc81f4a7dcc39dcb390646837573f2896df4fc7c2e0da6650ece104c9a6c1ba6f894c9755967b92117f28551e6
DIST Perl-Critic-1.152.tar.gz 662426 BLAKE2B 850f0e7cce2a46929b6c104e6f78d8259b9cbf7eb6ecdb84ef601ca098cae9f30866eeaca72a7bba095c0a8b42e71d3fd36a01c972fe8e5d45e1e3ee6755cbb3 SHA512 273aeb46617cf614b044c76c4307faf80c8ee4702f115f4baa7d23306164a70e70394fd64e3d89e43650a7314a3bd21ab96ee6daba28f1a12d9d32bd5032779c
+DIST Perl-Critic-1.156.tar.gz 663818 BLAKE2B 607af75af3401238a0f4076b0360aa106c2a7604cb728b5bcf422b9c017e6defd3ff27eeb780d959cd612e60f81c722d2296fff7074a91b521bf7079adc92a85 SHA512 c5aa84e6dca89f2af3e1afff920bd36a71ac69e1c5b5f3260e1a50b6cb6e6b88cecae28200e54d9ff98540a97ad6a7755c6e1b468d1a1d642d73b6e05e468c34
EBUILD Perl-Critic-1.152.0-r1.ebuild 1944 BLAKE2B dc711ab2deb06f190b26388504fe105731c18b15a87679e23410b4a20ae9cf06d8a6306e525540c5270d0a0d857ba3c4a7100fbd1b4359f4de2b72077eecdf15 SHA512 9997db0dbc81dd297ff2f3f5f2bc33dde09ec608b054ff6f9c76b33b95da88f8fe8afcb229e0eacf43b7c7ade23650a926c78316eabeaf98d5cf480b776f4a88
+EBUILD Perl-Critic-1.156.0.ebuild 1951 BLAKE2B 6ba91263ee9feafe030337d7fbeff51f4f3af40c3386592b443fa8fac636f33fc6b5217a2dcb4ccbf8020ee6afd3e0ddd99c52f3bef0c00b9e73e6d75b64bb63 SHA512 00b3bdd4fffd82d17cfbd6bb59bafc6a8204db1d541f16e7dd450867188eea4f0cac3d7adc8d0d388c55cae3d9c497e42d6a976f770145b6400f121c0b18491e
MISC metadata.xml 20126 BLAKE2B 8e2ae5e5a1c2214056ab7d6f71429bea085727ff75a7ec4bf40728e54ed955abca0d3c1890dcaf7267db9609fe16db0c629d4f06d060fb0bbee50499d4bb87dd SHA512 ad0138f3cf0a781079142de3641747309779e350081aa6339481396cd7771f0e72391896a1e7e68fc9f2afa5e4dff6c4674a36e5b91a5a07d956137b634a1e9f
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
+}