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: Tue, 17 May 2022 21:09:52
Message-Id: 1652821786.09e068a2b18c9fed036814adae72b17514bf0510.xgqt@gentoo
1 commit: 09e068a2b18c9fed036814adae72b17514bf0510
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 17 20:59:20 2022 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Tue May 17 21:09:46 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09e068a2
7
8 app-arch/bzip3: drop useless static-libs USE flag
9
10 as QA requested
11 https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0302
12 also, use releases source for version 1.1.1
13
14 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
15
16 app-arch/bzip3/Manifest | 2 +-
17 .../{bzip3-1.1.3.ebuild => bzip3-1.1.1-r1.ebuild} | 14 +++-----------
18 .../{bzip3-1.1.2.ebuild => bzip3-1.1.2-r1.ebuild} | 16 +++++-----------
19 .../{bzip3-1.1.1.ebuild => bzip3-1.1.3-r1.ebuild} | 21 ++++++---------------
20 4 files changed, 15 insertions(+), 38 deletions(-)
21
22 diff --git a/app-arch/bzip3/Manifest b/app-arch/bzip3/Manifest
23 index 74a9f9ed885c..e1cae6a246f9 100644
24 --- a/app-arch/bzip3/Manifest
25 +++ b/app-arch/bzip3/Manifest
26 @@ -1,3 +1,3 @@
27 -DIST bzip3-1.1.1.tar.gz 2349860 BLAKE2B dd740b631b66db40bce35cccc0a46e4bbfe2a929aeaa2b083419e94cfcf3967c97fc6233e50fb1b0cb185ebd23bcad082567ca11ad5f0f037bdc4a95eb792f77 SHA512 22c7e415b2cd423b08a99051fd54bf0773e11a978559c9c382a4667087d6f1671de9ec564a5badbe1e8283aba83f5d1c70392ba7a0a96c8669ffee302d5d47e9
28 +DIST bzip3-1.1.1.tar.xz 255884 BLAKE2B 09c3b6fdfefc8b82b16f5adf45405d4b61e2188dbe93c1079ffa32560a591c4b5e4f03d0550573d54d79f7c1a4e9d0bf628deddddbf89b17722755248ff6fe41 SHA512 889cdcbf7cbc4972762830d3794c13202b308da039794758d243216f1768a6bbb7660ac4341a3ddb73629c943c830000372e21e1a40b2e1091d05b9e6c54fa26
29 DIST bzip3-1.1.2.tar.xz 256108 BLAKE2B a5f91fe2760fd4f7f79b908d735d613823dedac23e59950317c26f50d0a657dde042e5a08d401984c14d686d33726caa81e4b34cbca26e28c57a96f61e4f23ab SHA512 8b179bfe9b1b67c516580934cd12a640c86b3f9525c5e7902672051d80198cb91aa8880a4ca3ce14a879d26873405c713f1a0c6a33138d21f4d51c9e93d8fac5
30 DIST bzip3-1.1.3.tar.xz 257212 BLAKE2B cc94b4c2caa3123b2c775d66143757bcaea7ead6d8a130391d6714583cfcb92fffca47ad80ffc8b5a01483f6cbfab7101c96521cd97e740116c9e10c64c358e8 SHA512 d48695d066ddc79e81c189f8c06e999f8eb8191982db8908f7bd4dfaa0f8fab1ba57e41664962cc6e8611f8398603918e4bd4d58efff2f04292ea54983a6f38d
31
32 diff --git a/app-arch/bzip3/bzip3-1.1.3.ebuild b/app-arch/bzip3/bzip3-1.1.1-r1.ebuild
33 similarity index 74%
34 rename from app-arch/bzip3/bzip3-1.1.3.ebuild
35 rename to app-arch/bzip3/bzip3-1.1.1-r1.ebuild
36 index bc68102070ae..3854b7aad967 100644
37 --- a/app-arch/bzip3/bzip3-1.1.3.ebuild
38 +++ b/app-arch/bzip3/bzip3-1.1.1-r1.ebuild
39 @@ -3,7 +3,7 @@
40
41 EAPI=8
42
43 -inherit toolchain-funcs autotools
44 +inherit toolchain-funcs
45
46 DESCRIPTION="A better and stronger spiritual successor to BZip2"
47 HOMEPAGE="https://github.com/kspalaiologos/bzip3"
48 @@ -18,23 +18,15 @@ fi
49
50 LICENSE="LGPL-3+"
51 SLOT="0"
52 -IUSE="static-libs"
53 -
54 -src_prepare() {
55 - default
56 - eautoreconf
57 -}
58
59 src_configure() {
60 # ./configure script will default to Clang if it is found on the system,
61 # force the use of CC selected by the user with CC=$(tc-getCC)
62 - econf $(use_enable static-libs static) CC=$(tc-getCC)
63 + econf CC=$(tc-getCC)
64 }
65
66 src_install() {
67 default
68
69 - if ! use static-libs ; then
70 - find "${ED}" -type f -name '*.la' -delete || die
71 - fi
72 + find "${ED}" -type f -name '*.la' -delete || die
73 }
74
75 diff --git a/app-arch/bzip3/bzip3-1.1.2.ebuild b/app-arch/bzip3/bzip3-1.1.2-r1.ebuild
76 similarity index 69%
77 rename from app-arch/bzip3/bzip3-1.1.2.ebuild
78 rename to app-arch/bzip3/bzip3-1.1.2-r1.ebuild
79 index 4ccf8c7adedf..3854b7aad967 100644
80 --- a/app-arch/bzip3/bzip3-1.1.2.ebuild
81 +++ b/app-arch/bzip3/bzip3-1.1.2-r1.ebuild
82 @@ -3,7 +3,7 @@
83
84 EAPI=8
85
86 -inherit autotools
87 +inherit toolchain-funcs
88
89 DESCRIPTION="A better and stronger spiritual successor to BZip2"
90 HOMEPAGE="https://github.com/kspalaiologos/bzip3"
91 @@ -18,21 +18,15 @@ fi
92
93 LICENSE="LGPL-3+"
94 SLOT="0"
95 -IUSE="static-libs"
96 -
97 -src_prepare() {
98 - default
99 - eautoreconf
100 -}
101
102 src_configure() {
103 - econf $(use_enable static-libs static)
104 + # ./configure script will default to Clang if it is found on the system,
105 + # force the use of CC selected by the user with CC=$(tc-getCC)
106 + econf CC=$(tc-getCC)
107 }
108
109 src_install() {
110 default
111
112 - if ! use static-libs ; then
113 - find "${ED}" -type f -name '*.la' -delete || die
114 - fi
115 + find "${ED}" -type f -name '*.la' -delete || die
116 }
117
118 diff --git a/app-arch/bzip3/bzip3-1.1.1.ebuild b/app-arch/bzip3/bzip3-1.1.3-r1.ebuild
119 similarity index 57%
120 rename from app-arch/bzip3/bzip3-1.1.1.ebuild
121 rename to app-arch/bzip3/bzip3-1.1.3-r1.ebuild
122 index 13c9cf6dec77..3854b7aad967 100644
123 --- a/app-arch/bzip3/bzip3-1.1.1.ebuild
124 +++ b/app-arch/bzip3/bzip3-1.1.3-r1.ebuild
125 @@ -3,7 +3,7 @@
126
127 EAPI=8
128
129 -inherit autotools
130 +inherit toolchain-funcs
131
132 DESCRIPTION="A better and stronger spiritual successor to BZip2"
133 HOMEPAGE="https://github.com/kspalaiologos/bzip3"
134 @@ -12,30 +12,21 @@ if [[ ${PV} == *9999* ]] ; then
135 inherit git-r3
136 EGIT_REPO_URI="https://github.com/kspalaiologos/${PN}.git"
137 else
138 - SRC_URI="https://github.com/kspalaiologos/${PN}/archive/${PV}.tar.gz
139 - -> ${P}.tar.gz"
140 + SRC_URI="https://github.com/kspalaiologos/${PN}/releases/download/${PV}/${P}.tar.xz"
141 KEYWORDS="~amd64 ~x86"
142 fi
143
144 LICENSE="LGPL-3+"
145 SLOT="0"
146 -IUSE="static-libs"
147 -
148 -src_prepare() {
149 - default
150 - eautoreconf
151 -
152 - echo ${PV} > .tarball-version || die
153 -}
154
155 src_configure() {
156 - econf $(use_enable static-libs static)
157 + # ./configure script will default to Clang if it is found on the system,
158 + # force the use of CC selected by the user with CC=$(tc-getCC)
159 + econf CC=$(tc-getCC)
160 }
161
162 src_install() {
163 default
164
165 - if ! use static-libs ; then
166 - find "${ED}" -type f -name '*.la' -delete || die
167 - fi
168 + find "${ED}" -type f -name '*.la' -delete || die
169 }