34 lines
778 B
Bash
34 lines
778 B
Bash
# Template file for 'python-regex'
|
|
pkgname=python-regex
|
|
version=2019.12.9
|
|
revision=3
|
|
wrksrc="regex-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-devel python3-devel"
|
|
makedepends="python-devel python3-devel"
|
|
short_desc="Alternative regular expression module (Python2)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="Python-2.0"
|
|
homepage="https://pypi.org/project/regex/"
|
|
distfiles="${PYPI_SITE}/r/regex/regex-${version}.tar.gz"
|
|
checksum=77a3799152951d6d14ae5720ca162c97c64f85d4755da585418eac216b736cad
|
|
|
|
post_install() {
|
|
local i
|
|
for i in docs/*.* ; do
|
|
vdoc $i
|
|
done
|
|
}
|
|
|
|
python3-regex_package() {
|
|
depends="python3"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
local i
|
|
for i in docs/*.* ; do
|
|
vdoc $i
|
|
done
|
|
}
|
|
}
|