Skip to content

Commit acf6818

Browse files
ecormtpetazzoni
authored andcommitted
package/python-zlmdb: new package
Required by python-crossbar. Signed-off-by: Emile Cormier <[email protected]> Signed-off-by: Thomas Petazzoni <[email protected]>
1 parent 1b638e4 commit acf6818

File tree

5 files changed

+43
-0
lines changed

5 files changed

+43
-0
lines changed

DEVELOPERS

+1
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,7 @@ F: package/gstreamer1/gst1-plugins-bayer2rgb-neon/
779779

780780
N: Emile Cormier <[email protected]>
781781
F: package/python-appdirs/
782+
F: package/python-zlmdb/
782783

783784
N: Eric Le Bihan <[email protected]>
784785
F: docs/manual/adding-packages-meson.txt

package/Config.in

+1
Original file line numberDiff line numberDiff line change
@@ -1327,6 +1327,7 @@ menu "External python modules"
13271327
source "package/python-yatl/Config.in"
13281328
source "package/python-zc-lockfile/Config.in"
13291329
source "package/python-zeroconf/Config.in"
1330+
source "package/python-zlmdb/Config.in"
13301331
source "package/python-zope-interface/Config.in"
13311332
source "package/python-zopfli/Config.in"
13321333
endmenu

package/python-zlmdb/Config.in

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
config BR2_PACKAGE_PYTHON_ZLMDB
2+
bool "python-zlmdb"
3+
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS # python-numpy
4+
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy
5+
select BR2_PACKAGE_PYTHON_CBOR2 # runtime
6+
select BR2_PACKAGE_PYTHON_CFFI # runtime
7+
select BR2_PACKAGE_PYTHON_CLICK # runtime
8+
select BR2_PACKAGE_PYTHON_FLATBUFFERS # runtime
9+
select BR2_PACKAGE_PYTHON_LMDB # runtime
10+
select BR2_PACKAGE_PYTHON_NUMPY # runtime
11+
select BR2_PACKAGE_PYTHON_PYNACL # runtime
12+
select BR2_PACKAGE_PYTHON_PYYAML # runtime
13+
select BR2_PACKAGE_PYTHON_TXAIO # runtime
14+
help
15+
Object-relational zero-copy in-memory database layer for
16+
LMDB.
17+
18+
https://github.com/crossbario/zlmdb
19+
20+
comment "python-zlmdb needs glibc or musl"
21+
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
22+
depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)
+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# md5, sha256 from https://pypi.org/pypi/zlmdb/json
2+
md5 d730a394b74108933a65c9fbe76aba36 zlmdb-22.3.1.tar.gz
3+
sha256 0d416a47b1ee627186af8e5c99e5246f6b277df44ba5c6bb67e947eabf948e5a zlmdb-22.3.1.tar.gz
4+
# Locally computed sha256 checksums
5+
sha256 8a139bf325dcca11e0e476ce537bf791a6cfbeed8899a9b6ddc55238e180d230 LICENSE

package/python-zlmdb/python-zlmdb.mk

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
################################################################################
2+
#
3+
# python-zlmdb
4+
#
5+
################################################################################
6+
7+
PYTHON_ZLMDB_VERSION = 22.3.1
8+
PYTHON_ZLMDB_SOURCE = zlmdb-$(PYTHON_ZLMDB_VERSION).tar.gz
9+
PYTHON_ZLMDB_SITE = https://files.pythonhosted.org/packages/71/87/bb3cebd5312e670e33551317c7fc5e4b6a4a9af39075a71cd541b32cc0bf
10+
PYTHON_ZLMDB_SETUP_TYPE = setuptools
11+
PYTHON_ZLMDB_LICENSE = MIT
12+
PYTHON_ZLMDB_LICENSE_FILES = LICENSE
13+
14+
$(eval $(python-package))

0 commit comments

Comments
 (0)