~dricottone/huttese-apk

7d0d8ef40252e13c95f66c87da788863ddf2f47c — Drew DeVault 3 years ago a3ee675
py3-weasyprint: upgrade to 53.4
1 files changed, 6 insertions(+), 11 deletions(-)

M sr.ht/py3-weasyprint/APKBUILD
M sr.ht/py3-weasyprint/APKBUILD => sr.ht/py3-weasyprint/APKBUILD +6 -11
@@ 1,8 1,8 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-weasyprint
_pyname=WeasyPrint
pkgver=52.5
pkgrel=2
_pyname=weasyprint
pkgver=53.4
pkgrel=0
pkgdesc="cairo-based HTML renderer for python"
url="https://weasyprint.org"
arch="noarch"


@@ 17,13 17,6 @@ _pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver

replaces="py-weasyprint" # Backwards compat
provides="py-weasyprint=$pkgver-r$pkgrel" # Backwards compat

prepare() {
	sed -i setup.cfg -e 's/options.entry_points/entry_points/g'
}

build() {
	python3 setup.py build
}


@@ 36,4 29,6 @@ package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="0ce86db000adef95fabfb335c069ad2a602ed98056219cedde905c550b04b10b0881d72fbdd38a48fae4e263825f5fbd8a70ce13932083afb8930eacc5817fb5  WeasyPrint-52.5.tar.gz"
sha512sums="
7fcdedbecfa13434217b08491db62b9afd3e716d4ac6378490a04120c407ab1b20883227c32a77c9bd8c8dd7324fb505920264db3c9105d712fa4d7dcf3a1578  weasyprint-53.4.tar.gz
"