void-packages/srcpkgs/python3-PyICU/template

26 lines
776 B
Bash

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