diff options
Diffstat (limited to 'testing/py-lxml')
-rw-r--r-- | testing/py-lxml/APKBUILD | 30 |
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" |