mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
python-regex: fix pycompile_module, add python3 flavor
This commit is contained in:
parent
ddd3a7ea6c
commit
5020929f0c
2 changed files with 15 additions and 6 deletions
|
@ -1,15 +1,23 @@
|
||||||
# Template file for 'python-regex'
|
# Template file for 'python-regex'
|
||||||
pkgname=python-regex
|
pkgname=python-regex
|
||||||
version=2017.06.23
|
version=2017.06.23
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc=regex-$version
|
wrksrc="regex-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
hostmakedepends="python"
|
pycompile_module="_regex_core.py regex.py test_regex.py"
|
||||||
makedepends="python-devel"
|
hostmakedepends="python-devel python3-devel"
|
||||||
short_desc="Improved python re implementation"
|
makedepends="python-devel python3-devel"
|
||||||
|
short_desc="Alternative regular expression module (Python2)"
|
||||||
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||||
license="PSF"
|
license="PSF"
|
||||||
homepage="https://pypi.python.org/pypi/regex/"
|
homepage="https://pypi.python.org/pypi/regex/"
|
||||||
distfiles="${PYPI_SITE}/r/regex/regex-$version.tar.gz"
|
distfiles="${PYPI_SITE}/r/regex/regex-$version.tar.gz"
|
||||||
pycompile_module=regex
|
|
||||||
checksum=808fde10fef1c8aa17a79a1cf9c923c9ccac443be9c6a9bb25622269f6eb647a
|
checksum=808fde10fef1c8aa17a79a1cf9c923c9ccac443be9c6a9bb25622269f6eb647a
|
||||||
|
|
||||||
|
python3-regex_package() {
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pycompile_module="_regex_core.py regex.py test_regex.py"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-regex
Symbolic link
1
srcpkgs/python3-regex
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-regex
|
Loading…
Add table
Reference in a new issue