From d5e28221267e8643b53da6be38612ee2ac8b7e93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Wed, 18 Oct 2017 21:32:45 +0200 Subject: [PATCH] New package: python-PyICU-1.9.7 Closes: #8309 [via git-merge-pr] --- srcpkgs/python-PyICU/template | 27 +++++++++++++++++++++++++++ srcpkgs/python3-PyICU | 1 + 2 files changed, 28 insertions(+) create mode 100644 srcpkgs/python-PyICU/template create mode 120000 srcpkgs/python3-PyICU diff --git a/srcpkgs/python-PyICU/template b/srcpkgs/python-PyICU/template new file mode 100644 index 00000000000..7276cc6cd35 --- /dev/null +++ b/srcpkgs/python-PyICU/template @@ -0,0 +1,27 @@ +# Template file for 'python-PyICU' +pkgname=python-PyICU +version=1.9.7 +revision=1 +wrksrc="PyICU-${version}" +build_style=python-module +hostmakedepends="python-setuptools python3-setuptools python-Cython python3-Cython" +makedepends="python-devel python3-devel icu-devel" +depends="icu" +short_desc="Python extension wrapping the ICU C++ API (Python2)" +maintainer="Piotr Wójcik " +license="MIT" +homepage="https://github.com/ovalhub/pyicu" +distfiles="${PYPI_SITE}/P/PyICU/PyICU-${version}.tar.gz" +checksum=db27cd1cc150b879c5465872bec7fdaf340eca140aa922be03891d5b9f855b61 + +post_install() { + vlicense LICENSE +} + +python3-PyICU_package() { + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE + } +} diff --git a/srcpkgs/python3-PyICU b/srcpkgs/python3-PyICU new file mode 120000 index 00000000000..747847a623f --- /dev/null +++ b/srcpkgs/python3-PyICU @@ -0,0 +1 @@ +python-PyICU \ No newline at end of file