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

Jan Steffens heftig at nymeria.archlinux.org
Mon Nov 4 14:24:50 UTC 2013


    Date: Monday, November 4, 2013 @ 15:24:49
  Author: heftig
Revision: 198785

strip bad python3 module again. let's try again, next version

Modified:
  libxml2/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-11-04 13:57:55 UTC (rev 198784)
+++ PKGBUILD	2013-11-04 14:24:49 UTC (rev 198785)
@@ -5,12 +5,12 @@
 
 pkgname=libxml2
 pkgver=2.9.1
-pkgrel=4
+pkgrel=5
 pkgdesc="XML parsing library, version 2"
 arch=(i686 x86_64)
 license=('MIT')
 depends=('zlib' 'readline' 'ncurses' 'xz')
-makedepends=('python' 'python2')
+makedepends=('python2')
 url="http://www.xmlsoft.org/"
 source=(ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz
         http://www.w3.org/XML/Test/xmlts20080827.tar.gz)
@@ -18,11 +18,9 @@
          'ae3d1ebe000a3972afa104ca7f0e1b4a')
 
 prepare() {
-  mv xmlconf -t ${pkgname}-${pkgver}
-  cp -a ${pkgname}-${pkgver} python3
-
   cd ${pkgname}-${pkgver}
   sed -e 's|/usr/bin/python -u|/usr/bin/python2 -u|g' -e 's|/usr/bin/python$|/usr/bin/python2|g' -i python/tests/*.py
+  mv ../xmlconf .
 }
 
 build() {
@@ -29,17 +27,11 @@
   cd ${pkgname}-${pkgver}
   ./configure --prefix=/usr --with-threads --with-history --with-python=/usr/bin/python2
   make
-
-  cd ../python3
-  ./configure --prefix=/usr --with-threads --with-history --with-python=/usr/bin/python3
-  make
 }
 
 check() {
   cd ${pkgname}-${pkgver}
   make check
-  cd ../python3
-  make check
 }
 
 package() {
@@ -46,6 +38,4 @@
   cd ${pkgname}-${pkgver}
   make DESTDIR="${pkgdir}" install
   install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
-  cd ../python3/python
-  make DESTDIR="${pkgdir}" install
 }




More information about the arch-commits mailing list