~dricottone/huttese-apk

9720c1aadea52961340d9eea4f2d2c19125a3e65 — Drew DeVault 2 years ago 7d0d8ef
Revert "py3-weasyprint: upgrade to 53.4"

This reverts commit 7d0d8ef40252e13c95f66c87da788863ddf2f47c.
1 files changed, 11 insertions(+), 6 deletions(-)

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


@@ 17,6 17,13 @@ _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
}


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

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