Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/bzip3/
Date: Mon, 31 Oct 2022 14:08:39
Message-Id: 1667225271.3ad02535560f95203cc489f2005b7c519272ed9a.xgqt@gentoo
1 commit: 3ad02535560f95203cc489f2005b7c519272ed9a
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 31 14:07:51 2022 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 31 14:07:51 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ad02535
7
8 app-arch/bzip3: bump to 1.2.0
9
10 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
11
12 app-arch/bzip3/Manifest | 1 +
13 app-arch/bzip3/bzip3-1.2.0.ebuild | 32 ++++++++++++++++++++++++++++++++
14 2 files changed, 33 insertions(+)
15
16 diff --git a/app-arch/bzip3/Manifest b/app-arch/bzip3/Manifest
17 index d5c786793fc9..e8f2008c9ed6 100644
18 --- a/app-arch/bzip3/Manifest
19 +++ b/app-arch/bzip3/Manifest
20 @@ -1,3 +1,4 @@
21 DIST bzip3-1.1.5.tar.xz 265340 BLAKE2B 0226a97d564f1c9d9d1089b43ae79a9e43d0b77628298ef953c45505ad8d62caaf17bf6fa357857f123cf072b8ccd3003bfe138f25284baa5a5a5cdd8a555f71 SHA512 589c2e8e675a61014c7c4e82d0f2067201e3fb97bf7cfa6b7aa23690dc739824226089ac710509cc085b22eeb671ed5e23c6493967a433d3b284cb638af71be8
22 DIST bzip3-1.1.6.tar.xz 265708 BLAKE2B 9429dcb3e9deef8aafdf890215ba95669dbcb135d6d2896f18cc70b482bab321497d3a26f36be59700ad0da879578b7c906f20629c72642aa15fc3b1507a788a SHA512 19120d3a850495a5bcc43b124e4a8eddf41bac55119d0898bf1e7c5b744f4bcc84c41b9018615f577fe3bfdceab8dd2ab6f2722cb9fbf86bf1c0a2da9ca32916
23 DIST bzip3-1.1.8.tar.xz 269668 BLAKE2B fe85ba2ecca8e2433501c13e57856720da731b6c959340a68dd4654a516c12e034a90ff6cd6aed55dd2160c3860fdc3e60cddd47ffd00737a657a2e6c73704af SHA512 36141a48f0d5b35de4b06117ceca3c5d5cdc3df6be187856f1436751984b0154942e0eece531ee7b191cc0cd7056960de6a1ca3ec0fc2bcc7ff1d50444cd1e3e
24 +DIST bzip3-1.2.0.tar.xz 271664 BLAKE2B 5cdc257d86c88e808f506a4a3dd2a3eb365eda5ca064737386c46a65471934b32535383d844802574cc5274f306b82fef2e1adf12eb8c0059691c6e848d5eeda SHA512 02c653b9450ff41c7a164526d12fa601eed097c3badc6f7cce9b1f38db43c18b315a9f0cc49b47e9d87548b42f1a627b11eb4f956a60176465089f94f985562a
25
26 diff --git a/app-arch/bzip3/bzip3-1.2.0.ebuild b/app-arch/bzip3/bzip3-1.2.0.ebuild
27 new file mode 100644
28 index 000000000000..0d9329da48ca
29 --- /dev/null
30 +++ b/app-arch/bzip3/bzip3-1.2.0.ebuild
31 @@ -0,0 +1,32 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +inherit toolchain-funcs
38 +
39 +DESCRIPTION="A better and stronger spiritual successor to BZip2"
40 +HOMEPAGE="https://github.com/kspalaiologos/bzip3"
41 +
42 +if [[ ${PV} == *9999* ]] ; then
43 + inherit git-r3
44 + EGIT_REPO_URI="https://github.com/kspalaiologos/${PN}.git"
45 +else
46 + SRC_URI="https://github.com/kspalaiologos/${PN}/releases/download/${PV}/${P}.tar.xz"
47 + KEYWORDS="~amd64 ~arm64 ~loong ~x86"
48 +fi
49 +
50 +LICENSE="LGPL-3+"
51 +SLOT="0"
52 +
53 +src_configure() {
54 + # ./configure script will default to Clang if it is found on the system,
55 + # force the use of CC selected by the user with CC=$(tc-getCC)
56 + econf CC=$(tc-getCC)
57 +}
58 +
59 +src_install() {
60 + default
61 +
62 + find "${ED}" -type f -name '*.la' -delete || die
63 +}