New package: python-construct-2.9.45
This commit is contained in:
parent
a4288afb18
commit
bc116fa601
|
@ -0,0 +1,31 @@
|
|||
# Template file for 'python-construct'
|
||||
pkgname=python-construct
|
||||
version=2.9.45
|
||||
revision=1
|
||||
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"
|
||||
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
|
||||
license="MIT"
|
||||
homepage="https://construct.readthedocs.org/"
|
||||
distfiles="${PYPI_SITE}/c/construct/construct-${version}.tar.gz"
|
||||
checksum=2271a0efd0798679dea825ff47e22a4c550456a5db0ba8baa82f7eae0af0118c
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-construct_package() {
|
||||
noarch=yes
|
||||
depends="python3-numpy"
|
||||
pycompile_module="construct"
|
||||
short_desc="${short_desc/python2/python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
python-construct
|
Loading…
Reference in New Issue