Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704522 - distutils-r1.eclass with DISTUTILS_SINGLE_IMPL="1": ${PYTHON_USEDEP} still used
Summary: distutils-r1.eclass with DISTUTILS_SINGLE_IMPL="1": ${PYTHON_USEDEP} still used
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-01-02 04:04 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2020-02-09 16:11 UTC (History)
0 users

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


Attachments
Patch (distutils-r1.eclass.patch,3.09 KB, patch)
2020-01-02 04:08 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2020-01-02 04:04:39 UTC
${PYTHON_USEDEP} is deprecated in python-single-r1.eclass, but distutils-r1.eclass with non-empty DISTUTILS_SINGLE_IMPL still uses ${PYTHON_USEDEP}, instead of recommended replacement (python_gen_cond_dep() with ${PYTHON_MULTI_USEDEP} in this case).
Comment 1 Arfrever Frehtes Taifersar Arahesis 2020-01-02 04:08:54 UTC
Created attachment 602254 [details, diff]
Patch
Comment 2 Larry the Git Cow gentoo-dev 2020-02-09 16:11:06 UTC
The bug has been closed via the following commit(s):

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

commit 00580752bc07ff19156538fc0855ce3f9f0b668c
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-02-07 11:54:13 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-02-09 16:10:25 +0000

    distutils-r1.eclass: Switch test deps to PYTHON_MULTI_USEDEP
    
    Closes: https://bugs.gentoo.org/704522
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 eclass/distutils-r1.eclass | 22 ++++++++++++++++------
 1 file changed, 16 insertions(+), 6 deletions(-)