@@ 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"