Index: head/databases/Makefile =================================================================== --- head/databases/Makefile +++ head/databases/Makefile @@ -800,6 +800,7 @@ SUBDIR += py-rb SUBDIR += py-redis SUBDIR += py-redis2 + SUBDIR += py-rrdtool SUBDIR += py-sispy SUBDIR += py-south SUBDIR += py-sqlalchemy-json Index: head/databases/py-rrdtool/Makefile =================================================================== --- head/databases/py-rrdtool/Makefile +++ head/databases/py-rrdtool/Makefile @@ -0,0 +1,25 @@ +# Created by: Daniel O'Connor +# $FreeBSD$ + +PORTNAME= rrdtool +DISTVERSION= 0.1.15 +CATEGORIES= databases python +MASTER_SITES= CHEESESHOP +# Bindings name is different from https://pypi.org/project/rrdtool/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= darius@dons.net.au +COMMENT= Python interface to RRDTool, the graphing and logging utility + +LICENSE= LGPL21+ +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= librrd.so:databases/rrdtool + +USES= python +USE_PYTHON= distutils autoplist + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/rrdtool.so + +.include Index: head/databases/py-rrdtool/distinfo =================================================================== --- head/databases/py-rrdtool/distinfo +++ head/databases/py-rrdtool/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1607259691 +SHA256 (rrdtool-0.1.15.tar.gz) = 951d2c23121dbe94859ea46bc9ed54e908e2f2ee60eff3c505db0778a3212732 +SIZE (rrdtool-0.1.15.tar.gz) = 21864 Index: head/databases/py-rrdtool/pkg-descr =================================================================== --- head/databases/py-rrdtool/pkg-descr +++ head/databases/py-rrdtool/pkg-descr @@ -0,0 +1,12 @@ +The python-rrdtool provides an interface to rrdtool, the +wonderful graphing and logging utility. This wrapper +implementation has worked from the scratch (without SWIG), +and it's under LGPL. + +The bindings are based on the code of the original Python 2 +bindings module for rrdtool by Hye-Shik Chang and are now +shipped with the RRDtool distribution. This project is +maintained separately to provide a more pythonic way to +install those bindings via PyPI. + +WWW: https://github.com/commx/python-rrdtool