python-construct: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 23:02:48 +07:00
parent e81b11ef52
commit 9737876e74
3 changed files with 18 additions and 32 deletions

View File

@ -1,31 +0,0 @@
# Template file for 'python-construct'
pkgname=python-construct
version=2.9.45
revision=3
archs=noarch
wrksrc="construct-${version}"
build_style=python-module
pycompile_module="construct"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Powerful declarative symmetric parser/builder for binary data (Python2)"
maintainer="Enno Boland <gottox@voidlinux.org>"
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() {
archs=noarch
depends="python3"
pycompile_module="construct"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View File

@ -1 +0,0 @@
python-construct

View File

@ -0,0 +1,18 @@
# Template file for 'python3-construct'
pkgname=python3-construct
version=2.9.45
revision=4
wrksrc="construct-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Powerful declarative symmetric parser/builder for binary data (Python3)"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MIT"
homepage="https://construct.readthedocs.org/"
distfiles="${PYPI_SITE}/c/construct/construct-${version}.tar.gz"
checksum=2271a0efd0798679dea825ff47e22a4c550456a5db0ba8baa82f7eae0af0118c
post_install() {
vlicense LICENSE
}