Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685018 - dev-libs/libbytesize-2.0 should use python-single-r1.eclass instead of python-any-r1.eclass
Summary: dev-libs/libbytesize-2.0 should use python-single-r1.eclass instead of python...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-04 03:32 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2019-05-04 06:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2019-05-04 03:32:20 UTC
Between dev-libs/libbytesize-1.4 and dev-libs/libbytesize-2.0 ebuild, support for multiple Python targets was deleted, which is acceptable, but usage of python-r1.eclass was replaced with usage of python-any-r1.eclass, which does not make sense.
dev-libs/libbytesize-2.0 installs Python modules (*.py), so their run-time usage requires Python, while python-any-r1.eclass is only for build-time usage of Python.

Beside this, dependencies on dev-python/pocketlint and dev-python/polib probably need [${PYTHON_USEDEP}].
Comment 1 Larry the Git Cow gentoo-dev 2019-05-04 06:59:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25567d0553963c8add91957d0893fac4cc15925c

commit 25567d0553963c8add91957d0893fac4cc15925c
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-05-04 06:57:17 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-05-04 06:59:31 +0000

    dev-libs/libbytesize: Revbump to python-single-r1 eclass. Removed old.
    
    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>

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