Skip to contentSkip to conversation

python-cassandra-driver: add recipe for version 3.6.0

PATCH In review Ruben De Smet 3 participants 6 messages Aug 22, 2016 – Sep 29, 2016

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.9.3
#1 lore raw

Hi,

Any chance these things could get merged? Would be for both upstream and krogoth.

They do depend on my

pypi: update the base pypi url to use the package info without
requiring the hash

backport.

Ruben

Quoted 60 lines · Ruben De Smet

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 \
+"
#2 lore raw

Ruben,

Quoted 4 lines · Ruben De Smet

Hi,

Any chance these things could get merged? Would be for both upstream and krogoth.

Sorry, Stable releases do not accept the addition of new packages.

regards,
Armin

Quoted 72 lines

They do depend on my

pypi: update the base pypi url to use the package info without
requiring the hash

backport.

Ruben

Quoted 60 lines · Ruben De Smet

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 \
+"
#3 lore raw
Quoted 10 lines · On 09/29/2016 02:10 AM, akuster808 wrote:

Ruben,

Quoted 4 lines · Ruben De Smet

Hi,

Any chance these things could get merged? Would be for both upstream and krogoth.

Sorry, Stable releases do not accept the addition of new packages.

Oh. Would it be possible to have them in the next unstable then?

Ruben

Quoted 75 lines

regards,
Armin

Quoted 72 lines

They do depend on my

pypi: update the base pypi url to use the package info without
requiring the hash

backport.

Ruben

Quoted 60 lines · Ruben De Smet

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 \
+"
#4 lore raw

Please resend without [krogoth] but with [meta-python] as indicated in the layer readme.

In this case, "upstream" is not what you mean. You mean "master".

Cheers.

Quoted 107 lines · Ruben De Smet
Quoted 10 lines · On 09/29/2016 02:10 AM, akuster808 wrote:

Ruben,

Quoted 4 lines · Ruben De Smet

Hi,

Any chance these things could get merged? Would be for both upstream and krogoth.

Sorry, Stable releases do not accept the addition of new packages.

Oh. Would it be possible to have them in the next unstable then?

Ruben

Quoted 19 lines

regards,
Armin

Quoted 16 lines

They do depend on my

pypi: update the base pypi url to use the package info without
requiring the hash

backport.

Ruben

Quoted 5 lines · Ruben De Smet

A Python library for Apache Cassandra

Signed-off-by Ruben De Smet <[email protected] <javascript:;>>
---
  .../python/python-cassandra-driver.inc              | 21

+++++++++++++++++++++

Quoted 1 line
Quoted 1 line
Quoted 1 line
  .../python/python3-cassandra-driver_3.6.0.bb        | 16

++++++++++++++++

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
  2 files changed, 37 insertions(+)

create mode 100644 meta-python/recipes-devtools/

python/python-cassandra-driver.inc

Quoted 1 line
Quoted 1 line
Quoted 1 line

create mode 100644 meta-python/recipes-devtools/python/

python3-cassandra-driver_3.6.0.bb

Quoted 2 lines
Quoted 2 lines

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-python/recipes-devtools/python/python-cassandra-driver.inc

Quoted 7 lines
Quoted 7 lines

meta-python/recipes-devtools/python/python-cassandra-driver.inc line 2

Quoted 7 lines

new file mode 100644
index 0000000..d3e4cf6

meta-python/recipes-devtools/python/python-cassandra-driver.inc new file +2 -0
@@ -0,0 +1,21 @@
+SUMMARY = "DataStax Python Driver for Apache Cassandra"
+DESCRIPTION = "A modern, feature-rich and highly-tunable Python

client \

Quoted 1 line
Quoted 1 line

meta-python/recipes-devtools/python/python-cassandra-driver.inc line 3

Quoted 1 line
meta-python/recipes-devtools/python/python-cassandra-driver.inc new file +1 -0
+library for Apache Cassandra (1.2+) and DataStax Enterprise (3.1+)

using \

Quoted 1 line
Quoted 1 line

meta-python/recipes-devtools/python/python-cassandra-driver.inc line 4

Quoted 1 line
meta-python/recipes-devtools/python/python-cassandra-driver.inc new file +1 -0
+exclusively Cassandra's binary protocol and Cassandra Query Language

v3."

Quoted 4 lines
Quoted 4 lines

meta-python/recipes-devtools/python/python-cassandra-driver.inc

Quoted 4 lines
meta-python/recipes-devtools/python/python-cassandra-driver.inc new file +4 -0
+HOMEPAGE = "https://github.com/datastax/python-driver"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba

93"

Quoted 4 lines
Quoted 4 lines

meta-python/recipes-devtools/python/python-cassandra-driver.inc

Quoted 4 lines
meta-python/recipes-devtools/python/python-cassandra-driver.inc new file +4 -0
+SRCNAME = "cassandra-driver"
+
+SRC_URI[md5sum] = "756a3b235c5766c3072ed62e1083c9ef"
+SRC_URI[sha256sum] = "049c8a871e49052c7b72fddb6569f1

bfe738bbfea0a562eeeb5404abeff015ab"

Quoted 10 lines
Quoted 10 lines

Review

Quoted 10 lines
meta-python/recipes-devtools/python/python-cassandra-driver.inc new file +9 -0
+
+DISTUTILS_BUILD_ARGS += " \
+    --no-libev \
+"
+DISTUTILS_INSTALL_ARGS += " \
+    --no-libev \
+"
+
+inherit pypi
(quoted diff) +0 -0

cassandra-driver_3.6.0.bb b/meta-python/recipes-devtools/python/python3- cassandra-driver_3.6.0.bb

Quoted 4 lines
Quoted 4 lines

meta-python/recipes-devtools/python/python3-

Quoted 4 lines

new file mode 100644
index 0000000..65fd2c0

meta-python/recipes-devtools/python/python3- new file +0 -0

cassandra-driver_3.6.0.bb

Quoted 19 lines
Quoted 19 lines
Quoted 18 lines
meta-python/recipes-devtools/python/python3- new file +16 -0
@@ -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 \
+"
#5 lore raw
Quoted 6 lines · Tim Orling

Please resend without [krogoth] but with [meta-python] as indicated in the layer readme.

In this case, "upstream" is not what you mean. You mean "master".

Cheers.

Ok, will comply. Thank you for your help; you can expect a patch later today.

Ruben