Skip to content

Commit

Permalink
python-regex: update to 2019.08.19.
Browse files Browse the repository at this point in the history
  • Loading branch information
mobinmob authored and Hoshpak committed Oct 8, 2019
1 parent f950c72 commit 094a9c5
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
28 changes: 24 additions & 4 deletions srcpkgs/python-regex/template
@@ -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 change: 1 addition & 0 deletions srcpkgs/python3-regex

0 comments on commit 094a9c5

Please sign in to comment.