Index: databases/Makefile =================================================================== --- databases/Makefile +++ databases/Makefile @@ -724,6 +724,7 @@ SUBDIR += py-cdb SUBDIR += py-couchdb SUBDIR += py-cql + SUBDIR += py-cyanite SUBDIR += py-dbf SUBDIR += py-dbutils SUBDIR += py-fdb Index: databases/py-cyanite/Makefile =================================================================== --- /dev/null +++ databases/py-cyanite/Makefile @@ -0,0 +1,20 @@ +# Created by: Ultima +# $FreeBSD$ + +PORTNAME= cyanite +PORTVERSION= 0.4.6 +CATEGORIES= databases python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ultima1252@gmail.com +COMMENT= Plugin for using graphite with the cassandra-based storage backend + +LICENSE= BSD4CLAUSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests + +USES= python:2.6-3.4 +USE_PYTHON= autoplist distutils + +.include Index: databases/py-cyanite/distinfo =================================================================== --- /dev/null +++ databases/py-cyanite/distinfo @@ -0,0 +1,2 @@ +SHA256 (cyanite-0.4.6.tar.gz) = e85f4b4f7140c0a28d3b1401902ab62d33572df4be52090bae188e6b2ac78118 +SIZE (cyanite-0.4.6.tar.gz) = 3520 Index: databases/py-cyanite/pkg-descr =================================================================== --- /dev/null +++ databases/py-cyanite/pkg-descr @@ -0,0 +1,3 @@ +A plugin for using graphite with the cassandra-based Cyanite storage backend. + +WWW: https://github.com/brutasse/graphite-cyanite Index: devel/Makefile =================================================================== --- devel/Makefile +++ devel/Makefile @@ -4302,6 +4302,7 @@ SUBDIR += py-statgrab SUBDIR += py-stdnum SUBDIR += py-stevedore + SUBDIR += py-structlog SUBDIR += py-stsci.distutils SUBDIR += py-subversion SUBDIR += py-subvertpy Index: devel/py-structlog/Makefile =================================================================== --- /dev/null +++ devel/py-structlog/Makefile @@ -0,0 +1,20 @@ +# Created by: Ultima +# $FreeBSD$ + +PORTNAME= structlog +PORTVERSION= 15.3.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ultima1252@gmail.com +COMMENT= Structured logging in Python easy + +LICENSE= MIT APACHE20 +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE.mit ${WRKSRC}/LICENSE.apache2 + +USES= python:2.6-3.5 +USE_PYTHON= autoplist distutils + +.include Index: devel/py-structlog/distinfo =================================================================== --- /dev/null +++ devel/py-structlog/distinfo @@ -0,0 +1,2 @@ +SHA256 (structlog-15.3.0.tar.gz) = 87276738473ff00014f3f6ce9adf559d142ca4a71567805c46f09ea61df938c1 +SIZE (structlog-15.3.0.tar.gz) = 68385 Index: devel/py-structlog/pkg-descr =================================================================== --- /dev/null +++ devel/py-structlog/pkg-descr @@ -0,0 +1,4 @@ +structlog makes structured logging in Python easy by augmenting your +existing logger. It allows you to split your log entries up into +key/value pairs and build them incrementally without annoying +boilerplate code. Index: graphics/Makefile =================================================================== --- graphics/Makefile +++ graphics/Makefile @@ -821,6 +821,7 @@ SUBDIR += py-blockdiag SUBDIR += py-blockdiagcontrib-cisco SUBDIR += py-cairo + SUBDIR += py-cairocffi SUBDIR += py-chart SUBDIR += py-django-easy-thumbnails SUBDIR += py-editobj Index: graphics/py-cairocffi/Makefile =================================================================== --- /dev/null +++ graphics/py-cairocffi/Makefile @@ -0,0 +1,29 @@ +# Created by: Ultima +# $FreeBSD$ + +PORTNAME= cairocffi +PORTVERSION= 0.7.2 +CATEGORIES= graphics python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ultima1252@gmail.com +COMMENT= Cffi-based cairo bindings for Python + +LICENSE= BSD4CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:${PORTSDIR}/devel/py-cffi +BUILD_DEPENDS= ${DEPENDS} +RUN_DEPENDS= ${DEPENDS} + +USES= python:2.6-3.4 +USE_PYTHON= autoplist distutils + +OPTIONS_DEFINE= XCB +OPTIONS_DEFAULT= XCB + +XCB_DESC= XCB binding support via xcffib +XCB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xcffib>=0.3.2:${PORTSDIR}/x11/py-xcffib + +.include Index: graphics/py-cairocffi/distinfo =================================================================== --- /dev/null +++ graphics/py-cairocffi/distinfo @@ -0,0 +1,2 @@ +SHA256 (cairocffi-0.7.2.tar.gz) = e42b4256d27bd960cbf3b91a6c55d602defcdbc2a73f7317849c80279feeb975 +SIZE (cairocffi-0.7.2.tar.gz) = 75337 Index: graphics/py-cairocffi/pkg-descr =================================================================== --- /dev/null +++ graphics/py-cairocffi/pkg-descr @@ -0,0 +1,6 @@ +cairocffi is a CFFI-based drop-in replacement for Pycairo, a set of Python +bindings and object-oriented API for cairo. Cairo is a 2D vector graphics +library with support for multiple backends including image buffers, PNG, +PostScript, PDF, and SVG file output. + +WWW: https://github.com/SimonSapin/cairocffi Index: graphics/py-cairocffi/pkg-plist =================================================================== --- /dev/null +++ graphics/py-cairocffi/pkg-plist @@ -0,0 +1,6 @@ +%%PYTHON_SITELIBDIR%%/cairocffi/_ffi.py +%%PYTHON_SITELIBDIR%%/cairocffi/_ffi.pyc +%%PYTHON_SITELIBDIR%%/cairocffi/_ffi.pyo +%%PYTHON_SITELIBDIR%%/cairocffi/_ffi_pixbuf.py +%%PYTHON_SITELIBDIR%%/cairocffi/_ffi_pixbuf.pyc +%%PYTHON_SITELIBDIR%%/cairocffi/_ffi_pixbuf.pyo Index: www/Makefile =================================================================== --- www/Makefile +++ www/Makefile @@ -1601,6 +1601,7 @@ SUBDIR += py-gandi.cli SUBDIR += py-gevent-websocket SUBDIR += py-google-api-python-client + SUBDIR += py-graphite-api SUBDIR += py-graphite-web SUBDIR += py-grequests SUBDIR += py-gunicorn Index: www/py-graphite-api/Makefile =================================================================== --- /dev/null +++ www/py-graphite-api/Makefile @@ -0,0 +1,39 @@ +# Created by: Ultima +# $FreeBSD$ + +PORTNAME= graphite-api +PORTVERSION= 1.1.1 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ultima1252@gmail.com +COMMENT= Graphite-web, without the interface. Just the rendering HTTP API + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>0:${PORTSDIR}/www/py-flask \ + ${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml \ + ${PYTHON_PKGNAMEPREFIX}cairocffi>0:${PORTSDIR}/graphics/py-cairocffi \ + ${PYTHON_PKGNAMEPREFIX}parsing>=1.5.7:${PORTSDIR}/devel/py-parsing \ + ${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz \ + ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six \ + ${PYTHON_PKGNAMEPREFIX}structlog>0:${PORTSDIR}/devel/py-structlog \ + ${PYTHON_PKGNAMEPREFIX}tzlocal>0:${PORTSDIR}/devel/py-tzlocal + +USES= python:2.6-3.4 +USE_PYTHON= autoplist distutils + +OPTIONS_DEFINE= CYANITE CACHE STATSD +OPTIONS_DEFAULT= CYANITE CACHE STATSD + +CYANITE_DESC= Cassandra-based Cyanite storage backend +CACHE_DESC= Cache support to Flask +STATSD_DESC= Client for the statsd daemon + +CYANITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cyanite>0:${PORTSDIR}/databases/py-cyanite +CACHE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask-Cache>0:${PORTSDIR}/www/py-flask-cache +STATSD_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-statsd>0:${PORTSDIR}/devel/py-python-statsd + +.include Index: www/py-graphite-api/distinfo =================================================================== --- /dev/null +++ www/py-graphite-api/distinfo @@ -0,0 +1,2 @@ +SHA256 (graphite-api-1.1.1.tar.gz) = a22ff0ac49017a6adb03e7f766de4d80fc9d14d922f120208838f7cec70bc281 +SIZE (graphite-api-1.1.1.tar.gz) = 74792 Index: www/py-graphite-api/pkg-descr =================================================================== --- /dev/null +++ www/py-graphite-api/pkg-descr @@ -0,0 +1,5 @@ +This is a minimalistic API server that replicates the behavior of Graphite-web. +I removed everything I could and simplified as much code as possible while +keeping the basic functionality. + +WWW: https://github.com/brutasse/graphite-api Index: x11/Makefile =================================================================== --- x11/Makefile +++ x11/Makefile @@ -233,6 +233,7 @@ SUBDIR += printscreen SUBDIR += props SUBDIR += py-qt4-opengl + SUBDIR += py-xcffib SUBDIR += qimageblitz SUBDIR += qt4-graphicssystems-opengl SUBDIR += qt4-inputmethods Index: x11/py-xcffib/Makefile =================================================================== --- /dev/null +++ x11/py-xcffib/Makefile @@ -0,0 +1,25 @@ +# Created by: Ultima +# $FreeBSD$ + +PORTNAME= xcffib +PORTVERSION= 0.3.6 +CATEGORIES= x11 python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ultima1252@gmail.com +COMMENT= Drop in replacement for xpyb, an XCB python binding + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:${PORTSDIR}/devel/py-cffi \ + ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six +BUILD_DEPENDS= ${DEPENDS} +RUN_DEPENDS= ${DEPENDS} + +USES= python:2.6-3.4 +USE_PYTHON= autoplist distutils +USE_XORG= xcb + +.include Index: x11/py-xcffib/distinfo =================================================================== --- /dev/null +++ x11/py-xcffib/distinfo @@ -0,0 +1,2 @@ +SHA256 (xcffib-0.3.6.tar.gz) = b43af996b1816b78743fb08d6b857ec45907b37d19b6f2286c03d9ba368a2b5c +SIZE (xcffib-0.3.6.tar.gz) = 65589 Index: x11/py-xcffib/pkg-descr =================================================================== --- /dev/null +++ x11/py-xcffib/pkg-descr @@ -0,0 +1,7 @@ +xcffib is intended to be a (mostly) drop-in replacement for xpyb. xpyb has +an inactive upstream, several memory leaks, is python2 only and doesn't +have pypy support. xcffib is a binding which uses cffi, which mitigates +some of the issues described above. xcffib also builds bindings for 27 of +the 29 (xprint and xkb are missing) X extensions in 1.10 + +WWW: http://github.com/tych0/xcffib Index: x11/py-xcffib/pkg-plist =================================================================== --- /dev/null +++ x11/py-xcffib/pkg-plist @@ -0,0 +1,3 @@ +%%PYTHON_SITELIBDIR%%/xcffib/_ffi.py +%%PYTHON_SITELIBDIR%%/xcffib/_ffi.pyc +%%PYTHON_SITELIBDIR%%/xcffib/_ffi.pyo