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

Pierre Schmitz pierre at archlinux.org
Fri Feb 24 05:16:42 EST 2012


    Date: Friday, February 24, 2012 @ 05:16:42
  Author: pierre
Revision: 150963

upgpkg: pyxml 0.8.4-9

rebuild old package

Modified:
  pyxml/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-24 10:13:24 UTC (rev 150962)
+++ PKGBUILD	2012-02-24 10:16:42 UTC (rev 150963)
@@ -4,15 +4,15 @@
 
 pkgname=pyxml
 pkgver=0.8.4
-pkgrel=8
+pkgrel=9
 pkgdesc="Python XML parsing library"
 arch=('i686' 'x86_64')
 url="http://sourceforge.net/projects/pyxml/"
 license=('custom')
 depends=('python2')
-source=(http://downloads.sourceforge.net/sourceforge/pyxml/PyXML-${pkgver}.tar.gz
-        fix-python2.6.patch
-        foreigncharsfix.patch)
+source=("http://downloads.sourceforge.net/sourceforge/pyxml/PyXML-${pkgver}.tar.gz"
+        'fix-python2.6.patch'
+        'foreigncharsfix.patch')
 md5sums=('1f7655050cebbb664db976405fdba209'
          '4b652e0c866e3cca7e2386e8e383d5ba'
          'c9c54fdf0f7d1515a3b7aa34b01d1c46')
@@ -26,6 +26,10 @@
   patch -Np1 -i "${srcdir}/foreigncharsfix.patch"
 
   python2 setup.py build
+}
+
+package() {
+  cd "${srcdir}/PyXML-${pkgver}"
   python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
   install -D -m644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 
@@ -34,5 +38,3 @@
   sed -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
       -i ${pkgdir}/usr/lib/python2.7/site-packages/_xmlplus/dom/html/GenerateHtml.py
 }
-
-# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list