summaryrefslogtreecommitdiffstats
path: root/testing/py-lxml/APKBUILD
blob: 886f5149634ceb12c107ff02dfd161b4493e924f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=py-lxml
_pkgname=lxml
pkgver=2.2.8
pkgrel=0
pkgdesc="Python LXML Library"
url="http://codespeak.net/lxml"
arch="all"
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="d6c612d63a84d79440912a1b29d3b981  lxml-2.2.8.tgz"