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 493AD1581D3 for ; Sat, 25 May 2024 07:35:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88B7AE29EB; Sat, 25 May 2024 07:35:17 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 72872E29EB for ; Sat, 25 May 2024 07:35:17 +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 73A2334300A for ; Sat, 25 May 2024 07:35:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0F5C81B4B for ; Sat, 25 May 2024 07:35:15 +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: <1716622484.ebdc715bd508a8fab6475f7637f41e36bf6a354d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Compress-Bzip2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/Compress-Bzip2/Compress-Bzip2-2.280.0-r1.ebuild X-VCS-Directories: dev-perl/Compress-Bzip2/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ebdc715bd508a8fab6475f7637f41e36bf6a354d X-VCS-Branch: master Date: Sat, 25 May 2024 07:35:15 +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: 1671ef77-770a-40c5-b3f9-9bca4ef5c38d X-Archives-Hash: 03b139ea38d293cbf4fa9524e7a9f702 commit: ebdc715bd508a8fab6475f7637f41e36bf6a354d Author: Sam James gentoo org> AuthorDate: Sat May 25 07:32:02 2024 +0000 Commit: Sam James gentoo 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 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 +}