aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-lxml/APKBUILD
blob: 75c758831258218aae57bc543c3e6898e6db716d (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.6.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="5957cc384bd6e83934be35c057ec03b6  lxml-3.6.0.tar.gz"
sha256sums="9c74ca28a7f0c30dca8872281b3c47705e21217c8bc63912d95c9e2a7cac6bdf  lxml-3.6.0.tar.gz"
sha512sums="2dd25a4f51e3e71b78e82e32f3838137d8b21936c23c16f901f4180277c4d4b7f14e1f47d306022cc1d13dc2e0b7f405319632e554aa989f551f424cc423d60d  lxml-3.6.0.tar.gz"