void-packages/srcpkgs/python-PyICU/template
2020-04-17 21:47:59 +02:00

32 lines
871 B
Bash

# Template file for 'python-PyICU'
pkgname=python-PyICU
version=2.4.3
revision=1
wrksrc="PyICU-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel icu-devel"
checkdepends="python3-pytest python3-six"
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=c0ca7741ad0e8b20781578a876dac0357b982b7762ccc2aae116f0b18ce1ab1c
do_check() {
python3 setup.py test
}
post_install() {
vlicense LICENSE
}
python3-PyICU_package() {
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}