Skip to contentSkip to conversation

python-cassandra-driver: add recipe for version 3.6.0

PATCH Superseded Ruben De Smet 1 participant 1 message Sep 29, 2016

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-cassandra-driver: add recipe for version 3.6.0

A Python library for Apache Cassandra

---
 .../python/python-cassandra-driver.inc              | 21 +++++++++++++++++++++
 .../python/python3-cassandra-driver_3.6.0.bb        | 16 ++++++++++++++++
 2 files changed, 37 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-cassandra-driver.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-cassandra-driver_3.6.0.bb
meta-python/recipes-devtools/python/python-cassandra-driver.inc new file +21 -0
new file mode 100644
index 0000000..d3e4cf6
@@ -0,0 +1,21 @@
+SUMMARY = "DataStax Python Driver for Apache Cassandra"
+DESCRIPTION = "A modern, feature-rich and highly-tunable Python client \
+library for Apache Cassandra (1.2+) and DataStax Enterprise (3.1+) using \
+exclusively Cassandra's binary protocol and Cassandra Query Language v3."
+HOMEPAGE = "https://github.com/datastax/python-driver"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+SRCNAME = "cassandra-driver"
+
+SRC_URI[md5sum] = "756a3b235c5766c3072ed62e1083c9ef"
+SRC_URI[sha256sum] = "049c8a871e49052c7b72fddb6569f1bfe738bbfea0a562eeeb5404abeff015ab"
+
+DISTUTILS_BUILD_ARGS += " \
+    --no-libev \
+"
+DISTUTILS_INSTALL_ARGS += " \
+    --no-libev \
+"
+
+inherit pypi
meta-python/recipes-devtools/python/python3-cassandra-driver_3.6.0.bb new file +16 -0
new file mode 100644
index 0000000..65fd2c0
@@ -0,0 +1,16 @@
+inherit setuptools3
+require python-cassandra-driver.inc
+
+RDEPENDS_${PN} += "\
+    python3-cython \
+    python3-multiprocessing \
+    python3-six \
+    python3-json \
+    libevent \
+"
+RDEPENDS_${PN}_class-native = ""
+
+DEPENDS_${PN} += "\
+    python3-setuptools \
+    python3-cython \
+"
Signature · 1 line
2.10.0