summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Dewender2016-05-08 20:47:13 +0200
committerJohannes Dewender2016-05-08 20:47:13 +0200
commit5cb15404e00515633286e62dede67d152d218c15 (patch)
tree95cbc2c5339fe380525850b816c6bf73613aff52
parent9fc67f0e977710083433c132b8f92639d9d285ec (diff)
downloadaur-5cb15404e00515633286e62dede67d152d218c15.tar.gz
remove python2-support dependency
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD9
2 files changed, 6 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fa53a2d6e6a..1c7647fd9d6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,14 @@
# Generated by mksrcinfo v8
-# Wed Mar 23 22:01:11 UTC 2016
+# Sun May 8 18:47:13 UTC 2016
pkgbase = reportbug
pkgdesc = report bugs in the Debian distribution + python modules
pkgver = 6.6.6
- pkgrel = 1
+ pkgrel = 2
url = http://packages.debian.org/sid/reportbug
arch = any
license = MIT
depends = python2-debian
depends = python2-debianbts
- depends = python2-support
depends = apt
depends = sensible-utils
provides = python2-reportbug=6.6.6
diff --git a/PKGBUILD b/PKGBUILD
index 4ff18f0ec13..cb429888d81 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,12 @@
# Contributor: Johannes Dewender arch at JonnyJD dot net
pkgname=reportbug
-_python=python2
pkgver=6.6.6
-pkgrel=1
+pkgrel=2
pkgdesc="report bugs in the Debian distribution + python modules"
arch=('any')
url="http://packages.debian.org/sid/reportbug"
license=('MIT')
-depends=('python2-debian' 'python2-debianbts' 'python2-support' 'apt'
+depends=('python2-debian' 'python2-debianbts' 'apt'
'sensible-utils')
provides=("python2-reportbug=$pkgver")
conflicts=('python2-reportbug')
@@ -18,12 +17,12 @@ sha256sums=('d9667bde27f8a275a96c200dd7492fd4318ca3924c86abcd4413d95eb2261e35')
build() {
cd "$srcdir/$pkgname-$pkgver"
- $_python setup.py build
+ python2 setup.py build
}
package() {
cd "$srcdir/$pkgname-$pkgver"
- $_python setup.py install --root="$pkgdir/" --optimize=1
+ python2 setup.py install --root="$pkgdir/" --optimize=1
mkdir -p $pkgdir/usr/share/man/man1/ $pkgdir/usr/share/man/man5/
install -m644 -t $pkgdir/usr/share/man/man1/ man/*.1
install -m644 -t $pkgdir/usr/share/man/man5/ man/*.5