package/python-pyicu: new package

Needed for the upcoming python-slob package.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Bernd Kuhls 2016-10-09 14:46:23 +02:00 committed by Thomas Petazzoni
parent 0b26a01906
commit 49b7a57d35
4 changed files with 32 additions and 0 deletions

View file

@ -738,6 +738,7 @@ menu "External python modules"
source "package/python-pyftpdlib/Config.in"
source "package/python-pygame/Config.in"
source "package/python-pygments/Config.in"
source "package/python-pyicu/Config.in"
source "package/python-pyinotify/Config.in"
source "package/python-pylru/Config.in"
source "package/python-pymysql/Config.in"

View file

@ -0,0 +1,13 @@
config BR2_PACKAGE_PYTHON_PYICU
bool "python-pyicu"
depends on !BR2_BINFMT_FLAT # icu
depends on BR2_INSTALL_LIBSTDCPP # icu
select BR2_PACKAGE_ICU
help
Python extension wrapping the ICU C++ API.
http://pyicu.osafoundation.org/
comment "python-pyicu needs a toolchain w/ C++"
depends on !BR2_BINFMT_FLAT
depends on !BR2_INSTALL_LIBSTDCPP

View file

@ -0,0 +1,3 @@
# md5 from https://pypi.python.org/pypi/PyICU/json, sha256 locally computed
md5 fadaf9f85830632f915cb85875ae9a39 PyICU-1.9.3.tar.gz
sha256 1a7a96212cb3e42e8df85b9062f1f1d6e207474d44f087218fad1d4ec210fa42 PyICU-1.9.3.tar.gz

View file

@ -0,0 +1,15 @@
################################################################################
#
# python-pyicu
#
################################################################################
PYTHON_PYICU_VERSION = 1.9.3
PYTHON_PYICU_SOURCE = PyICU-$(PYTHON_PYICU_VERSION).tar.gz
PYTHON_PYICU_SITE = https://pypi.python.org/packages/bf/1f/cea237f542e3bb592980008a734850e8cbbc25c19c72c98767c71c1bd9c2
PYTHON_PYICU_LICENSE = MIT
PYTHON_PYICU_LICENSE_FILES = LICENSE
PYTHON_PYICU_DEPENDENCIES = icu
PYTHON_PYICU_SETUP_TYPE = setuptools
$(eval $(python-package))