Hi, I intend to make a attached fix to net-libs/serf to have it use Python 3 scons. Reproducible: Always
Created attachment 598200 [details, diff] serf.patch Author: Benda Xu <heroxbd@gentoo.org> Date: Mon Dec 2 22:54:23 2019 +0800 net-libs/serf: inherit python-any-r1 for scons, bump EAPI The scons package depends on python, and in this case python-any-r1 is needed. Reference: https://wiki.gentoo.org/wiki/Project:Python/scons-utils_integration
"${FILESDIR}"/${PN}-1.3.9-python3.patch "${FILESDIR}"/${PN}-1.3.9-python3_byte.patch The 2 new patches are from the upstream to support Python 3 scons: https://github.com/apache/serf/commit/9d30108b630b77f732ef94d1642b159066ffd890 and https://github.com/apache/serf/commit/1c0241847e845a8da265aa89f297d3db6ae483b1 If no objections are raised, I am going to commit in a week. What do you say? Yours, Benda
Instead of it, I will switch from SCons to CMake, which will avoid any dependency on Python.
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #3) > Instead of it, I will switch from SCons to CMake, which will avoid any > dependency on Python. Let's fix the scons while wait for the upstream to migrate to CMake.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8f1ba80a5e0a61ea85a61c8ee69432dbaee20ba commit c8f1ba80a5e0a61ea85a61c8ee69432dbaee20ba Author: Benda Xu <heroxbd@gentoo.org> AuthorDate: 2019-12-02 14:54:23 +0000 Commit: Benda Xu <heroxbd@gentoo.org> CommitDate: 2019-12-23 02:59:52 +0000 net-libs/serf: inherit python-any-r1 for scons, bump EAPI The scons package depends on python, and in this case python-any-r1 is needed. Reference: https://wiki.gentoo.org/wiki/Project:Python/scons-utils_integration Closes: https://bugs.gentoo.org/701760 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Benda Xu <heroxbd@gentoo.org> net-libs/serf/files/serf-1.3.9-python3.patch | 28 +++++++++ net-libs/serf/files/serf-1.3.9-python3_byte.patch | 28 +++++++++ net-libs/serf/serf-1.3.9-r1.ebuild | 74 +++++++++++++++++++++++ 3 files changed, 130 insertions(+)