package/python-zlmdb: new package

Required by python-crossbar.

Signed-off-by: Emile Cormier <emile.cormier.jr@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Emile Cormier 2022-04-03 19:19:50 -03:00 committed by Thomas Petazzoni
parent 1b638e4817
commit acf68180de
5 changed files with 43 additions and 0 deletions

View File

@ -779,6 +779,7 @@ F: package/gstreamer1/gst1-plugins-bayer2rgb-neon/
N: Emile Cormier <emile.cormier.jr@gmail.com>
F: package/python-appdirs/
F: package/python-zlmdb/
N: Eric Le Bihan <eric.le.bihan.dev@free.fr>
F: docs/manual/adding-packages-meson.txt

View File

@ -1327,6 +1327,7 @@ menu "External python modules"
source "package/python-yatl/Config.in"
source "package/python-zc-lockfile/Config.in"
source "package/python-zeroconf/Config.in"
source "package/python-zlmdb/Config.in"
source "package/python-zope-interface/Config.in"
source "package/python-zopfli/Config.in"
endmenu

View File

@ -0,0 +1,22 @@
config BR2_PACKAGE_PYTHON_ZLMDB
bool "python-zlmdb"
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS # python-numpy
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy
select BR2_PACKAGE_PYTHON_CBOR2 # runtime
select BR2_PACKAGE_PYTHON_CFFI # runtime
select BR2_PACKAGE_PYTHON_CLICK # runtime
select BR2_PACKAGE_PYTHON_FLATBUFFERS # runtime
select BR2_PACKAGE_PYTHON_LMDB # runtime
select BR2_PACKAGE_PYTHON_NUMPY # runtime
select BR2_PACKAGE_PYTHON_PYNACL # runtime
select BR2_PACKAGE_PYTHON_PYYAML # runtime
select BR2_PACKAGE_PYTHON_TXAIO # runtime
help
Object-relational zero-copy in-memory database layer for
LMDB.
https://github.com/crossbario/zlmdb
comment "python-zlmdb needs glibc or musl"
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/zlmdb/json
md5 d730a394b74108933a65c9fbe76aba36 zlmdb-22.3.1.tar.gz
sha256 0d416a47b1ee627186af8e5c99e5246f6b277df44ba5c6bb67e947eabf948e5a zlmdb-22.3.1.tar.gz
# Locally computed sha256 checksums
sha256 8a139bf325dcca11e0e476ce537bf791a6cfbeed8899a9b6ddc55238e180d230 LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-zlmdb
#
################################################################################
PYTHON_ZLMDB_VERSION = 22.3.1
PYTHON_ZLMDB_SOURCE = zlmdb-$(PYTHON_ZLMDB_VERSION).tar.gz
PYTHON_ZLMDB_SITE = https://files.pythonhosted.org/packages/71/87/bb3cebd5312e670e33551317c7fc5e4b6a4a9af39075a71cd541b32cc0bf
PYTHON_ZLMDB_SETUP_TYPE = setuptools
PYTHON_ZLMDB_LICENSE = MIT
PYTHON_ZLMDB_LICENSE_FILES = LICENSE
$(eval $(python-package))