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

Bug 622594

Summary: app-misc/media-player-info ebuild should accept python 3.6
Product: Gentoo Linux Reporter: Michele Alzetta <michele>
Component: Current packagesAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: added python 3.6 compatibility

Description Michele Alzetta 2017-06-24 09:10:06 UTC
Created attachment 477826 [details]
added python 3.6 compatibility

media-player-info-22.ebuild causes the whole system to be dependent on python 3.5 or 3.4 even if python 3.6 is available.

Attached ebuild solves this.
Comment 1 Jonas Stein gentoo-dev 2017-06-24 18:47:09 UTC
why do we know that it is python-3.6 compatible?
Comment 2 Michele Alzetta 2017-06-24 19:48:20 UTC
The installed package is just a list of data files in .mpi format, plus a udev hwdb and a file of udev rules.

There are three small python 3 scripts in the tools folder.  As far as I can tell  the python 3 dependency is limited to the build process. And the package builds with python 3.6 just fine, without any apparent problems.

I looked at the scripts and can't see anything that python 3.6 would break, but I'm not an expert, so it is definitely necessary for someone else to give a look.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2017-06-25 06:07:42 UTC
Thanks, fixed in git.

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