mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-26 07:46:39 +00:00
Drop the ez_setup patch (upstream builds with setuptools.build_meta now), build with native Cython and tomli, and build the libev extension against the sysroot libev instead of host paths. The driver now depends on Deprecated; add it to RDEPENDS. Changes: - 3.30.0: add pyproject.toml declaring build dependencies; drop Python 3.9, add 3.14; eventlet, gevent and Twisted event loops deprecated. - 3.30.0: fixes for missing C extension .so files and win32 libev in wheels, and execute_concurrent timeout handling; remove ez_setup for setuptools 82 compatibility. - 3.30.1: wheels no longer ship Cython-generated .c files, mark md5 usage as non-security for FIPS, fix crash at interpreter exit. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
37 lines
1.1 KiB
BlitzBasic
37 lines
1.1 KiB
BlitzBasic
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[sha256sum] = "0c6a3e1428f7c6a9aa6c944b9c47a37cd2cdbeb5b5a82d42c33afdd56f14e398"
|
|
|
|
inherit pypi python_setuptools_build_meta
|
|
|
|
# Look for libev in the sysroot rather than in host directories
|
|
do_configure:prepend() {
|
|
sed -i -e 's|^libev-includes = .*|libev-includes = ["${STAGING_INCDIR}"]|' \
|
|
-e 's|^libev-libs = .*|libev-libs = ["${STAGING_LIBDIR}"]|' ${S}/pyproject.toml
|
|
}
|
|
|
|
RDEPENDS:${PN} += "\
|
|
python3-cython \
|
|
python3-deprecated \
|
|
python3-geomet \
|
|
python3-json \
|
|
python3-misc \
|
|
python3-multiprocessing \
|
|
python3-numbers \
|
|
libevent \
|
|
"
|
|
|
|
DEPENDS += "\
|
|
python3-cython-native \
|
|
python3-tomli-native \
|
|
libev \
|
|
"
|