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: Fri, 13 May 2022 22:13:11
Message-Id: 1652479977.cccdc7f1126b3989bcebdfa192e5ccd888f67563.xgqt@gentoo
1 commit: cccdc7f1126b3989bcebdfa192e5ccd888f67563
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 13 22:10:21 2022 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Fri May 13 22:12:57 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cccdc7f1
7
8 app-arch/bzip3: new package; add version 1.1.1
9
10 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
11
12 app-arch/bzip3/Manifest | 1 +
13 app-arch/bzip3/bzip3-1.1.1.ebuild | 41 +++++++++++++++++++++++++++++++++++++++
14 app-arch/bzip3/metadata.xml | 21 ++++++++++++++++++++
15 3 files changed, 63 insertions(+)
16
17 diff --git a/app-arch/bzip3/Manifest b/app-arch/bzip3/Manifest
18 new file mode 100644
19 index 000000000000..744f1488a184
20 --- /dev/null
21 +++ b/app-arch/bzip3/Manifest
22 @@ -0,0 +1 @@
23 +DIST bzip3-1.1.1.tar.gz 2349860 BLAKE2B dd740b631b66db40bce35cccc0a46e4bbfe2a929aeaa2b083419e94cfcf3967c97fc6233e50fb1b0cb185ebd23bcad082567ca11ad5f0f037bdc4a95eb792f77 SHA512 22c7e415b2cd423b08a99051fd54bf0773e11a978559c9c382a4667087d6f1671de9ec564a5badbe1e8283aba83f5d1c70392ba7a0a96c8669ffee302d5d47e9
24
25 diff --git a/app-arch/bzip3/bzip3-1.1.1.ebuild b/app-arch/bzip3/bzip3-1.1.1.ebuild
26 new file mode 100644
27 index 000000000000..d985f7ce980b
28 --- /dev/null
29 +++ b/app-arch/bzip3/bzip3-1.1.1.ebuild
30 @@ -0,0 +1,41 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit autotools
37 +
38 +DESCRIPTION="A better and stronger spiritual successor to BZip2"
39 +HOMEPAGE="https://github.com/kspalaiologos/bzip2/"
40 +
41 +if [[ ${PV} == *9999* ]] ; then
42 + inherit git-r3
43 + EGIT_REPO_URI="https://github.com/kspalaiologos/${PN}.git"
44 +else
45 + SRC_URI="https://github.com/kspalaiologos/${PN}/archive/${PV}.tar.gz
46 + -> ${P}.tar.gz"
47 + KEYWORDS="~amd64 ~x86"
48 +fi
49 +
50 +LICENSE="LGPL-3"
51 +SLOT="0"
52 +IUSE="static-libs"
53 +
54 +src_prepare() {
55 + default
56 + eautoreconf
57 +
58 + echo ${PV} > .tarball-version || die
59 +}
60 +
61 +src_configure() {
62 + econf $(use_enable static-libs static)
63 +}
64 +
65 +src_install() {
66 + default
67 +
68 + if ! use static-libs ; then
69 + find "${ED}" -type f -name '*.la' -delete || die
70 + fi
71 +}
72
73 diff --git a/app-arch/bzip3/metadata.xml b/app-arch/bzip3/metadata.xml
74 new file mode 100644
75 index 000000000000..5dee14e0081f
76 --- /dev/null
77 +++ b/app-arch/bzip3/metadata.xml
78 @@ -0,0 +1,21 @@
79 +<?xml version="1.0" encoding="UTF-8"?>
80 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
81 +
82 +<pkgmetadata>
83 + <maintainer type="person">
84 + <email>xgqt@g.o</email>
85 + <name>Maciej Barć</name>
86 + </maintainer>
87 + <longdescription>
88 + A better, faster and stronger spiritual successor to BZip2. Features higher
89 + compression ratios and better performance thanks to a order-0 context
90 + mixing entropy coder, a fast Burrows-Wheeler transform code making use of
91 + suffix arrays and a RLE with Lempel Ziv+Prediction pass based on LZ77-style
92 + string matching and PPM-style context modeling.
93 + Like its ancestor, BZip3 excels at compressing text or code.
94 + </longdescription>
95 + <upstream>
96 + <bugs-to>https://github.com/kspalaiologos/bzip3/issues/</bugs-to>
97 + <remote-id type="github">kspalaiologos/bzip3</remote-id>
98 + </upstream>
99 +</pkgmetadata>