void-packages/srcpkgs/python3-PyICU/template

25 lines
704 B
Bash

# Template file for 'python3-PyICU'
pkgname=python3-PyICU
version=2.6
revision=1
wrksrc="PyICU-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel icu-devel"
checkdepends="python3-pytest python3-six"
short_desc="Python extension wrapping the ICU C++ API (Python3)"
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=a9a5bf6833360f8f69e9375b91c1a7dd6e0c9157a42aee5bb7d6891804d96371
do_check() {
python3 setup.py test
}
post_install() {
vlicense LICENSE
}