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