Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 616066 - net-vpn/tinc: uses python-any-r1 but has RDEP on Python
Summary: net-vpn/tinc: uses python-any-r1 but has RDEP on Python
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-19 22:13 UTC by Michał Górny
Modified: 2020-02-24 01:51 UTC (History)
1 user (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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-04-19 22:13:49 UTC
The python-any-r1 eclass is meant to be used for packages that have build-time dependency on Python. The generated || dependency (and lack of explanatory USE flags) is not appropriate for packages that require Python at runtime.

Please fix the package to use python-single-r1. While at it, please remember to include PYTHON_REQUIRED_USE in REQUIRED_USE.
Comment 1 Anthony Basile gentoo-dev 2017-04-20 00:03:49 UTC
I didn't write that ebuild but I tried to fix it.  When I switched from -any- to -single- I got that python_gen_any_dep can't be found.  A quick grep shows that it is only in -any-  Since I'm not sure why that was needed there, I'm not sure how do fix this.

@dlan.  Do you have a clue here?
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-04-20 20:47:22 UTC
Inline the parameter to that function into depstring.
Comment 3 Arfrever Frehtes Taifersar Arahesis 2020-02-24 01:51:35 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc5298510ea6ea0a2cae843449a06b86dec4adf0

commit bc5298510ea6ea0a2cae843449a06b86dec4adf0
Author:     Anthony G. Basile <blueness@gentoo.org>
AuthorDate: 2020-02-23 20:59:33 +0000
Commit:     Anthony G. Basile <blueness@gentoo.org>
CommitDate: 2020-02-23 20:59:33 +0000

    net-vpn/tinc: remove dependence on python, bug #709328
    
    Closes: https://bugs.gentoo.org/709328
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Anthony G. Basile <blueness@gentoo.org>