summaryrefslogtreecommitdiff
path: root/databases/py-carbon/options.mk
diff options
context:
space:
mode:
authorriz <riz>2015-12-11 21:40:50 +0000
committerriz <riz>2015-12-11 21:40:50 +0000
commit894720eb694cb756ee0e7e2e2d87fe17943ee099 (patch)
tree2dba19198ac25ade9968a00cd3ea06da79fa082b /databases/py-carbon/options.mk
parentab07a65d23144d151ea24a0322ddfed03941ffd6 (diff)
downloadpkgsrc-894720eb694cb756ee0e7e2e2d87fe17943ee099.tar.gz
Add py-carbon 0.9.15, from pkgsrc-wip.
Carbon is a backend data caching and persistence daemon for Graphite. See https://github.com/graphite-project/ for more information.
Diffstat (limited to 'databases/py-carbon/options.mk')
-rw-r--r--databases/py-carbon/options.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/databases/py-carbon/options.mk b/databases/py-carbon/options.mk
new file mode 100644
index 00000000000..2dd97b28c2e
--- /dev/null
+++ b/databases/py-carbon/options.mk
@@ -0,0 +1,30 @@
+# $NetBSD: options.mk,v 1.1 2015/12/11 21:40:50 riz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.py-carbon
+PKG_SUPPORTED_OPTIONS= amqp ldap memcached
+PKG_SUGGESTED_OPTIONS= #
+
+.include "../../mk/bsd.options.mk"
+
+###
+### AMQP support
+###
+.if !empty(PKG_OPTIONS:Mamqp)
+DEPENDS+= ${PYPKGPREFIX}-txamqp-[0-9]*:../../net/py-txamqp
+.endif
+
+###
+### LDAP support
+###
+.if !empty(PKG_OPTIONS:Mldap)
+DEPENDS+= ${PYPKGPREFIX}-ldap-[0-9]*:../../databases/py-ldap
+PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 # py-ldap
+.endif
+
+###
+### Memcached support
+###
+.if !empty(PKG_OPTIONS:Mmemcached)
+DEPENDS+= ${PYPKGPREFIX}-memcached-[0-9]*:../../devel/py-memcached
+PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 # py-memcached
+.endif