Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 561088 - mysql-multilib.eclass - DEPEND on Python 2.7 for dev-db/percona-server and FEATURES=test
Summary: mysql-multilib.eclass - DEPEND on Python 2.7 for dev-db/percona-server and FE...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-21 22:06 UTC by Thomas Deutschmann (RETIRED)
Modified: 2016-06-02 20:36 UTC (History)
0 users

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


Attachments
DEPEND on Python2_7 for dev-db/percona-server when FEATURES=tests is set (add-python-for-test-suite.patch,2.03 KB, patch)
2015-09-21 22:06 UTC, Thomas Deutschmann (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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