python-olefile: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 21:13:12 +07:00
parent 6293b2bf4b
commit 09f5ade701
3 changed files with 18 additions and 33 deletions

View file

@ -1,32 +0,0 @@
# Template file for 'python-olefile'
pkgname=python-olefile
version=0.46
revision=2
archs=noarch
wrksrc="olefile-${version}"
build_style=python-module
pycompile_module="olefile"
hostmakedepends="unzip python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 package to parse, read and write Microsoft OLE2 files"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://olefile.readthedocs.io/"
license="BSD-2-Clause"
distfiles="${PYPI_SITE}/o/olefile/olefile-${version}.zip"
checksum=133b031eaf8fd2c9399b78b8bc5b8fcbe4c31e85295749bb17a87cba8f3c3964
post_install() {
vlicense LICENSE.txt
}
python3-olefile_package() {
archs=noarch
depends="python3"
pycompile_module="olefile"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.txt
}
}

View file

@ -1 +0,0 @@
python-olefile

View file

@ -0,0 +1,18 @@
# Template file for 'python3-olefile'
pkgname=python3-olefile
version=0.46
revision=3
wrksrc="olefile-${version}"
build_style=python3-module
hostmakedepends="unzip python3-setuptools"
depends="python3"
short_desc="Python3 package to parse, read and write Microsoft OLE2 files"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://olefile.readthedocs.io/"
distfiles="${PYPI_SITE}/o/olefile/olefile-${version}.zip"
checksum=133b031eaf8fd2c9399b78b8bc5b8fcbe4c31e85295749bb17a87cba8f3c3964
post_install() {
vlicense LICENSE.txt
}