New package: python-olefile-0.44
This commit is contained in:
parent
346d4938d0
commit
3fbc83d436
2 changed files with 33 additions and 0 deletions
32
srcpkgs/python-olefile/template
Normal file
32
srcpkgs/python-olefile/template
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# Template file for 'python-olefile'
|
||||||
|
pkgname=python-olefile
|
||||||
|
version=0.44
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
wrksrc="olefile-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
pycompile_module="olefile OleFileIO_PL.py"
|
||||||
|
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="2-clause-BSD"
|
||||||
|
distfiles="${PYPI_SITE}/o/olefile/olefile-${version}.zip"
|
||||||
|
checksum=61f2ca0cd0aa77279eb943c07f607438edf374096b66332fae1ee64a6f0f73ad
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense olefile/LICENSE.txt LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
python3-olefile_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3"
|
||||||
|
pycompile_module="olefile OleFileIO_PL.py"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
vlicense olefile/LICENSE.txt LICENSE
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3-olefile
Symbolic link
1
srcpkgs/python3-olefile
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-olefile
|
Loading…
Add table
Reference in a new issue