python-lmdb: new package

Signed-off-by: Mauro Condarelli <mc5686@mclink.it>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas:
 - switch to Github, which has a LICENSE file. The issue was reported
   upstream: https://github.com/dw/py-lmdb/issues/108. Then added the
   <pkg>_LICENSE_FILES variable.
 - bump version to 0.89 (instead of 0.88)
 - indicate the proper license, following the SPDX code for the
   OpenLDAP 2.8 license.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Mauro Condarelli 2016-02-06 23:59:49 +01:00 committed by Thomas Petazzoni
parent f699fab4ee
commit 0a19359bf8
4 changed files with 24 additions and 0 deletions

View file

@ -659,6 +659,7 @@ menu "External python modules"
source "package/python-json-schema-validator/Config.in"
source "package/python-keyring/Config.in"
source "package/python-libconfig/Config.in"
source "package/python-lmdb/Config.in"
source "package/python-lxml/Config.in"
source "package/python-mad/Config.in"
source "package/python-mako/Config.in"

View file

@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_LMDB
bool "python-lmdb"
select BR2_PACKAGE_PYTHON_CFFI # runtime
help
Universal Python binding for the LMDB 'Lightning' Database.
https://pypi.python.org/pypi/lmdb

View file

@ -0,0 +1,2 @@
# Locally calculated
sha256 abd2b2ae9ecf2fd1e1bc55ef4e8463b5910722fcd70a1bbf34a3e669a74a41a4 python-lmdb-py-lmdb_0.89.tar.gz

View file

@ -0,0 +1,14 @@
################################################################################
#
# python-lmdb
#
################################################################################
PYTHON_LMDB_VERSION = py-lmdb_0.89
PYTHON_LMDB_SITE = $(call github,dw,py-lmdb,$(PYTHON_LMDB_VERSION))
PYTHON_LMDB_LICENSE = OLDAP-2.8
PYTHON_LMDB_LICENSE_FILES = LICENSE
PYTHON_LMDB_SETUP_TYPE = setuptools
PYTHON_LMDB_DEPENDENCIES = host-python-cffi
$(eval $(python-package))