Closes: https://bugs.gentoo.org/634840
Package-Manager: Portage-2.3.18, Repoman-2.3.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"
RESTRICT="test"
pkg_setup() {
- python-single-r1_pkg_setup
+ python_setup
}
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}"
+}