summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/python-pefile/PKGBUILD17
1 files changed, 10 insertions, 7 deletions
diff --git a/pcr/python-pefile/PKGBUILD b/pcr/python-pefile/PKGBUILD
index ab5287679..dd829c5ec 100644
--- a/pcr/python-pefile/PKGBUILD
+++ b/pcr/python-pefile/PKGBUILD
@@ -1,17 +1,20 @@
-# Maintainer: Christian Rebischke <chris.rebischke[at]archlinux[dot]org>
-# Contributor: Sonic-Y3k <sonic.y3k@googlemail.com>
+# Maintainer (AUR): Christian Rebischke <chris.rebischke[at]archlinux[dot]org>
+# Contributor (AUR): Sonic-Y3k <sonic.y3k@googlemail.com>
+
+# parabola changes and rationale:
+# no changes.
pkgbase=python-pefile
pkgname=('python-pefile' 'python2-pefile')
-pkgver=2016.3.28
-pkgrel=4
+pkgver=2017.9.3
+pkgrel=1
pkgdesc="Python PE parsing module"
arch=('any')
url="https://github.com/erocarrera/pefile"
license=('MIT')
makedepends=('python' 'python2' 'python-future' 'python2-future')
source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/erocarrera/pefile/archive/v${pkgver}.tar.gz")
-sha512sums=('f14693753f74d427591224ca6e0360087fb1961bbbd22ad3a99182ab5153a9845c400bcd1e0a267b930edab8ac36640e2bd97484700ce9bb36a046b2ec4f122e')
+sha512sums=('b4e3737608b3e76c450be456b81ab9ea9fc18b1b87fef5d55012fda4fc2cdf2ed4ec052c6f43abb3ced7c79f46fde04160b5d52c6d40791327b10c06b551a080')
prepare() {
cd "${srcdir}"
@@ -30,7 +33,7 @@ prepare() {
package_python-pefile() {
depends=('python' 'python-future')
cd "${srcdir}/pefile-${pkgver}"
- LC_CTYPE=en_US.UTF-8 python setup.py install --root "${pkgdir}" --optimize=1
+ python setup.py install --root "${pkgdir}" --optimize=1
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm 644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
}
@@ -38,7 +41,7 @@ package_python-pefile() {
package_python2-pefile() {
depends=('python2' 'python2-future')
cd "${srcdir}/pefile2-${pkgver}"
- LC_CTYPE=en_US.UTF-8 python2 setup.py install --root "${pkgdir}" --optimize=1
+ python2 setup.py install --root "${pkgdir}" --optimize=1
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm 644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
}