aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-lxml/APKBUILD
blob: 78486a3d4f0ad5272adcab07d07f177f8bd65f10 (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 <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-lxml
_pkgname=lxml
pkgver=3.5.0
pkgrel=0
pkgdesc="Python LXML Library"
url="http://lxml.de/"
arch="all"
license="BSD"
depends=""
makedepends="python-dev 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="9f0c5f1eb43ff44d5455dab4b4efbe73  lxml-3.5.0.tar.gz"
sha256sums="349f93e3a4b09cc59418854ab8013d027d246757c51744bf20069bc89016f578  lxml-3.5.0.tar.gz"
sha512sums="9b728642bec22be39aef603050121715521603a50bc01d3851e1eb7bfc6302c991da3a3bdebfdeaa9038e19fe39d8286f60851fecf1c4e85469f0ed8fa6e9368  lxml-3.5.0.tar.gz"