diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2010-05-20 06:26:32 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2010-05-20 10:03:47 +0000 |
commit | e515a2777a433711db0bbe4b2e26c14e0dcc2cd6 (patch) | |
tree | 56026d01ec128659542f9b1693a0477c45339641 /testing | |
parent | 81eef98b7e8c8e97c7d5c49d7beb9ca57494bed1 (diff) | |
download | aports-e515a2777a433711db0bbe4b2e26c14e0dcc2cd6.tar.bz2 aports-e515a2777a433711db0bbe4b2e26c14e0dcc2cd6.tar.xz |
testing/python-lxml: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/python-lxml/APKBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
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 <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> + +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" |