summaryrefslogtreecommitdiffstats
path: root/testing/py-lxml/APKBUILD
blob: 58b250dfda6a12068b97a79e15fd0f480fbb08c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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"