void-packages/srcpkgs/python3-PyICU/template

26 lines
776 B
Bash

# Template file for 'python3-PyICU'
pkgname=python3-PyICU
version=2.7.2
revision=1
wrksrc="pyicu-v${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel icu-devel"
depends="python3"
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://pypi.org/project/PyICU/"
changelog="https://gitlab.pyicu.org/main/pyicu/-/raw/main/CHANGES"
distfiles="https://gitlab.pyicu.org/main/pyicu/-/archive/v${version}/pyicu-v${version}.tar.bz2"
checksum=4cf32084652fefdbdef8b1f1e16cb3bd424eb72d816e0d7c22b3faa07029dd1c
pre_check() {
export PYTHONPATH=$(cd build/lib* && pwd)
}
post_install() {
vlicense LICENSE
}