python-arrow: new package

Signed-off-by: David Bachelart <david.bachelart@bbright.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
David Bachelart 2017-01-03 09:35:28 +01:00 committed by Peter Korsgaard
parent 03a3a201a3
commit 011db6e6bd
4 changed files with 25 additions and 0 deletions

View File

@ -644,6 +644,7 @@ if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
menu "External python modules"
source "package/python-alsaaudio/Config.in"
source "package/python-argh/Config.in"
source "package/python-arrow/Config.in"
source "package/python-autobahn/Config.in"
source "package/python-backports-abc/Config.in"
source "package/python-beautifulsoup4/Config.in"

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_ARROW
bool "python-arrow"
select BR2_PACKAGE_PYTHON_DATEUTIL # runtime
help
Better dates and times for Python.
https://github.com/crsmithdev/arrow/

View File

@ -0,0 +1,3 @@
# md5 from https://pypi.python.org/pypi/arrow/json, sha256 locally computed
md5 5d00592200050ad58284d45a4ee147c6 arrow-0.10.0.tar.gz
sha256 805906f09445afc1f0fc80187db8fe07670e3b25cdafa09b8d8ac264a8c0c722 arrow-0.10.0.tar.gz

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-arrow
#
################################################################################
PYTHON_ARROW_VERSION = 0.10.0
PYTHON_ARROW_SOURCE = arrow-$(PYTHON_ARROW_VERSION).tar.gz
PYTHON_ARROW_SITE = https://pypi.python.org/packages/54/db/76459c4dd3561bbe682619a5c576ff30c42e37c2e01900ed30a501957150
PYTHON_ARROW_SETUP_TYPE = setuptools
PYTHON_ARROW_LICENSE = Apache-2.0
PYTHON_ARROW_LICENSE_FILES = LICENSE docs/_themes/COPYING.txt
$(eval $(python-package))