[arch-commits] Commit in python2-sip/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Tue Jan 18 17:56:20 EST 2011


    Date: Tuesday, January 18, 2011 @ 17:56:19
  Author: andrea
Revision: 106744

remove conflicts with python2-sip and add depends to sip

Modified:
  python2-sip/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-18 22:51:08 UTC (rev 106743)
+++ PKGBUILD	2011-01-18 22:56:19 UTC (rev 106744)
@@ -5,15 +5,12 @@
 
 pkgname=python2-sip
 pkgver=4.12
-pkgrel=1
-pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries"
+pkgrel=2
+pkgdesc="A tool that makes it easy to create Python 2 bindings for C and C++ libraries"
 arch=('i686' 'x86_64')
 url="http://www.riverbankcomputing.com/software/sip/"
 license=('custom:"sip"')
-depends=('python2' 'gcc-libs')
-provides=("sip=${pkgver}")
-replaces=('sip')
-conflicts=('sip')
+depends=('sip' 'python2')
 source=("http://www.riverbankcomputing.com/static/Downloads/sip4/sip-${pkgver}.tar.gz")
 md5sums=('8a0998fbaf34bdab2c15af3d4fa3bc0e')
 
@@ -28,5 +25,6 @@
   cd ${srcdir}/sip-${pkgver}
   make DESTDIR=${pkgdir} install
 
-  install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  # Provided by sip package
+  rm ${pkgdir}/usr/bin/sip
 }



More information about the arch-commits mailing list