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

build() {
	python3 setup.py build
}

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

sha512sums="5332d2b691b3d0def42b907a013fa814054dcd150ab6d7adf34891b70667b3e907f80c956a58671d7a31c63caa6110b2e007d2ed82b5fc706e6ad7b428742883  lxml-4.5.1.tar.gz"