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

Andrea Scarpino andrea at archlinux.org
Mon Aug 30 04:50:37 EDT 2010


    Date: Monday, August 30, 2010 @ 04:50:36
  Author: andrea
Revision: 89232

upgpkg: python-lxml 2.2.7-1
upstream release

Modified:
  python-lxml/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-30 08:04:45 UTC (rev 89231)
+++ PKGBUILD	2010-08-30 08:50:36 UTC (rev 89232)
@@ -1,4 +1,4 @@
-# $Id: $
+# $Id $
 # Maintainer: Andrea Scarpino <andrea at archlinux.org>
 # Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
 # Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
@@ -6,7 +6,7 @@
 # Contributor: Guillem Rieu <guillemr at gmx.net>
 
 pkgname=python-lxml
-pkgver=2.2.6
+pkgver=2.2.7
 pkgrel=1
 pkgdesc="Python binding for the libxml2 and libxslt libraries"
 arch=('i686' 'x86_64')
@@ -16,19 +16,15 @@
 optdepends=("beautiful-soup: support for parsing not well formed HTML")
 conflicts=('lxml')
 replaces=('lxml')
-source=(http://codespeak.net/lxml/lxml-$pkgver.tgz)
-md5sums=('b1f700fb22d7ee9b977ee3eceb65b20c')
+source=("http://codespeak.net/lxml/lxml-${pkgver}.tgz")
+md5sums=('c1da56b823fdc00804938d2b788dbfd0')
 
-build() {
-  /bin/true
-}
-
 package() {
   cd ${srcdir}/lxml-$pkgver
 
-  python setup.py install --root=${pkgdir} || return 1
+  python setup.py install --root=${pkgdir}
 
-  install -D -m644 LICENSES.txt ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
-  install -D -m644 doc/licenses/BSD.txt ${pkgdir}/usr/share/licenses/$pkgname/BSD.txt || return 1
-  install -D -m644 doc/licenses/elementtree.txt ${pkgdir}/usr/share/licenses/$pkgname/elementtree.txt || return 1
+  install -D -m644 LICENSES.txt ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
+  install -D -m644 doc/licenses/BSD.txt ${pkgdir}/usr/share/licenses/$pkgname/BSD.txt
+  install -D -m644 doc/licenses/elementtree.txt ${pkgdir}/usr/share/licenses/$pkgname/elementtree.txt
 }



More information about the arch-commits mailing list