python-tempora: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Yegor Yefremov 2017-06-16 09:27:55 +02:00 committed by Thomas Petazzoni
parent dc30db3cf1
commit b6ada8d5f8
4 changed files with 26 additions and 0 deletions

View File

@ -854,6 +854,7 @@ menu "External python modules"
source "package/python-socketio/Config.in"
source "package/python-sortedcontainers//Config.in"
source "package/python-spidev/Config.in"
source "package/python-tempora/Config.in"
source "package/python-thrift/Config.in"
source "package/python-tomako/Config.in"
source "package/python-toml/Config.in"

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_TEMPORA
bool "python-tempora"
select BR2_PACKAGE_PYTHON_SIX # runtime
select BR2_PACKAGE_PYTHON_PYTZ # runtime
help
Objects and routines pertaining to date and time.
https://github.com/jaraco/tempora

View File

@ -0,0 +1,3 @@
# md5 from https://pypi.python.org/pypi/tempora/json, sha256 locally computed
md5 cd0dd5c51c9645285ff505ec531cbcc8 tempora-1.7.tar.gz
sha256 a264672b7f39198eb90b531490ade4e873f6e13839253636c3bd6a5549be1984 tempora-1.7.tar.gz

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-tempora
#
################################################################################
PYTHON_TEMPORA_VERSION = 1.7
PYTHON_TEMPORA_SOURCE = tempora-$(PYTHON_TEMPORA_VERSION).tar.gz
PYTHON_TEMPORA_SITE = https://pypi.python.org/packages/db/2d/c838e9e553d774962a71b832b2c6390194904bfe49fd0d9d792ce8091e8a
PYTHON_TEMPORA_LICENSE = MIT
PYTHON_TEMPORA_SETUP_TYPE = setuptools
PYTHON_TEMPORA_DEPENDENCIES = host-python-setuptools-scm
$(eval $(python-package))