python-construct: drop optional runtime dependency
This commit is contained in:
parent
ee42b9f80a
commit
c0809ae870
|
@ -1,14 +1,14 @@
|
|||
# Template file for 'python-construct'
|
||||
pkgname=python-construct
|
||||
version=2.9.45
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
wrksrc="construct-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="construct"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-enum34 python-numpy"
|
||||
short_desc="A powerful python2 declarative symmetric parser/builder for binary data"
|
||||
depends="python"
|
||||
short_desc="Powerful declarative symmetric parser/builder for binary data (Python2)"
|
||||
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
|
||||
license="MIT"
|
||||
homepage="https://construct.readthedocs.org/"
|
||||
|
@ -21,9 +21,9 @@ post_install() {
|
|||
|
||||
python3-construct_package() {
|
||||
noarch=yes
|
||||
depends="python3-numpy"
|
||||
depends="python3"
|
||||
pycompile_module="construct"
|
||||
short_desc="${short_desc/python2/python3}"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
|
|
Loading…
Reference in New Issue