Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710246 - net-im/skype-dbus-mock: invalid use of python-r1
Summary: net-im/skype-dbus-mock: invalid use of python-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-19 20:48 UTC by Michał Górny
Modified: 2021-02-26 14:26 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-02-19 20:48:15 UTC
The ebuild inherits python-r1 but doesn't use any of its functions.
Comment 1 Matthew Schultz 2020-02-19 20:55:18 UTC
How else would you get ${PYTHON_DEPS} if you don't inherit python-r1?
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-02-19 21:00:07 UTC
I'm not saying 'you don't inherit'.  I'm saying 'if you inherit it, use it'.  This is an expert eclass, and you shouldn't be using it if you can't bother to read the documentation.  python-single-r1 is meant for normal usage, though it also requires reading some documentation.
Comment 3 Matthew Schultz 2020-02-19 21:14:05 UTC
This is not exactly a typical python package.  What exactly is it that I need to use?  Would you prefer that I change it to use inherit python-single-r1?
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-02-20 05:57:44 UTC
That would be a step in the right direction.  And use python_doscript to install Python scripts.
Comment 5 Larry the Git Cow gentoo-dev 2021-02-26 14:26:24 UTC
The bug has been closed via the following commit(s):

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

commit c6a793205dfbea09aecd0680ba13592232c4fb20
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-25 17:57:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-02-26 14:26:01 +0000

    net-im/skype-dbus-mock: Port to python 3.{8,9}
    
    * Fix incorrect python-r1 usage
    
    Closes: https://bugs.gentoo.org/710246
    
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-im/skype-dbus-mock/metadata.xml                    |  2 +-
 .../skype-dbus-mock-0_pre20181011.ebuild               | 18 +++++++-----------
 2 files changed, 8 insertions(+), 12 deletions(-)