Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 575582 - dev-python/python-rrdtool (the Python 3 bindings for rrdtool)
Summary: dev-python/python-rrdtool (the Python 3 bindings for rrdtool)
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-24 21:09 UTC by Tobias Leupold
Modified: 2020-04-25 10:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The ebuild installing the python-rrdtool module (python-rrdtool-0.1.2.ebuild,465 bytes, text/plain)
2016-02-24 21:09 UTC, Tobias Leupold
Details
The ebuild installing the python-rrdtool module (python-rrdtool-0.1.2.ebuild,509 bytes, text/plain)
2016-02-24 22:08 UTC, Tobias Leupold
Details
The ebuild installing the python-rrdtool module (python-rrdtool-0.1.2.ebuild,655 bytes, text/plain)
2016-02-26 20:10 UTC, Tobias Leupold
Details
A patch adding #define HAVE_RRD_GRAPH (have_graph.patch,322 bytes, patch)
2016-02-26 20:11 UTC, Tobias Leupold
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Leupold 2016-02-24 21:09:23 UTC
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.
Comment 1 Tobias Leupold 2016-02-24 22:08:42 UTC
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.
Comment 2 Tobias Leupold 2016-02-26 20:10:21 UTC
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!
Comment 3 Tobias Leupold 2016-02-26 20:11:19 UTC
Created attachment 426684 [details, diff]
A patch adding #define HAVE_RRD_GRAPH

to be put in files/
Comment 4 Tobias Leupold 2016-03-22 06:29:35 UTC
The ebuild also works for the recently released version 0.1.4 by simply renaming it.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2020-04-25 10:51:57 UTC
With bug #619420 resolved, rrdtool gained python3 support.