Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libbytesize/
Date: Mon, 06 May 2019 07:35:11
Message-Id: 1557128091.361c925cafa7b21dfba3d6db7224da50ffda2ccc.polynomial-c@gentoo
1 commit: 361c925cafa7b21dfba3d6db7224da50ffda2ccc
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 4 16:52:41 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon May 6 07:34:51 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=361c925c
7
8 dev-libs/libbytesize: use the pre-prepared tarball
9
10 This avoids the need to autoreconf the sources.
11
12 Package-Manager: Portage-2.3.62_p4, Repoman-2.3.12_p87
13 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
14 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
15
16 dev-libs/libbytesize/Manifest | 2 +-
17 .../{libbytesize-2.0-r2.ebuild => libbytesize-2.0-r3.ebuild} | 11 +++--------
18 2 files changed, 4 insertions(+), 9 deletions(-)
19
20 diff --git a/dev-libs/libbytesize/Manifest b/dev-libs/libbytesize/Manifest
21 index b1044dd8c45..aa6bbdb7f0e 100644
22 --- a/dev-libs/libbytesize/Manifest
23 +++ b/dev-libs/libbytesize/Manifest
24 @@ -1,3 +1,3 @@
25 DIST libbytesize-1.2.tar.gz 70598 BLAKE2B e136b1274703da7b3596e7583cea1ac773c1594af09c626f4dbb481dfcc23a3186b03ebdc54bba67d0a063c5d6587f6b7f8b610828c461cfd114eea1388dd193 SHA512 a8151e7440d0ec43d10239ddf08a9924827cdf08f20a16dff6177b444c1022fab905a0567384531e7610d854998111adb77f9a6a98e2d9648c02521f84ea2bf2
26 DIST libbytesize-1.4.tar.gz 80943 BLAKE2B d4c6c34d81be01bf7db2c37b0660886d99eff3c0a87024f5fbc12cc3606dc01e772b81dfbcacbf76c62213120253a9e7bda90adbc749b6d4c3e31e1ed3ae7702 SHA512 5dd13cf52a1674be776220ee1863f42261a47dc53af1ce4a31460d6d02ce87e19c5a52260f700928af98f1d9d7a96de7c11d8f384907b3187ef2effc10cbb593
27 -DIST libbytesize-2.0.tar.gz 84673 BLAKE2B cbe439bafc5b6a5ee1fbba6ba3e78f6a2b080394eb1da57b14945edc9180cff179a0eafb9de29a9639dfcbd6abf86158aa84121b81704d9270a93e4331d98eea SHA512 5adc7f529bebab2a568b623f876c9b65e58cd1f19dcfb2cc0c068b03a4e0cbe6a527c9cef3417e442b5eb8c00c963f325090356474c69083793a55edb54a7001
28 +DIST libbytesize-2.0.tar.gz 440544 BLAKE2B a371c617c965171a8746339ff8a2ec412daf3f79ae80e4e6a404546b0fc2f59f3e5882fc93726701490ef267f90cfd8c5db70bf7bd334c08806ff35eaab97377 SHA512 9d2a18930d0d900262ced4abd5cd358896570eadb06435f1b9aba5484ca530478b65dfb4982e8acf77ca4519a2d8a1dc236d42f5fa1ecbd7461949b282ef44a1
29
30 diff --git a/dev-libs/libbytesize/libbytesize-2.0-r2.ebuild b/dev-libs/libbytesize/libbytesize-2.0-r3.ebuild
31 similarity index 87%
32 rename from dev-libs/libbytesize/libbytesize-2.0-r2.ebuild
33 rename to dev-libs/libbytesize/libbytesize-2.0-r3.ebuild
34 index bfb8a984b13..9dbadf259d2 100644
35 --- a/dev-libs/libbytesize/libbytesize-2.0-r2.ebuild
36 +++ b/dev-libs/libbytesize/libbytesize-2.0-r3.ebuild
37 @@ -5,11 +5,11 @@ EAPI=7
38
39 PYTHON_COMPAT=( python3_{5,6,7} )
40
41 -inherit autotools python-r1
42 +inherit python-r1
43
44 DESCRIPTION="Tiny library providing a C \"class\" for working with arbitrary big sizes in bytes"
45 HOMEPAGE="https://github.com/storaged-project/libbytesize"
46 -SRC_URI="https://github.com/storaged-project/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
47 +SRC_URI="https://github.com/storaged-project/libbytesize/releases/download/${PV}/${P}.tar.gz"
48 LICENSE="LGPL-2+"
49 SLOT="0"
50 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
51 @@ -35,15 +35,10 @@ BDEPEND="
52 )
53 "
54
55 -DOCS=( NEWS.rst README.md )
56 +DOCS=( README.md )
57
58 RESTRICT="test"
59
60 -src_prepare() {
61 - default
62 - eautoreconf
63 -}
64 -
65 python_do() {
66 if use python; then
67 python_foreach_impl run_in_build_dir "$@"