From 49b7a57d351719ee0148f21b5a807836de59c934 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 9 Oct 2016 14:46:23 +0200 Subject: [PATCH] package/python-pyicu: new package Needed for the upcoming python-slob package. Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/python-pyicu/Config.in | 13 +++++++++++++ package/python-pyicu/python-pyicu.hash | 3 +++ package/python-pyicu/python-pyicu.mk | 15 +++++++++++++++ 4 files changed, 32 insertions(+) create mode 100644 package/python-pyicu/Config.in create mode 100644 package/python-pyicu/python-pyicu.hash create mode 100644 package/python-pyicu/python-pyicu.mk diff --git a/package/Config.in b/package/Config.in index 10381e4e5a..406a5ea5d6 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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" diff --git a/package/python-pyicu/Config.in b/package/python-pyicu/Config.in new file mode 100644 index 0000000000..a3578f10c1 --- /dev/null +++ b/package/python-pyicu/Config.in @@ -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 diff --git a/package/python-pyicu/python-pyicu.hash b/package/python-pyicu/python-pyicu.hash new file mode 100644 index 0000000000..a05a30ee96 --- /dev/null +++ b/package/python-pyicu/python-pyicu.hash @@ -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 diff --git a/package/python-pyicu/python-pyicu.mk b/package/python-pyicu/python-pyicu.mk new file mode 100644 index 0000000000..fa3a7f4195 --- /dev/null +++ b/package/python-pyicu/python-pyicu.mk @@ -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)) -- 2.30.2