Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2018 02:23:40 +0000 (UTC)
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r480996 - in head/databases: . py-cassandra-driver
Message-ID:  <201810010223.w912NeWs053501@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wen
Date: Mon Oct  1 02:23:40 2018
New Revision: 480996
URL: https://svnweb.freebsd.org/changeset/ports/480996

Log:
  A modern, feature-rich and highly-tunable Python client library for
  Apache Cassandra (2.1+) using exclusively Cassandra's binary protocol
  and Cassandra Query Language v3.
  
  WWW: https://github.com/datastax/python-driver
  
  PR:		231737
  Submitted by:	sergey@akhmatov.ru

Added:
  head/databases/py-cassandra-driver/
  head/databases/py-cassandra-driver/Makefile   (contents, props changed)
  head/databases/py-cassandra-driver/distinfo   (contents, props changed)
  head/databases/py-cassandra-driver/pkg-descr   (contents, props changed)
Modified:
  head/databases/Makefile

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Mon Oct  1 01:59:34 2018	(r480995)
+++ head/databases/Makefile	Mon Oct  1 02:23:40 2018	(r480996)
@@ -786,6 +786,7 @@
     SUBDIR += py-bsddb
     SUBDIR += py-bsddb3
     SUBDIR += py-carbon
+    SUBDIR += py-cassandra-driver
     SUBDIR += py-cdb
     SUBDIR += py-couchdb
     SUBDIR += py-cql

Added: head/databases/py-cassandra-driver/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/py-cassandra-driver/Makefile	Mon Oct  1 02:23:40 2018	(r480996)
@@ -0,0 +1,43 @@
+# $FreeBSD$
+
+PORTNAME=	cassandra-driver
+DISTVERSION=	3.15.1
+CATEGORIES=	databases python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sergey@akhmatov.ru
+COMMENT=	Python client library for Apache Cassandra
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
+		${PY_FUTURES}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}mock>=2.0.0:devel/py-mock@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sure>0:devel/py-sure@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist cython distutils
+
+OPTIONS_DEFINE=	LIBEV MURMUR3
+LIBEV_DESC=	Use devel/libev for event loop
+MURMUR3_DESC=	Enable murmur3 extension
+OPTIONS_DEFAULT=	LIBEV MURMUR3
+
+LIBEV_LIB_DEPENDS=	libev.so:devel/libev
+LIBEV_VARS=	STRIPFILES=${STAGEDIR}${PYTHON_SITELIBDIR}/cassandra/io/libevwrapper.so
+LIBEV_VARS_OFF=	PYDISTUTILS_BUILDARGS+=--no-libev PYDISTUTILS_INSTALLARGS+=--no-libev
+
+MURMUR3_VARS_OFF=	PYDISTUTILS_BUILDARGS+=--no-murmur3 PYDISTUTILS_INSTALLARGS+=--no-murmur3
+
+post-install:
+	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' | ${XARGS} ${STRIP_CMD}
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
+.include <bsd.port.mk>

Added: head/databases/py-cassandra-driver/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/py-cassandra-driver/distinfo	Mon Oct  1 02:23:40 2018	(r480996)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1536768591
+SHA256 (cassandra-driver-3.15.1.tar.gz) = af29963597881831e25376f8b72cad606be11f9a70aa64046a110049f7ca91f5
+SIZE (cassandra-driver-3.15.1.tar.gz) = 228994

Added: head/databases/py-cassandra-driver/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/py-cassandra-driver/pkg-descr	Mon Oct  1 02:23:40 2018	(r480996)
@@ -0,0 +1,5 @@
+A modern, feature-rich and highly-tunable Python client library for
+Apache Cassandra (2.1+) using exclusively Cassandra's binary protocol
+and Cassandra Query Language v3.
+
+WWW: https://github.com/datastax/python-driver



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810010223.w912NeWs053501>