[arch-commits] Commit in python-olefile/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Jun 30 19:42:46 UTC 2017


    Date: Friday, June 30, 2017 @ 19:42:46
  Author: felixonmars
Revision: 241736

upgpkg: python-olefile 0.44-1

Modified:
  python-olefile/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-30 19:40:54 UTC (rev 241735)
+++ PKGBUILD	2017-06-30 19:42:46 UTC (rev 241736)
@@ -3,18 +3,17 @@
 pkgbase=python-olefile
 pkgname=('python-olefile' 'python2-olefile')
 _pyname=olefile
-pkgver=0.43
-pkgrel=2
+pkgver=0.44
+pkgrel=1
 pkgdesc='Python library to parse, read and write Microsoft OLE2 files (formerly OleFileIO_PL)'
 url='http://www.decalage.info/olefile'
 arch=('any')
 license=('BSD')
 makedepends=('python' 'python2')
-source=(https://bitbucket.org/decalage/olefileio_pl/downloads/${_pyname}-${pkgver}.zip)
-sha512sums=('7642d559ab71525fe70b06a106608a82c4b25b3f389fdf1805ee6795ac5b3d2c0957e126d60b2d791008a6431d9f9e599df13767802c37800e275292b980de8e')
+source=(https://github.com/decalage2/olefile/releases/download/v$pkgver/$_pyname-$pkgver.tar.gz)
+sha512sums=('92b6ad1bced5b2c8e5332a01e5a2e59527ec2303046d0babd665b0f02fe56966574eff56619de168c50f1ea40df2e61ce589ee61b634222146d049b129514c65')
 
 prepare() {
-  rm ${_pyname}-${pkgver}/olefile/olefile2.{py,html}
   cp -ra ${_pyname}-${pkgver}{,py2}
 }
 
@@ -25,7 +24,7 @@
   cd ${_pyname}-${pkgver}
   python setup.py install -O1 --root="${pkgdir}" --prefix=/usr
   install -Dm 644 ${_pyname}/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  install -Dm 644 README.md ${_pyname}/doc/* -t "${pkgdir}/usr/share/doc/${pkgname}/README"
+  install -Dm 644 README.md doc/* -t "${pkgdir}/usr/share/doc/${pkgname}/README"
 
 }
 
@@ -36,7 +35,7 @@
   cd ${_pyname}-${pkgver}py2
   python2 setup.py install -O1 --root="${pkgdir}" --prefix=/usr
   install -Dm 644 ${_pyname}/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  install -Dm 644 README.md ${_pyname}/doc/* -t "${pkgdir}/usr/share/doc/${pkgname}/README"
+  install -Dm 644 README.md doc/* -t "${pkgdir}/usr/share/doc/${pkgname}/README"
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list