aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-lxml
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2012-05-18 14:43:50 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2012-05-20 16:57:42 +0000
commit027e69004c04fc749c3f183996ded5e9c2151e0a (patch)
tree3a9227cdfb21e1aea116747fb96648cfcb0cf599 /testing/py-lxml
parent64f18f59a693700389f01c39bd5cd1df09f8b84e (diff)
downloadaports-027e69004c04fc749c3f183996ded5e9c2151e0a.tar.bz2
aports-027e69004c04fc749c3f183996ded5e9c2151e0a.tar.xz
testing/py-lxml: upgrade to 2.3.4
Diffstat (limited to 'testing/py-lxml')
-rw-r--r--testing/py-lxml/APKBUILD30
1 files changed, 23 insertions, 7 deletions
diff --git a/testing/py-lxml/APKBUILD b/testing/py-lxml/APKBUILD
index 5830a93488..ff40f9564b 100644
--- a/testing/py-lxml/APKBUILD
+++ b/testing/py-lxml/APKBUILD
@@ -2,20 +2,36 @@
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=py-lxml
_pkgname=lxml
-pkgver=2.2.8
+pkgver=2.3.4
pkgrel=1
pkgdesc="Python LXML Library"
url="http://codespeak.net/lxml"
arch="all"
-license="GPL"
-depends="libxml2 libxslt"
+license="BSD"
+depends=""
makedepends="libxml2-dev libxslt-dev py-setuptools"
install=
source="http://codespeak.net/lxml/$_pkgname-$pkgver.tgz"
+_builddir="$srcdir"/$_pkgname-$pkgver
+
+##build() {
+## cd "$_builddir"
+##
+## python setup.py install --root="$pkgdir"
+## echo "/usr/lib/python2.6/site-packages/$_pkgname-$pkgver-py2.6.egg" > "$pkgdir"/usr/lib/python2.6/site-packages/$_pkgname.pth
+##}
+
build() {
- cd "$srcdir"/$_pkgname-$pkgver
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
mkdir -p "$pkgdir"/usr/lib/python2.6/site-packages
- python setup.py install --root="$pkgdir"
- echo "/usr/lib/python2.6/site-packages/$_pkgname-$pkgver-py2.6.egg" > "$pkgdir"/usr/lib/python2.6/site-packages/$_pkgname.pth
+ echo "/usr/lib/python2.6/site-packages/$_pkgname-$pkgver-py2.6.egg" > \
+ "$pkgdir"/usr/lib/python2.6/site-packages/$_pkgname.pth
}
-md5sums="d6c612d63a84d79440912a1b29d3b981 lxml-2.2.8.tgz"
+
+md5sums="61d4ad80726b984b35c9a81aa2510b4d lxml-2.3.4.tgz"