aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-lxml/APKBUILD
blob: 72c2d6e556a486f188632a55c0eb8bca2b0bbcd1 (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
30
31
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-lxml
_pkgname=lxml
pkgver=4.6.0
pkgrel=0
pkgdesc="Python3 LXML Library"
url="https://lxml.de/"
arch="all"
license="BSD-3-Clause AND ZPL-2.0 AND ElementTree"
makedepends="python3-dev libxml2-dev libxslt-dev py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces="py-lxml" # Backwards compatibility
provides="py-lxml=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

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

sha512sums="89ef9e0114570e015bc412428d0e3ca151d21db7cd64750a04e677318a9750db8eee83ec6f8a777f884d067a35dd50d47e47d25f2fe1788061957bdfff8076eb  lxml-4.6.0.tar.gz"