void-packages/srcpkgs/python3-regex/template
2021-10-29 00:02:06 -03:00

25 lines
679 B
Bash

# Template file for 'python3-regex'
pkgname=python3-regex
version=2021.10.23
revision=1
wrksrc="regex-${version}"
build_style=python3-module
hostmakedepends="python3-devel python3-setuptools"
makedepends="python3-devel"
short_desc="Alternative regular expression module (Python3)"
maintainer="skmpz <dem.procopiou@gmail.com>"
license="CNRI-Python, Apache-2.0"
homepage="https://pypi.org/project/regex/"
distfiles="${PYPI_SITE}/r/regex/regex-${version}.tar.gz"
checksum=f3f9a91d3cc5e5b0ddf1043c0ae5fa4852f18a1c0050318baf5fc7930ecc1f9c
do_check() {
(cd build/lib* && python3 -m unittest regex/test_regex.py)
}
post_install() {
local i
for i in docs/*.* ; do
vdoc $i
done
}