Date: Thursday, March 15, 2018 @ 17:14:22 Author: felixonmars Revision: 308632
upgpkg: python-harparser 0.4-1 Modified: python-harparser/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-03-15 17:14:21 UTC (rev 308631) +++ PKGBUILD 2018-03-15 17:14:22 UTC (rev 308632) @@ -3,8 +3,7 @@ pkgbase=python-harparser pkgname=('python-harparser' 'python2-harparser') -pkgver=0.3 -_commit=f2f8b525c6045eab95ced0767322244a337ec536 +pkgver=0.4 pkgrel=1 pkgdesc="Python HAR Parser Utility" arch=('any') @@ -11,14 +10,10 @@ license=('MIT') url="https://github.com/JustusW/harparser" makedepends=('python' 'python2') -source=("$pkgbase-$_commit.tar.gz::https://github.com/JustusW/harparser/archive/$_commit.tar.gz") -sha512sums=('604f998e760bd9bf7f2caef5833fbc933da9c2b9deb94b72b09d00589616e22b99f4d7fad4600bd285998c281e08529ef9cd3e76d837a568351bc380f7236b25') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/JustusW/harparser/archive/$pkgver.tar.gz") +sha512sums=('1aef9ae75b9446d487310a2e4ae4ee8a2aff10c022f68c316307335a5df4346defd73e0d12d0bd4d1a08eeabc90ade9f8d043ee981467bb4fe633184e9f815d9') prepare() { - mv harparser-{$_commit,$pkgver} - - sed -i 's/iteritems/items/' harparser-$pkgver/harparser.py - cp -a harparser-$pkgver{,-py2} }