summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2017-12-13 14:40:06 +0100
committerLars Wendler <polynomial-c@gentoo.org>2017-12-13 14:40:51 +0100
commit7e6e3f74766d67f12a6d1edbf317133545c214c7 (patch)
treeab16dcfe9b7fcb3d6dbd8c5552cd82a2629c8936 /dev-libs/libbytesize
parentsys-fs/udisks: Adjusted renamed USE flag for libblockdev. (diff)
downloadgentoo-7e6e3f74766d67f12a6d1edbf317133545c214c7.tar.gz
gentoo-7e6e3f74766d67f12a6d1edbf317133545c214c7.tar.bz2
gentoo-7e6e3f74766d67f12a6d1edbf317133545c214c7.zip
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
Diffstat (limited to 'dev-libs/libbytesize')
-rw-r--r--dev-libs/libbytesize/libbytesize-1.2-r1.ebuild (renamed from dev-libs/libbytesize/libbytesize-1.2.ebuild)10
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-libs/libbytesize/libbytesize-1.2.ebuild b/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}"
+}