dev-libs/libbytesize: Revbump to python-single-r1 eclass. Removed old.
authorLars Wendler <polynomial-c@gentoo.org>
Sat, 4 May 2019 06:57:17 +0000 (08:57 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Sat, 4 May 2019 06:59:31 +0000 (08:59 +0200)
Added missing PYTHON_USEDEPs

Thanks-to: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Closes: https://bugs.gentoo.org/685018
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
dev-libs/libbytesize/libbytesize-2.0-r1.ebuild [moved from dev-libs/libbytesize/libbytesize-2.0.ebuild with 90% similarity]

similarity index 90%
rename from dev-libs/libbytesize/libbytesize-2.0.ebuild
rename to dev-libs/libbytesize/libbytesize-2.0-r1.ebuild
index 60b36285a5752a0a623ec2032e12e37d13a707fb..2ad1b57ba58109025fecd654ef474fbbd855a7dd 100644 (file)
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{5,6,7} )
 
-inherit autotools python-any-r1
+inherit autotools python-single-r1
 
 DESCRIPTION="Tiny library providing a C \"class\" for working with arbitrary big sizes in bytes"
 HOMEPAGE="https://github.com/storaged-project/libbytesize"
@@ -29,8 +29,8 @@ DEPEND="
        sys-devel/gettext
        doc? ( dev-util/gtk-doc )
        test? (
-               dev-python/pocketlint
-               dev-python/polib
+               dev-python/pocketlint[${PYTHON_USEDEP}]
+               dev-python/polib[${PYTHON_USEDEP}]
        )
 "
 
@@ -45,8 +45,8 @@ src_prepare() {
 
 src_configure() {
        local myeconfargs=(
-               $(use_with python python3)
                $(use_with doc gtk-doc)
+               $(use_with python python3)
                $(use_with tools)
        )
        econf "${myeconfargs[@]}"