blob: 6945a135f5fba70142f8dcce853878e8109d00e1 (
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
30
31
32
33
34
35
36
37
38
39
40
41
|
# 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.9.1
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
tests-fix-encoding-name.patch
"
builddir="$srcdir/$_pkgname-$pkgver"
# secfixes:
# 4.6.5-r0:
# - CVE-2021-43818
# 4.6.2-r0:
# - CVE-2020-27783
# 4.6.3-r0:
# - CVE-2021-28957
build() {
python3 setup.py build
}
check() {
make test3
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
d7ec55c7db2c63a716ca5f4d833706d90fc76c944885e010fcdb96786bcfe796994e438450cf4e8e6e75d702e21fb16971f28f854d7a1f76c34e4ae315414d84 lxml-4.9.1.tar.gz
ef5ba4064166443e07040db315173a4d0cb0d83eb3cd49623f210253a25433ec1c408d6d8e538f93498a211bc1695fdaa3e39f8ac75f36a3319c38bd96ba73eb tests-fix-encoding-name.patch
"
|