commit:     25567d0553963c8add91957d0893fac4cc15925c
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sat May  4 06:57:17 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sat May  4 06:59:31 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25567d05

dev-libs/libbytesize: Revbump to python-single-r1 eclass. Removed old.

Added missing PYTHON_USEDEPs

Thanks-to: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> 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 <AT> gentoo.org>

 .../{libbytesize-2.0.ebuild => libbytesize-2.0-r1.ebuild}         | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-libs/libbytesize/libbytesize-2.0.ebuild 
b/dev-libs/libbytesize/libbytesize-2.0-r1.ebuild
similarity index 90%
rename from dev-libs/libbytesize/libbytesize-2.0.ebuild
rename to dev-libs/libbytesize/libbytesize-2.0-r1.ebuild
index 60b36285a57..2ad1b57ba58 100644
--- a/dev-libs/libbytesize/libbytesize-2.0.ebuild
+++ b/dev-libs/libbytesize/libbytesize-2.0-r1.ebuild
@@ -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[@]}"

Reply via email to