python-tabledata: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Yegor Yefremov 2017-12-07 09:20:19 +01:00 committed by Peter Korsgaard
parent 2b17849195
commit 7ac8ffead4
4 changed files with 38 additions and 0 deletions

View File

@ -909,6 +909,7 @@ menu "External python modules"
source "package/python-sortedcontainers//Config.in"
source "package/python-spidev/Config.in"
source "package/python-systemd/Config.in"
source "package/python-tabledata/Config.in"
source "package/python-tempora/Config.in"
source "package/python-typepy/Config.in"
source "package/python-thrift/Config.in"

View File

@ -0,0 +1,12 @@
config BR2_PACKAGE_PYTHON_TABLEDATA
bool "python-tabledata"
select BR2_PACKAGE_PYTHON_DATAPROPERTY # runtime
select BR2_PACKAGE_PYTHON_LOGBOOK # runtime
select BR2_PACKAGE_PYTHON_PATHVALIDATE # runtime
select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
select BR2_PACKAGE_PYTHON_TYPEPY # runtime
help
A Python library to represent tabular data for
pytablewriter/pytablereader/SimpleSQLite.
https://github.com/thombashi/tabledata

View File

@ -0,0 +1,4 @@
# md5 from https://pypi.python.org/pypi/tabledata/json, sha256 locally computed
md5 4ff69d8855a835890944591721d0c129 tabledata-0.0.5.tar.gz
sha256 e16490e4c15f06ee258015431ec247a5b301aec4ebca3297cf6451efb9eb3cfb tabledata-0.0.5.tar.gz
sha256 cbce2ac14dd81b6a1155029034512a304505692cc63b625538916cf93bee8ca2 LICENSE

View File

@ -0,0 +1,21 @@
################################################################################
#
# python-tabledata
#
################################################################################
PYTHON_TABLEDATA_VERSION = 0.0.5
PYTHON_TABLEDATA_SOURCE = tabledata-$(PYTHON_TABLEDATA_VERSION).tar.gz
PYTHON_TABLEDATA_SITE = https://pypi.python.org/packages/9d/03/2e96d18f2bd4b76611fc6aa3881c7e15c857eea99debea9b80ec689354ba
PYTHON_TABLEDATA_SETUP_TYPE = setuptools
PYTHON_TABLEDATA_LICENSE = MIT
PYTHON_TABLEDATA_LICENSE_FILES = LICENSE
# remove setup.cfg as it tries to create a wheel file and hence
# breaks the build process
define PYTHON_TABLEDATA_REMOVE_SETUP_CFG
rm $(@D)/setup.cfg
endef
PYTHON_TABLEDATA_POST_EXTRACT_HOOKS = PYTHON_TABLEDATA_REMOVE_SETUP_CFG
$(eval $(python-package))