void-packages/srcpkgs/python-regex/template

24 lines
756 B
Bash
Raw Normal View History

2017-06-18 09:01:51 +02:00
# Template file for 'python-regex'
pkgname=python-regex
2017-06-24 20:33:30 +02:00
version=2017.06.23
revision=2
wrksrc="regex-${version}"
2017-06-18 09:01:51 +02:00
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)"
2017-06-18 09:01:51 +02:00
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="PSF"
homepage="https://pypi.python.org/pypi/regex/"
distfiles="${PYPI_SITE}/r/regex/regex-$version.tar.gz"
2017-06-24 20:33:30 +02:00
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*
}
}