summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Dewender2014-01-11 19:03:36 +0100
committerJohannes Dewender2014-01-11 19:03:36 +0100
commit264f930b7c1fe5a02f8c3cf71ed8a34390626084 (patch)
tree937a24d968c88d5d80373125ec0a32a930599c80
parentd91eaf59c507fd2c5bf33763906e7cc4f227810b (diff)
downloadaur-264f930b7c1fe5a02f8c3cf71ed8a34390626084.tar.gz
debhelper-python2: fix for new debhelper
The new debhelper tried to call pyversions on "clean", which was the default make target. so I just skip "make".
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 3 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e56f7ef2623..d62afb22ce7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = debhelper-python2
pkgdesc = debhelper scripts for Python 2: pyversions, python2.pm
pkgver = 2.7.5
- pkgrel = 1
+ pkgrel = 2
url = http://packages.debian.org/sid/python
arch = any
license = custom:MIT
diff --git a/PKGBUILD b/PKGBUILD
index c7889e9b40f..034250c5bc1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=debhelper-python2
_pkgname=python-defaults
pkgver=2.7.5
-pkgrel=1
+pkgrel=2
_pkgrel=5
pkgdesc="debhelper scripts for Python 2: pyversions, python2.pm"
arch=('any')
@@ -23,9 +23,8 @@ source=(http://ftp.debian.org/debian/pool/main/p/$_pkgname/${_pkgname}_$pkgver-$
md5sums=('066c3b10e9f1ede9187eea6fd1f851d5'
'ba61b80b7461b85283b6695e1bf6a768')
-build() {
+prepare() {
cd "$srcdir/$_pkgname-$pkgver"
- make
for file in {dh_python2,pyclean,pycompile,debian/pyversions.py}; do
sed -i -e '1s|/usr/bin/python$|/usr/bin/python2|' $file
done