Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/pigz/
Date: Wed, 28 Dec 2022 00:33:06
Message-Id: 1672187534.8ee8f63ef9313e478246cffcd855f0d5e73bc962.sam@gentoo
1 commit: 8ee8f63ef9313e478246cffcd855f0d5e73bc962
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 28 00:05:38 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 28 00:32:14 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ee8f63e
7
8 app-arch/pigz: drop 2.6
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 app-arch/pigz/Manifest | 1 -
13 app-arch/pigz/metadata.xml | 3 ---
14 app-arch/pigz/pigz-2.6.ebuild | 39 ---------------------------------------
15 3 files changed, 43 deletions(-)
16
17 diff --git a/app-arch/pigz/Manifest b/app-arch/pigz/Manifest
18 index ac8a89f32a98..785c14e4cc66 100644
19 --- a/app-arch/pigz/Manifest
20 +++ b/app-arch/pigz/Manifest
21 @@ -1,2 +1 @@
22 -DIST pigz-2.6.tar.gz 106840 BLAKE2B 8e1a8ca593896fc947a7d6ffaa71d9be69d347f7cf1ed2f635b8480aa05708f4679a4768cf3a18ac515ea94dd8352dd4158bd3c9d1b6fdebd82ad1b582d04cba SHA512 04d2e44bc7a7eb061c3c48100ce5b8fc79931aeac72340abd768fd2a4499ff1004e2bc009772fc2003a4c599f6e90f3abc8bef5c377d6397f1c8e9f7c49f95e2
23 DIST pigz-2.7.tar.gz 108102 BLAKE2B d391522fd6f8eb6918d671fb1c9517034941f3ae8e05ffcd7bece141e6dae110cde1560bad02bd2bcca2f868cdba2a8a16b5606ad6637d40d5ced5ec9bfffcc8 SHA512 9f9f61de4a0307fc057dc4e31a98bd8d706d9e709ecde0be02a871534fddf6a1fe1321158aa72708603aaaece43f83d2423b127f7689b6219b23aea4f989e8f5
24
25 diff --git a/app-arch/pigz/metadata.xml b/app-arch/pigz/metadata.xml
26 index 90b45f869af8..2a434f0824c1 100644
27 --- a/app-arch/pigz/metadata.xml
28 +++ b/app-arch/pigz/metadata.xml
29 @@ -10,9 +10,6 @@
30 is a fully functional replacement for gzip that exploits
31 multiple processors and multiple cores to the hilt when compressing data.
32 </longdescription>
33 - <use>
34 - <flag name="symlink">Install symlinks which override <pkg>app-arch/gzip</pkg> implementation</flag>
35 - </use>
36 <upstream>
37 <remote-id type="cpe">cpe:/a:zlib:pigz</remote-id>
38 <remote-id type="github">madler/pigz</remote-id>
39
40 diff --git a/app-arch/pigz/pigz-2.6.ebuild b/app-arch/pigz/pigz-2.6.ebuild
41 deleted file mode 100644
42 index 94c255643611..000000000000
43 --- a/app-arch/pigz/pigz-2.6.ebuild
44 +++ /dev/null
45 @@ -1,39 +0,0 @@
46 -# Copyright 1999-2022 Gentoo Authors
47 -# Distributed under the terms of the GNU General Public License v2
48 -
49 -EAPI=7
50 -
51 -inherit toolchain-funcs flag-o-matic
52 -
53 -DESCRIPTION="A parallel implementation of gzip"
54 -HOMEPAGE="https://www.zlib.net/pigz/"
55 -SRC_URI="https://www.zlib.net/pigz/${P}.tar.gz"
56 -
57 -LICENSE="ZLIB"
58 -SLOT="0"
59 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos ~sparc64-solaris"
60 -IUSE="static symlink test"
61 -RESTRICT="!test? ( test )"
62 -
63 -LIB_DEPEND="sys-libs/zlib[static-libs(+)]"
64 -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
65 -DEPEND="${RDEPEND}
66 - static? ( ${LIB_DEPEND} )
67 - test? ( app-arch/ncompress )"
68 -
69 -src_compile() {
70 - use static && append-ldflags -static
71 - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
72 -}
73 -
74 -src_install() {
75 - dobin ${PN}
76 - dosym ${PN} /usr/bin/un${PN}
77 - dodoc README
78 - doman ${PN}.1
79 -
80 - if use symlink; then
81 - dosym ${PN} /usr/bin/gzip
82 - dosym un${PN} /usr/bin/gunzip
83 - fi
84 -}