diff --git a/srcpkgs/python-olefile/template b/srcpkgs/python-olefile/template index e7942b11847..34399605af0 100644 --- a/srcpkgs/python-olefile/template +++ b/srcpkgs/python-olefile/template @@ -1,11 +1,11 @@ # Template file for 'python-olefile' pkgname=python-olefile -version=0.44 -revision=2 +version=0.45.1 +revision=1 noarch=yes wrksrc="olefile-${version}" build_style=python-module -pycompile_module="olefile OleFileIO_PL.py" +pycompile_module="olefile" hostmakedepends="unzip python-setuptools python3-setuptools" depends="python" short_desc="Python2 package to parse, read and write Microsoft OLE2 files" @@ -13,20 +13,20 @@ maintainer="Alessio Sergi " homepage="https://olefile.readthedocs.io/" license="2-clause-BSD" distfiles="${PYPI_SITE}/o/olefile/olefile-${version}.zip" -checksum=61f2ca0cd0aa77279eb943c07f607438edf374096b66332fae1ee64a6f0f73ad +checksum=2b6575f5290de8ab1086f8c5490591f7e0885af682c7c1793bdaf6e64078d385 post_install() { - vlicense olefile/LICENSE.txt LICENSE + vlicense LICENSE.txt LICENSE } python3-olefile_package() { noarch=yes depends="python3" - pycompile_module="olefile OleFileIO_PL.py" + pycompile_module="olefile" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* - vlicense olefile/LICENSE.txt LICENSE + vlicense LICENSE.txt LICENSE } }