commit: 7e6e3f74766d67f12a6d1edbf317133545c214c7 Author: Sven Wegener <swegener <AT> gentoo <DOT> org> AuthorDate: Wed Dec 13 13:40:06 2017 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Wed Dec 13 13:40:51 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e6e3f74
dev-libs/libbytesize: Revbump to fix creation of top-level directory. Closes: https://bugs.gentoo.org/634840 Package-Manager: Portage-2.3.18, Repoman-2.3.6 .../{libbytesize-1.2.ebuild => libbytesize-1.2-r1.ebuild} | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dev-libs/libbytesize/libbytesize-1.2.ebuild b/dev-libs/libbytesize/libbytesize-1.2-r1.ebuild similarity index 82% rename from dev-libs/libbytesize/libbytesize-1.2.ebuild rename to dev-libs/libbytesize/libbytesize-1.2-r1.ebuild index dbb899eae3d..132da45acc0 100644 --- a/dev-libs/libbytesize/libbytesize-1.2.ebuild +++ b/dev-libs/libbytesize/libbytesize-1.2-r1.ebuild @@ -5,7 +5,7 @@ EAPI=6 PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) -inherit autotools python-single-r1 +inherit autotools python-r1 DESCRIPTION="Tiny library providing a C \"class\" for working with arbitrary big sizes in bytes" HOMEPAGE="https://github.com/rhinstaller/libbytesize" @@ -34,7 +34,7 @@ DEPEND=" RESTRICT="test" pkg_setup() { - python-single-r1_pkg_setup + python_setup } src_prepare() { @@ -44,7 +44,13 @@ src_prepare() { src_configure() { local myeconfargs=( + --without-python3 $(use_with doc gtk-doc) ) econf "${myeconfargs[@]}" } + +src_install() { + emake install DESTDIR="${D}" + python_foreach_impl emake -C src/python install DESTDIR="${D}" +}