void-packages/srcpkgs/python3-regex/template
2022-02-06 20:16:12 -03:00

26 lines
696 B
Bash

# Template file for 'python3-regex'
pkgname=python3-regex
version=2022.1.18
revision=1
wrksrc="regex-${version}"
build_style=python3-module
hostmakedepends="python3-devel python3-setuptools"
makedepends="python3-devel"
depends="python3"
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=97f32dc03a8054a4c4a5ab5d761ed4861e828b2c200febd4e46857069a483916
do_check() {
(cd build/lib* && python3 -m unittest regex/test_regex.py)
}
post_install() {
local i
for i in docs/*.* ; do
vdoc $i
done
}