summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Dewender2015-06-24 23:45:53 +0200
committerJohannes Dewender2015-06-24 23:45:53 +0200
commitbec9af03c48db66b9c1e92f5ac4c13bf85ed7a0a (patch)
tree9a7a9ea23cbc0ae7e3f038482eb58479cec1513c
parent72d82361bbccda4790112a4f76059df63525f226 (diff)
downloadaur-bec9af03c48db66b9c1e92f5ac4c13bf85ed7a0a.tar.gz
2.7.9
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD20
2 files changed, 17 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e0681fafee9..5225295dbd9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,16 @@
pkgbase = debhelper-python2
pkgdesc = debhelper scripts for Python 2: pyversions, python2.pm
- pkgver = 2.7.5
- pkgrel = 3
+ pkgver = 2.7.9
+ pkgrel = 1
url = http://packages.debian.org/sid/python
arch = any
license = custom:MIT
depends = debhelper
depends = python2
- source = http://ftp.debian.org/debian/pool/main/p/python-defaults/python-defaults_2.7.5-5.tar.gz
+ depends = debhelper-python
+ source = http://ftp.debian.org/debian/pool/main/p/python-defaults/python-defaults_2.7.9-1.tar.gz
source = makefile_supported.patch
- md5sums = 066c3b10e9f1ede9187eea6fd1f851d5
+ md5sums = 8e24223ea104fe178162180fa62f6625
md5sums = ba61b80b7461b85283b6695e1bf6a768
pkgname = debhelper-python2
diff --git a/PKGBUILD b/PKGBUILD
index 194af1d00eb..b292a797287 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,16 @@
# Contributor: Johannes Dewender arch at JonyJD dot net
pkgname=debhelper-python2
_pkgname=python-defaults
-pkgver=2.7.5
-pkgrel=3
-_pkgrel=5
+pkgver=2.7.9
+pkgrel=1
+_pkgrel=1
pkgdesc="debhelper scripts for Python 2: pyversions, python2.pm"
arch=('any')
url="http://packages.debian.org/sid/python"
license=('custom:MIT')
groups=()
-depends=('debhelper' 'python2')
+# dh_python2 calls dh_python2 from debhelper-python (Python 3)
+depends=('debhelper' 'python2' 'debhelper-python')
makedepends=()
checkdepends=()
optdepends=()
@@ -20,11 +21,12 @@ backup=()
options=()
install=
source=(http://ftp.debian.org/debian/pool/main/p/$_pkgname/${_pkgname}_$pkgver-$_pkgrel.tar.gz makefile_supported.patch)
-md5sums=('066c3b10e9f1ede9187eea6fd1f851d5'
+md5sums=('8e24223ea104fe178162180fa62f6625'
'ba61b80b7461b85283b6695e1bf6a768')
prepare() {
- cd "$srcdir/$_pkgname-$pkgver"
+ #cd "$srcdir/$_pkgname-$pkgver"
+ cd "$srcdir/$_pkgname-debian"
for file in {dh_python2,pyclean,pycompile,debian/pyversions.py}; do
sed -i -e '1s|/usr/bin/python$|/usr/bin/python2|' $file
done
@@ -33,12 +35,14 @@ prepare() {
}
check() {
- cd "$srcdir/$_pkgname-$pkgver"
+ #cd "$srcdir/$_pkgname-$pkgver"
+ cd "$srcdir/$_pkgname-debian"
make -k check_versions
}
package() {
- cd "$srcdir/$_pkgname-$pkgver"
+ #cd "$srcdir/$_pkgname-$pkgver"
+ cd "$srcdir/$_pkgname-debian"
make DESTDIR="$pkgdir/" install
mv $pkgdir/usr/local/bin $pkgdir/usr/bin
mv $pkgdir/usr/local/share $pkgdir/usr/share