summaryrefslogtreecommitdiffstats
path: root/testing/py-lxml/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-21 13:33:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-21 13:33:49 +0000
commit31058fea3fe4109c6222fc00e60f4541086e4680 (patch)
tree77c1f84f7be44d0a3cb53d641e9a698ec32ec03b /testing/py-lxml/APKBUILD
parente6193f20ad9e80b14bbd0264e492e0bafc79100b (diff)
downloadaports-31058fea3fe4109c6222fc00e60f4541086e4680.tar.bz2
aports-31058fea3fe4109c6222fc00e60f4541086e4680.tar.xz
testing/py-lxml: renamed from python-lxml
Diffstat (limited to 'testing/py-lxml/APKBUILD')
-rw-r--r--testing/py-lxml/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/py-lxml/APKBUILD b/testing/py-lxml/APKBUILD
new file mode 100644
index 000000000..58b250dfd
--- /dev/null
+++ b/testing/py-lxml/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+
+pkgname=py-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 py-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"