2017-10-18 21:32:45 +02:00
|
|
|
# Template file for 'python-PyICU'
|
|
|
|
pkgname=python-PyICU
|
2018-01-03 20:00:24 +01:00
|
|
|
version=1.9.8
|
2017-10-18 21:32:45 +02:00
|
|
|
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 <chocimier@tlen.pl>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/ovalhub/pyicu"
|
|
|
|
distfiles="${PYPI_SITE}/P/PyICU/PyICU-${version}.tar.gz"
|
2018-01-03 20:00:24 +01:00
|
|
|
checksum=cd76e3fe73e96e0b9806bc036ad388b2bbba572762c699bc911ccedbc425df16
|
2017-10-18 21:32:45 +02:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|
|
|
|
|
|
|
|
python3-PyICU_package() {
|
|
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3*
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|
|
|
|
}
|