summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2021-08-02 13:28:01 +0300
committerCaleb Maclennan2021-08-02 13:28:01 +0300
commit01188d8e4fc7d32f9722beee7b148a542ad31d6e (patch)
treea25bf9e7ade76ceebc6845b8dce3b3a820b57cb1
parent7abbf95bab20d7d29188837dfd2439fcff3e5781 (diff)
downloadaur-01188d8e4fc7d32f9722beee7b148a542ad31d6e.tar.gz
upgpkg: python-weasyprint 53.0-1
upstream release
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD46
2 files changed, 33 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e13e65c7396..586febcf486 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-weasyprint
pkgdesc = Convert web documents (HTML, CSS, SVG, ...) to PDF
- pkgver = 52.5
- pkgrel = 4
+ pkgver = 53.0
+ pkgrel = 1
url = http://weasyprint.org
arch = any
license = BSD
@@ -17,7 +17,7 @@ pkgbase = python-weasyprint
depends = python-pillow
depends = python-pyphen
depends = python-tinycss2
- source = https://files.pythonhosted.org/packages/source/W/WeasyPrint/WeasyPrint-52.5.tar.gz
- sha256sums = b37ea02d75ca04babd7becad7341426be332ae560d8f02d664bfa1e9afb18481
+ source = https://files.pythonhosted.org/packages/source/w/weasyprint/weasyprint-53.0.tar.gz
+ sha256sums = 21ea1626e15ae4070f3eb4ffc90e5fd65bf17650f912affa911f829fb7c0e112
pkgname = python-weasyprint
diff --git a/PKGBUILD b/PKGBUILD
index fb77e48a20e..df88204b5ee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,26 +1,38 @@
-# Maintainer: Florijan Hamzic <florijanh at gmail dot com>
# Maintainer: Caleb Maclennan <caleb@alerque.com>
+# Contributor: Florijan Hamzic <florijanh at gmail dot com>
-_pypi_name=WeasyPrint
-pkgname=python-${_pypi_name,,}
-pkgver=52.5
-pkgrel=4
+_pypi_name=weasyprint
+pkgname=python-$_pypi_name
+pkgver=53.0
+pkgrel=1
pkgdesc='Convert web documents (HTML, CSS, SVG, ...) to PDF'
-license=('BSD')
-arch=('any')
-url='http://weasyprint.org'
-_py_deps=(cairo cairocffi cairosvg cffi cssselect2 html5lib pillow pyphen tinycss2)
-depends=(python "${_py_deps[@]/#/python-}")
-makedepends=(python-pytest-runner python-setuptools)
-source=("https://files.pythonhosted.org/packages/source/${_pypi_name::1}/$_pypi_name/$_pypi_name-$pkgver.tar.gz")
-sha256sums=('b37ea02d75ca04babd7becad7341426be332ae560d8f02d664bfa1e9afb18481')
+arch=(any)
+url=http://weasyprint.org
+license=(BSD)
+_py_deps=(cairo
+ cairocffi
+ cairosvg
+ cffi
+ cssselect2
+ html5lib
+ pillow
+ pyphen
+ tinycss2)
+depends=(python
+ "${_py_deps[@]/#/python-}")
+makedepends=(python-pytest-runner
+ python-setuptools)
+_archive="$_pypi_name-$pkgver"
+source=("https://files.pythonhosted.org/packages/source/${_pypi_name::1}/$_pypi_name/$_archive.tar.gz")
+sha256sums=('21ea1626e15ae4070f3eb4ffc90e5fd65bf17650f912affa911f829fb7c0e112')
build() {
- cd "$_pypi_name-$pkgver"
- python setup.py build
+ cd "$_archive"
+ export PYTHONHASHSEED=0
+ python setup.py build
}
package() {
- cd "$_pypi_name-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ cd "$_archive"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}