From e515a2777a433711db0bbe4b2e26c14e0dcc2cd6 Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Thu, 20 May 2010 06:26:32 +0000 Subject: testing/python-lxml: new aport --- testing/python-lxml/APKBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 testing/python-lxml/APKBUILD (limited to 'testing') diff --git a/testing/python-lxml/APKBUILD b/testing/python-lxml/APKBUILD new file mode 100644 index 0000000000..a1d20ea097 --- /dev/null +++ b/testing/python-lxml/APKBUILD @@ -0,0 +1,26 @@ +# Contributor: Francesco Colista +# Maintainer: Francesco Colista + +pkgname=python-lxml +_pkgname=lxml +pkgver=2.2.6 +pkgrel=0 +pkgdesc="Python LXML Library" +url="http://codespeak.net/lxml" +license="GPL" +depends="libxml2 libxslt" +makedepends="libxml2-dev libxslt-dev python26-setuptools" +install= +source="http://codespeak.net/lxml/$_pkgname-$pkgver.tgz" + +build() { + cd "$srcdir"/$_pkgname-$pkgver + + 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 +} + +md5sums="b1f700fb22d7ee9b977ee3eceb65b20c lxml-2.2.6.tgz" -- cgit v1.2.3