Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 550820 - media-libs/portmidi - Add Python 3 build support
Summary: media-libs/portmidi - Add Python 3 build support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: py3-tracker, python-3-incompatible
  Show dependency tree
 
Reported: 2015-05-30 13:15 UTC by Benedikt Reinartz
Modified: 2019-12-17 21:06 UTC (History)
3 users (show)

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


Attachments
portmidi-217-r2.ebuild (portmidi-217-r2.ebuild,3.07 KB, text/plain)
2015-05-30 13:16 UTC, Benedikt Reinartz
Details
portmidi-217-python.patch (portmidi-217-python.patch,1.36 KB, patch)
2015-05-30 13:17 UTC, Benedikt Reinartz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benedikt Reinartz 2015-05-30 13:15:58 UTC
Since portmidi's Python support is implemented using Cython it works fine with Python 3. The only thing holding it up is the fact that its setup.py uses print statements. I'll push this change upstream, but we can handle this in portage easily since we are already patching setup.py anyhow.

Reproducible: Always
Comment 1 Benedikt Reinartz 2015-05-30 13:16:44 UTC
Created attachment 404332 [details]
portmidi-217-r2.ebuild

Adds py3.3 and 3.4 to the compat list.
Comment 2 Benedikt Reinartz 2015-05-30 13:17:47 UTC
Created attachment 404334 [details, diff]
portmidi-217-python.patch

Improved portmidi-217-python.patch that fixes the unnecessarily incompatible print statements.
Comment 3 Andreas Sturmlechner gentoo-dev 2017-12-21 00:48:33 UTC
Did you ever submit this upstream or is upstream simply dead?
Comment 4 Benedikt Reinartz 2017-12-21 06:46:51 UTC
To be honest, I gave up last time (needs sf.net account, needs permission by the project admin to upload patches, mailing list archives are not accessible ...).

I'll give it another shot.
Comment 5 Benedikt Reinartz 2019-11-05 06:32:55 UTC
Upstream is not dead dead but is looking for someone to take over, which will not be me. Since there is much more heavy patching going on in the CMake area, could you please just merge the two additionally patched lines?
Comment 6 Larry the Git Cow gentoo-dev 2019-12-17 21:06:37 UTC
The bug has been closed via the following commit(s):

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

commit 641331e41b136dfb1d8506a159c2ea45fbd33fc8
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2019-12-17 21:05:50 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2019-12-17 21:06:24 +0000

    media-libs/portmidi: -r3 python3
    
    1) eapi7
    2) dropped python2, added python3
    3) organized deps, lifted min java up to 1.8
    
    Closes: https://bugs.gentoo.org/550820
    Package-Manager: Portage-2.3.82, Repoman-2.3.20
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 .../portmidi/files/portmidi-217-r3-python.patch    |  50 ++++++++
 media-libs/portmidi/portmidi-217-r3.ebuild         | 134 +++++++++++++++++++++
 2 files changed, 184 insertions(+)