~dricottone/huttese-apk

ref: 453b097618b088b6b65e2cb0dcb2ce373bb73f03 huttese-apk/sr.ht/py3-weasyprint/APKBUILD -rw-r--r-- 919 bytes
453b0976 — Drew DeVault py3-amqp: upgrade to 5.0.7 3 years ago
                                                                                
f80dffa9 Drew DeVault
468c6027 Drew DeVault
f80dffa9 Drew DeVault
468c6027 Drew DeVault
f80dffa9 Drew DeVault
7c72f1c3 Drew DeVault
f80dffa9 Drew DeVault
468c6027 Drew DeVault
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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-weasyprint
_pyname=weasyprint
pkgver=53.4
pkgrel=1
pkgdesc="cairo-based HTML renderer for python"
url="https://weasyprint.org"
arch="noarch"
license="BSD-3-Clause"
depends="
	pango cairo py3-cairocffi py3-cairosvg py3-cssselect2 py3-tinycss2
	py3-pyphen py3-lxml py3-pdfrw py3-fonttools py3-pydyf
"
makedepends="py3-setuptools"
checkdepends="py3-pytest-runner ghostscript"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

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

sha512sums="
7fcdedbecfa13434217b08491db62b9afd3e716d4ac6378490a04120c407ab1b20883227c32a77c9bd8c8dd7324fb505920264db3c9105d712fa4d7dcf3a1578  weasyprint-53.4.tar.gz
"