summaryrefslogtreecommitdiffstats
path: root/testing/py-lxml/APKBUILD
blob: 0a266d7600de0ea2d181554484882411b349a89a (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
27
28
29
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=py-lxml
_pkgname=lxml
pkgver=3.3.2
pkgrel=0
pkgdesc="Python LXML Library"
url="http://lxml.de/"
arch="all"
license="BSD"
depends=""
makedepends="libxml2-dev libxslt-dev py-setuptools"
install=""
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$_pkgname-$pkgver
build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="a3ea7bf74b718ecb46d9fd5198eec92d  lxml-3.3.2.tar.gz"
sha256sums="fd1a7fd1933a48055a6f396e087b58bf35aec11e55a10f5da22483cdc1d2195c  lxml-3.3.2.tar.gz"
sha512sums="3b153152f8dac3c01d6b88afc893628e54738404a19fea36a9de3787a0e7bf8f660fff2ba59d747c62532e641661a1713805e09411632b3f7bccf64017644a1a  lxml-3.3.2.tar.gz"