summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Dewender2014-01-11 21:04:36 +0100
committerJohannes Dewender2014-01-11 21:04:36 +0100
commit72d82361bbccda4790112a4f76059df63525f226 (patch)
tree14217ed1466d2eb3dfa3463fa3d4fd62039f40e9
parent264f930b7c1fe5a02f8c3cf71ed8a34390626084 (diff)
downloadaur-72d82361bbccda4790112a4f76059df63525f226.tar.gz
debhelper-python2: remove conflicting files
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d62afb22ce7..e0681fafee9 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 = 2
+ pkgrel = 3
url = http://packages.debian.org/sid/python
arch = any
license = custom:MIT
diff --git a/PKGBUILD b/PKGBUILD
index 034250c5bc1..194af1d00eb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=debhelper-python2
_pkgname=python-defaults
pkgver=2.7.5
-pkgrel=2
+pkgrel=3
_pkgrel=5
pkgdesc="debhelper scripts for Python 2: pyversions, python2.pm"
arch=('any')
@@ -42,6 +42,9 @@ package() {
make DESTDIR="$pkgdir/" install
mv $pkgdir/usr/local/bin $pkgdir/usr/bin
mv $pkgdir/usr/local/share $pkgdir/usr/share
+ # remove tools that are installed with debhelper-python (Python 3)
+ rm $pkgdir/usr/share/debhelper/autoscripts/{postinst-pycompile,prerm-pyclean}
+
mkdir -p $pkgdir/usr/share/perl5/vendor_perl
mv $pkgdir/usr/share/perl5/Debian $pkgdir/usr/share/perl5/vendor_perl/Debian
rm -r $pkgdir/usr/local