python-regex: let xbps detect pycompile module
This commit is contained in:
parent
8575c0d0a9
commit
e1c91ffe13
@ -1,10 +1,9 @@
|
||||
# Template file for 'python-regex'
|
||||
pkgname=python-regex
|
||||
version=2019.12.9
|
||||
revision=2
|
||||
revision=3
|
||||
wrksrc="regex-${version}"
|
||||
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)"
|
||||
@ -23,7 +22,6 @@ post_install() {
|
||||
|
||||
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*
|
||||
|
Loading…
x
Reference in New Issue
Block a user