Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 561088

Summary: mysql-multilib.eclass - DEPEND on Python 2.7 for dev-db/percona-server and FEATURES=test
Product: Gentoo Linux Reporter: Thomas Deutschmann (RETIRED) <whissi>
Component: EclassesAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: DEPEND on Python2_7 for dev-db/percona-server when FEATURES=tests is set

Description Thomas Deutschmann (RETIRED) gentoo-dev 2015-09-21 22:06:14 UTC
Created attachment 412500 [details, diff]
DEPEND on Python2_7 for dev-db/percona-server when FEATURES=tests is set

Hi,

instead of removing tests which require Python 2.7 (bug 561024 comment #4) I suggest to keep these tests and add Python to DEPEND when using FEATURES=test. So people who care about tests will have a higher test coverage...

This only affects dev-db/percona-server (I don't know dev-db/mariadb).
Comment 1 Brian Evans (RETIRED) gentoo-dev 2015-09-22 12:51:22 UTC
This would also require a patch or sed to 's/python /python2 /' because the DEPEND alone won't activate it
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2015-09-22 13:07:33 UTC
Are you sure? The python-any-r1_pkg_setup call will make sure that "python" will call python2* so no need to change the python shebang to python2.
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2016-06-02 20:36:38 UTC
I am closing this: mysql-multilib eclass was superseded by mysql-multilib-r1.

mysql-multilib-r1 doesn't contain the requested change however it was added directly to the ebuild.

First ebuild containing the change was https://gitweb.gentoo.org/repo/gentoo.git/commit/dev-db/percona-server?id=ac0bd95bed7e7746a5212842995cf9a74f3349b7