Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558526 - media-libs/mlt-0.9.8: Errors in pkg_setup, incorrect REQUIRED_USE for python
Summary: media-libs/mlt-0.9.8: Errors in pkg_setup, incorrect REQUIRED_USE for python
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-24 00:58 UTC by Jonathan Callen (RETIRED)
Modified: 2016-01-01 15:28 UTC (History)
2 users (show)

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 Jonathan Callen (RETIRED) gentoo-dev 2015-08-24 00:58:42 UTC
Because media-libs/mlt-0.9.8 only optionally uses python, it should have the following:

REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"

pkg_setup() {
    use python && python-single-r1_pkg_setup
}

Otherwise, the package will have errors on what should be correct sets of USE flags.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2016-01-01 15:27:58 UTC
Thanks, this is fixed in git by Andreas.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f6d52106be38419f309add0dc4df7e3ce3bd859