python-regex: update to 2019.08.19.
This commit is contained in:
parent
f950c72f72
commit
094a9c5048
2 changed files with 25 additions and 4 deletions
|
@ -1,15 +1,35 @@
|
|||
# Template file for 'python-regex'
|
||||
pkgname=python-regex
|
||||
version=2019.04.14
|
||||
version=2019.08.19
|
||||
revision=1
|
||||
wrksrc="regex-${version}"
|
||||
build_style=python2-module
|
||||
build_style=python-module
|
||||
pycompile_module="_regex_core.py regex.py test_regex.py"
|
||||
hostmakedepends="python-devel python3-devel"
|
||||
makedepends="python-devel python3-devel"
|
||||
short_desc="Alternative regular expression module (Python2)"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="PSF"
|
||||
license="Python-2.0"
|
||||
homepage="https://pypi.org/project/regex/"
|
||||
distfiles="${PYPI_SITE}/r/regex/regex-${version}.tar.gz"
|
||||
checksum=d56ce4c7b1a189094b9bee3b81c4aeb3f1ba3e375e91627ec8561b6ab483d0a8
|
||||
checksum=587b62d48ca359d2d4f02d486f1f0aa9a20fbaf23a9d4198c4bed72ab2f6c849
|
||||
|
||||
post_install() {
|
||||
local i
|
||||
for i in docs/*.* ; do
|
||||
vdoc $i
|
||||
done
|
||||
}
|
||||
|
||||
python3-regex_package() {
|
||||
depends="python3"
|
||||
pycompile_module="_regex_core.py regex.py test_regex.py"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
local i
|
||||
for i in docs/*.* ; do
|
||||
vdoc $i
|
||||
done
|
||||
}
|
||||
}
|
||||
|
|
1
srcpkgs/python3-regex
Symbolic link
1
srcpkgs/python3-regex
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-regex
|
Loading…
Reference in a new issue