Created attachment 584296 [details] ebuild According to https://mapnik.org/news/release-3.0.22 there is an updated version of mapnik-v3 available. The working ebuild is attached, the patch referenced within follows. This also fixes bug 689892.
Created attachment 584298 [details] patch
Thank you for your contribution. I had a short look on the ebuild. Here a few ideas: * Please test the ebuild with repoman full -d -x https://wiki.gentoo.org/wiki/Repoman * We always try to use the latest EAPI, please bump to EAPI=7 * Please remove obsolete lines * why is inherit eutils required here? * A bot can look for additional mistakes, if you upload a PR via github
(In reply to Jonas Stein from comment #2) > Thank you for your contribution. I had a short look on the ebuild. > Here a few ideas: > > * Please test the ebuild with repoman full -d -x > https://wiki.gentoo.org/wiki/Repoman > * We always try to use the latest EAPI, please bump to EAPI=7 > * Please remove obsolete lines > * why is inherit eutils required here? > * A bot can look for additional mistakes, if you upload a PR via github Hi Jonas, thanks for your comments. Actually, i'm not in the ebuild writing business (yet), i'm just a "user" w/ some programming skills. So what i basically did was copying the old ebuild from the tree and adapting it to the new mapnik version. Additional effort from my side was put into the check of the scons build tool configuration to get rid of this not-using-libxml2 issue. If i can find some time to dig into the ebuild EAPI version bumping, i'll do, but any help how to do is more than very welcome.
btw: i opened an upstream bug for the SConstruct file addressed in my patch: https://github.com/mapnik/mapnik/issues/4075
Note that 3.0.23 release includes the fix for #689892 and builds with python 3, so the bump is needed to avoid removal from the tree in 24 days.
Created attachment 663559 [details, diff] ebuild patch converting 3.0.18 to 3.0.23 ebuild upgrade that removes inherit scons-utils by using mapnik's own scons.py.
Package removed.
In case anyone's interested, I created an overlay [1] for mapnik 3.0.23. It is based off of Chris Mayo's ebuild (with some minor tweaks) and it also contains a patch (backported from mapnik's master branch) to make mapnik 3.0.23 work with boost 1.74. [1] https://github.com/redneb/gentoo-mapnik-overlay