void-packages/srcpkgs/python3-PyICU/template

26 lines
776 B
Bash

# Template file for 'python3-PyICU'
pkgname=python3-PyICU
version=2.7.1
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=c36114e39ab62a7c0fba56e8c5256c1eeae05d5207c766d3dd7ed422a8d877a3
pre_check() {
export PYTHONPATH=$(cd build/lib* && pwd)
}
post_install() {
vlicense LICENSE
}