python-humanize: 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 2016-07-06 09:18:16 +02:00 committed by Thomas Petazzoni
parent 1ba26756d8
commit fb131be88a
4 changed files with 27 additions and 0 deletions

View file

@ -665,6 +665,7 @@ menu "External python modules"
source "package/python-gobject/Config.in"
source "package/python-html5lib/Config.in"
source "package/python-httplib2/Config.in"
source "package/python-humanize/Config.in"
source "package/python-id3/Config.in"
source "package/python-idna/Config.in"
source "package/python-iniparse/Config.in"

View file

@ -0,0 +1,9 @@
config BR2_PACKAGE_PYTHON_HUMANIZE
bool "python-humanize"
help
Python humanize package contains various common humanization
utilities, like turning a number into a fuzzy human readable
duration ('3 minutes ago') or into a human readable size or
throughput.
http://github.com/jmoiron/humanize

View file

@ -0,0 +1,3 @@
# md5 from https://pypi.python.org/pypi/humanize/json, sha256 locally computed
md5 e8473d9dc1b220911cac2edd53b1d973 humanize-0.5.1.tar.gz
sha256 a43f57115831ac7c70de098e6ac46ac13be00d69abbf60bdcac251344785bb19 humanize-0.5.1.tar.gz

View file

@ -0,0 +1,14 @@
################################################################################
#
# python-humanize
#
################################################################################
PYTHON_HUMANIZE_VERSION = 0.5.1
PYTHON_HUMANIZE_SOURCE = humanize-$(PYTHON_HUMANIZE_VERSION).tar.gz
PYTHON_HUMANIZE_SITE = https://pypi.python.org/packages/8c/e0/e512e4ac6d091fc990bbe13f9e0378f34cf6eecd1c6c268c9e598dcf5bb9
PYTHON_HUMANIZE_SETUP_TYPE = setuptools
PYTHON_HUMANIZE_LICENSE = MIT
PYTHON_HUMANIZE_LICENSE_FILES = LICENCE
$(eval $(python-package))