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: Wed, 13 Dec 2017 13:42:07
Message-Id: 1513172451.7e6e3f74766d67f12a6d1edbf317133545c214c7.polynomial-c@gentoo
1 commit: 7e6e3f74766d67f12a6d1edbf317133545c214c7
2 Author: Sven Wegener <swegener <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 13 13:40:06 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 13 13:40:51 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e6e3f74
7
8 dev-libs/libbytesize: Revbump to fix creation of top-level directory.
9
10 Closes: https://bugs.gentoo.org/634840
11 Package-Manager: Portage-2.3.18, Repoman-2.3.6
12
13 .../{libbytesize-1.2.ebuild => libbytesize-1.2-r1.ebuild} | 10 ++++++++--
14 1 file changed, 8 insertions(+), 2 deletions(-)
15
16 diff --git a/dev-libs/libbytesize/libbytesize-1.2.ebuild b/dev-libs/libbytesize/libbytesize-1.2-r1.ebuild
17 similarity index 82%
18 rename from dev-libs/libbytesize/libbytesize-1.2.ebuild
19 rename to dev-libs/libbytesize/libbytesize-1.2-r1.ebuild
20 index dbb899eae3d..132da45acc0 100644
21 --- a/dev-libs/libbytesize/libbytesize-1.2.ebuild
22 +++ b/dev-libs/libbytesize/libbytesize-1.2-r1.ebuild
23 @@ -5,7 +5,7 @@ EAPI=6
24
25 PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
26
27 -inherit autotools python-single-r1
28 +inherit autotools python-r1
29
30 DESCRIPTION="Tiny library providing a C \"class\" for working with arbitrary big sizes in bytes"
31 HOMEPAGE="https://github.com/rhinstaller/libbytesize"
32 @@ -34,7 +34,7 @@ DEPEND="
33 RESTRICT="test"
34
35 pkg_setup() {
36 - python-single-r1_pkg_setup
37 + python_setup
38 }
39
40 src_prepare() {
41 @@ -44,7 +44,13 @@ src_prepare() {
42
43 src_configure() {
44 local myeconfargs=(
45 + --without-python3
46 $(use_with doc gtk-doc)
47 )
48 econf "${myeconfargs[@]}"
49 }
50 +
51 +src_install() {
52 + emake install DESTDIR="${D}"
53 + python_foreach_impl emake -C src/python install DESTDIR="${D}"
54 +}