version-generator.py file from libpgm-5.1.118 distfile is not compatible with python 3.x This file executes just before source compilation and "syntax error" aborts build if python 3.x selected as main system python interpreter. But you can emerge package if you switch to python 2.7 (through eselect python) for the time of building. So, version-independent python script needed or ability to use exact interpreter (2.7) for this file.
Created attachment 364442 [details] net-libs:openpgm-5.1.118:20131202-111322.log
+*openpgm-5.2.122 (24 Dec 2013) + + 24 Dec 2013; Justin Lecher <jlec@gentoo.org> +openpgm-5.2.122.ebuild, + metadata.xml: + Version Bump; move to autotools-utils.eclass; fix buildtime python support, + #492974 +
This isn't fixed in 5.1.118 which is needed for net-libs/zeromq-3.2.3.
(In reply to Jeroen Roovers from comment #3) > This isn't fixed in 5.1.118 which is needed for net-libs/zeromq-3.2.3. *openpgm-5.1.118 (19 Dec 2011) Do we seriously expect openpgm-5.1.118 from this vintage to be made py3 capable today?
(In reply to Ian Delaney from comment #4) > Do we seriously expect openpgm-5.1.118 from this vintage to be made py3 > capable today? No, just an ebuild that uses [python]-r1.eclass to set python2 as interpreter.
commit 5e8438f8c65044e20dd3d6eaff30fdfcc1a426ea Author: Justin Lecher <jlec@gentoo.org> Date: Mon Aug 24 12:29:47 2015 +0200 net-libs/openpgm: Make compatible with py2 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=492974 Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e8438f8c65044e20dd3d6eaff30fdfcc1a426ea