From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Compress-Bzip2/
Date: Sat, 25 May 2024 07:35:15 +0000 (UTC) [thread overview]
Message-ID: <1716622484.ebdc715bd508a8fab6475f7637f41e36bf6a354d.sam@gentoo> (raw)
commit: ebdc715bd508a8fab6475f7637f41e36bf6a354d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 25 07:32:02 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 25 07:34:44 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebdc715b
dev-perl/Compress-Bzip2: EAPI 8, rely on eclass impls, fix tests
This covers more variables/args, etc.
Also, fix tests with non-reference bzip2.
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../Compress-Bzip2-2.280.0-r1.ebuild | 47 ++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/dev-perl/Compress-Bzip2/Compress-Bzip2-2.280.0-r1.ebuild b/dev-perl/Compress-Bzip2/Compress-Bzip2-2.280.0-r1.ebuild
new file mode 100644
index 000000000000..67469803264f
--- /dev/null
+++ b/dev-perl/Compress-Bzip2/Compress-Bzip2-2.280.0-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_VERSION=2.28
+DIST_AUTHOR=RURBAN
+DIST_TEST="verbose do"
+inherit perl-module
+
+DESCRIPTION="Interface to Bzip2 compression library"
+
+# perl5.x or newer license
+# https://bugs.gentoo.org/718946#c7
+LICENSE="|| ( Artistic GPL-1+ ) BZIP2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~mips ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+
+RDEPEND="
+ app-arch/bzip2
+ virtual/perl-Carp
+ virtual/perl-File-Spec
+"
+BDEPEND="
+ ${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ test? ( virtual/perl-Test-Simple )
+"
+
+PERL_RM_FILES=(
+ t/900_kwalitee.t
+ t/900_leaktrace.t
+ t/900_meta.t
+ t/900_perl_minimum_version.t
+ t/900_pod-coverage.t
+ t/900_pod.t
+)
+
+src_test() {
+ # Compares byte-for-byte against a reference bzip2'd file, so
+ # fails with e.g. lbzip2.
+ if ! has_version -b "app-alternatives/bzip2[reference]" ; then
+ perl_rm_files t/02{4,5,6}-compfile.t
+ fi
+
+ perl-module_src_test
+}
next reply other threads:[~2024-05-25 7:35 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-25 7:35 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-25 4:41 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Compress-Bzip2/ Sam James
2024-06-25 4:14 Sam James
2021-10-12 20:18 Andreas K. Hüttel
2021-05-05 16:09 Sergei Trofimovich
2021-05-04 22:25 Sam James
2021-05-04 7:01 Agostino Sarubbo
2020-12-27 14:42 Fabian Groffen
2020-08-31 8:48 Kent Fredric
2020-07-24 0:07 Kent Fredric
2020-06-26 22:10 Kent Fredric
2018-10-15 19:03 Fabian Groffen
2017-06-19 12:31 Kent Fredric
2017-05-22 9:25 Agostino Sarubbo
2017-05-21 8:09 Agostino Sarubbo
2017-04-11 21:53 Kent Fredric
2016-12-31 15:08 Andreas Hüttel
2016-12-30 11:12 Agostino Sarubbo
2016-12-30 9:39 Agostino Sarubbo
2016-03-26 16:39 Agostino Sarubbo
2015-12-30 12:05 Andreas Hüttel
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=1716622484.ebdc715bd508a8fab6475f7637f41e36bf6a354d.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