From: Sven Wegener Date: Wed, 13 Dec 2017 13:40:06 +0000 (+0100) Subject: dev-libs/libbytesize: Revbump to fix creation of top-level directory. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=7e6e3f74766d67f12a6d1edbf317133545c214c7;p=gentoo.git 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 --- 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 dbb899eae3da..132da45acc0f 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}" +}