Created attachment 426472 [details] The ebuild installing the python-rrdtool module At the moment, rrdtool only ships with Python 2 bindings that can be installed via the Python use flag. On https://github.com/commx/python-rrdtool , a Python 3 port of the module is provided, which can be installed by the attached ebuild. I never wrote a pythonic ebuild before, but it works and installs the module without any function definitions, so I think it's fine ;-) Would be cool if this was included in the tree as long as rrdtool does not provide Python 3 support via the Python use flag.
Created attachment 426476 [details] The ebuild installing the python-rrdtool module It also works fine on arm (Raspberry Pi) – and of course should depend on rrdtool itself.
Created attachment 426682 [details] The ebuild installing the python-rrdtool module Updated ebuild with a USE flag determining whether or not the "graph" functions should be built. The necessary patch follows!
Created attachment 426684 [details, diff] A patch adding #define HAVE_RRD_GRAPH to be put in files/
The ebuild also works for the recently released version 0.1.4 by simply renaming it.
With bug #619420 resolved, rrdtool gained python3 support.