Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672890 - virtual/python-funcsigs should specify [${PYTHON_USEDEP}]
Summary: virtual/python-funcsigs should specify [${PYTHON_USEDEP}]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2018-12-10 18:07 UTC by matoro
Modified: 2018-12-30 20:34 UTC (History)
0 users

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


Attachments
emerge --info (info.txt,5.98 KB, text/plain)
2018-12-10 18:07 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2018-12-10 18:07:47 UTC
Created attachment 557540 [details]
emerge --info

As documented here:  https://wiki.gentoo.org/wiki/Project:Python/python-r1#python_gen_cond_dep

virtual/python-funcsigs should specify [${PYTHON_USEDEP}] in its argument string passed to python_gen_cond_dep.  This was discovered when I realized that I had somehow managed to install virtual/python-funcsigs with PYTHON_TARGETS="python2_7 python3_6" but dev-python/funcsigs with PYTHON_TARGETS="python3_6" and portage did not complain.  Tested on a local repo, changing the line:

$(python_gen_cond_dep '>=dev-python/funcsigs-1' python2_7 python3_{3,4,5} pypy{,3} )"

to:

$(python_gen_cond_dep '>=dev-python/funcsigs-1[${PYTHON_USEDEP}]' python2_7 python3_{3,4,5} pypy{,3} )"

fixes the issue.
Comment 1 Larry the Git Cow gentoo-dev 2018-12-30 20:34:16 UTC
The bug has been closed via the following commit(s):

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

commit c341df8256c345d3aff999824f8682ee624b53f9
Author:     Alexey Sokolov <sokolov@google.com>
AuthorDate: 2018-12-10 08:43:26 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2018-12-30 20:31:45 +0000

    virtual/python-funcsigs: require correct USE flags of python/funcsigs
    
    Closes: https://bugs.gentoo.org/672890
    Closes: https://github.com/gentoo/gentoo/pull/10603
    Signed-off-by: Alexey Sokolov <sokolov@google.com>
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 virtual/python-funcsigs/python-funcsigs-2.ebuild | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)