[oe] [meta-python][PATCH v2] python-cassandra-driver: add recipe for version 3.6.0

Khem Raj raj.khem at gmail.com
Fri Nov 4 18:18:51 UTC 2016



On 11/4/16 3:16 AM, Ruben De Smet wrote:
> A Python library for Apache Cassandra
> 
> Signed-off-by: Ruben De Smet <ruben.de.smet at rubdos.be>
> ---
>  .../python/python-cassandra-driver.inc             | 29 ++++++++++++++++++++++
>  .../python/python3-cassandra-driver_3.6.0.bb       |  7 ++++++
>  2 files changed, 36 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
> 
> diff --git a/meta-python/recipes-devtools/python/python-cassandra-driver.inc b/meta-python/recipes-devtools/python/python-cassandra-driver.inc
> new file mode 100644
> index 0000000..0e6113d
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-cassandra-driver.inc
> @@ -0,0 +1,29 @@
> +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
> +
> +RDEPENDS_${PN} += "\
> +    ${PYTHON_PN}-cython \
> +    ${PYTHON_PN}-multiprocessing \
> +    ${PYTHON_PN}-six \
> +    ${PYTHON_PN}-json \
> +    libevent \
> +"
> diff --git a/meta-python/recipes-devtools/python/python3-cassandra-driver_3.6.0.bb b/meta-python/recipes-devtools/python/python3-cassandra-driver_3.6.0.bb
> new file mode 100644
> index 0000000..6d7ed20
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-cassandra-driver_3.6.0.bb
> @@ -0,0 +1,7 @@
> +inherit setuptools3
> +require python-cassandra-driver.inc
> +RDEPENDS_${PN}_class-native = ""
> +
> +DEPENDS_${PN} += "\

Dont use PN here.

> +    python3-cython \
> +"
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20161104/7142677b/attachment-0002.sig>


More information about the Openembedded-devel mailing list