This repository contains a Gentoo ebuild overlay that can be used to install mapnik in a Gentoo system. This repository exists because the official Gentoo package repository no longer contains an ebuild for mapnik.
The recommended way is to install it via eselect repository:
eselect repository add mapnik git https://github.com/redneb/gentoo-mapnik-overlay.git
Then you can install mapnik like you would install any other package in Gentoo:
emerge -av sci-geosciences/mapnik
Alternatively, create the file /etc/portage/repos.conf/mapnik.conf
with the following contents:
[mapnik]
location = <repos dir>/mapnik
sync-type = git
sync-uri = https://github.com/redneb/gentoo-mapnik-overlay.git
auto-sync = yes
Then initialize the new repo with:
emerge --sync mapnik
PRs are welcome.