Index: databases/Makefile =================================================================== --- databases/Makefile (revision 466122) +++ databases/Makefile (working copy) @@ -768,6 +768,7 @@ SUBDIR += py-bsddb SUBDIR += py-bsddb3 SUBDIR += py-carbon + SUBDIR += py-carbonate SUBDIR += py-cdb SUBDIR += py-couchdb SUBDIR += py-cql Index: databases/py-carbonate/Makefile =================================================================== --- databases/py-carbonate/Makefile (nonexistent) +++ databases/py-carbonate/Makefile (working copy) @@ -0,0 +1,26 @@ +# $FreeBSD$ + +PORTNAME= carbonate +DISTVERSION= 1.1.2 +CATEGORIES= databases python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= a.andersson.thn@gmail.com +COMMENT= Utilities for dealing with whisper files + +LICENSE= MIT +#LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}carbon>0:databases/py-carbon@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}whisper>0:databases/py-whisper@${FLAVOR} \ + rsync:net/rsync + +USES= python:2.7 +USE_PYTHON= distutils autoplist concurrent + +post-patch: + @${REINPLACE_CMD} -e 's|/opt/graphite/conf/|${PREFIX}/etc/|g' ${WRKSRC}/carbonate/util.py + @${REINPLACE_CMD} -e 's|/opt/graphite/storage/|/var/db/carbon/|g' ${WRKSRC}/carbonate/cli.py + +.include Property changes on: databases/py-carbonate/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: databases/py-carbonate/distinfo =================================================================== --- databases/py-carbonate/distinfo (nonexistent) +++ databases/py-carbonate/distinfo (working copy) @@ -0,0 +1,3 @@ +TIMESTAMP = 1522492113 +SHA256 (carbonate-1.1.2.tar.gz) = 0820a2ff9516080ef5734bab994ce570e49b0666bd947aaba4a538d7abe8e726 +SIZE (carbonate-1.1.2.tar.gz) = 14513 Property changes on: databases/py-carbonate/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: databases/py-carbonate/files/patch-carbonate_cluster.py =================================================================== --- databases/py-carbonate/files/patch-carbonate_cluster.py (nonexistent) +++ databases/py-carbonate/files/patch-carbonate_cluster.py (working copy) @@ -0,0 +1,14 @@ +# The current release containts a bug, see: +# https://github.com/graphite-project/carbonate/issues/95 +# This backports the fix that is mentioned in that thread +# since a new release has not yet been made. +--- carbonate/cluster.py.orig 2018-04-01 06:16:40 UTC ++++ carbonate/cluster.py +@@ -28,6 +28,7 @@ class Cluster(): + class Settings(object): + REPLICATION_FACTOR = config.replication_factor(cluster) + DIVERSE_REPLICAS = False ++ ROUTER_HASH_TYPE = None + r = ConsistentHashingRouter(Settings()) + + # 'hash_type' was added only in carbon 1.0.2 or master Property changes on: databases/py-carbonate/files/patch-carbonate_cluster.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: databases/py-carbonate/pkg-descr =================================================================== --- databases/py-carbonate/pkg-descr (nonexistent) +++ databases/py-carbonate/pkg-descr (working copy) @@ -0,0 +1,3 @@ +Tools for managing federated carbon clusters. + +WWW: https://github.com/graphite-project/carbonate Property changes on: databases/py-carbonate/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property