void-packages/srcpkgs/python-PyICU/template

28 lines
758 B
Bash
Raw Normal View History

# 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 <chocimier@tlen.pl>"
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
}
}