aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-lxml/APKBUILD
blob: ff5e9bcccc6f59572d5ef76ab873521661b070a3 (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.4.0
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="bc90cc4e4ee04e1f8290ae0f70e34eea  lxml-3.4.0.tar.gz"
sha256sums="714a68bf567fdec2bb7959560dc8376c0bfc688cfceb135f43b9bd87af7a956a  lxml-3.4.0.tar.gz"
sha512sums="742faf0d266c6bb91f6af28c8d771c4c9a9ef7ab4267226989c2bfd26cf705de75d7c37f96e2580eddd3f3cdf4776f8026d176f4e456bdfa756792daf1d1fea5  lxml-3.4.0.tar.gz"