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
Created attachment 404332 [details] portmidi-217-r2.ebuild Adds py3.3 and 3.4 to the compat list.
Created attachment 404334 [details, diff] portmidi-217-python.patch Improved portmidi-217-python.patch that fixes the unnecessarily incompatible print statements.
Did you ever submit this upstream or is upstream simply dead?
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.
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?
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(+)