summaryrefslogtreecommitdiff
path: root/user/py3-lxml/APKBUILD
blob: 69e4721e72b2696dda10cdc902d897a8274d4a3d (plain) (blame)
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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=py3-lxml
_pkgname=lxml
pkgver=4.2.5
pkgrel=0
pkgdesc="Python LXML Library"
url="https://lxml.de/"
arch="all"
license="BSD-3-Clause"
options="!check"  # No test suite.
makedepends="python3-dev libxml2-dev libxslt-dev"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="4cf336d3e1471e8a26492760a143881517d12eb1c2dad82f8786540471bfabd68f8c795d97b7362166418c2be3c7996816638fdbd5a594536b9981478b90fdfe  lxml-4.2.5.tar.gz"