28 lines
790 B
Bash
28 lines
790 B
Bash
# Template file for 'python-PyICU'
|
|
pkgname=python-PyICU
|
|
version=2.0.6
|
|
revision=1
|
|
wrksrc="PyICU-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
makedepends="python-devel python3-devel icu-devel"
|
|
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"
|
|
changelog="https://raw.githubusercontent.com/ovalhub/pyicu/master/CHANGES"
|
|
distfiles="${PYPI_SITE}/P/PyICU/PyICU-${version}.tar.gz"
|
|
checksum=dd233737d9fd0399ac5a06382c3c387c257c17bae80aef4e15195bf63d70db67
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-PyICU_package() {
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|