25 lines
678 B
Bash
25 lines
678 B
Bash
# Template file for 'python3-regex'
|
|
pkgname=python3-regex
|
|
version=2021.8.28
|
|
revision=2
|
|
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=f585cbbeecb35f35609edccb95efd95a3e35824cd7752b586503f7e6087303f1
|
|
|
|
do_check() {
|
|
(cd build/lib* && python3 -m unittest regex/test_regex.py)
|
|
}
|
|
|
|
post_install() {
|
|
local i
|
|
for i in docs/*.* ; do
|
|
vdoc $i
|
|
done
|
|
}
|