git » namcap.git » commit 51fa1af

rebuild for python 3.5

author Felix Yan
2015-09-19 10:18:56 UTC
committer Felix Yan
2015-09-19 10:18:56 UTC
parent 99ac6e13249044612ed393fe507b7f8f42e8d109

rebuild for python 3.5

PKGBUILD +6 -1

diff --git a/PKGBUILD b/PKGBUILD
index 26fda8f..ec582de 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgname=namcap
 pkgver=3.2.5
-pkgrel=2
+pkgrel=3
 pkgdesc="A Pacman package analyzer"
 arch=('any')
 url="http://projects.archlinux.org/namcap.git/"
@@ -14,6 +14,11 @@ makedepends=('python-setuptools')
 source=(https://sources.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz)
 sha1sums=('5fb93f267766aaf9b399387af374f624849caf25')
 
+prepare() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  sed -i 's|usr/lib/libalpm.so.8|usr/lib/libalpm.so.9|' Namcap/tests/package/test_sodepends.py
+}
+
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
   python setup.py build