summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2021-08-07 23:50:29 +0300
committerCaleb Maclennan2021-08-07 23:50:29 +0300
commit99544a92f76a81264c605499fe6edd6b42dbb596 (patch)
tree04288b3e529efd25d8758c82e9a6d0740f812416
parent23aae35cd25da575a880ac1ba3bdef19c60d2060 (diff)
downloadaur-99544a92f76a81264c605499fe6edd6b42dbb596.tar.gz
upgpkg: python-weasyprint 53.0-2
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD49
2 files changed, 28 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 49c851cd73c..c21c4ceecef 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
pkgbase = python-weasyprint
pkgdesc = Convert web documents (HTML, CSS, SVG, ...) to PDF
pkgver = 53.0
- pkgrel = 1
- url = http://weasyprint.org
+ pkgrel = 2
+ url = https://weasyprint.org
arch = any
license = BSD
checkdepends = python-coverage
@@ -25,6 +25,7 @@ pkgbase = python-weasyprint
depends = python-tinycss2
depends = python-zopfli
depends = ttf-font
+ provides = weasyprint=53.0
source = https://files.pythonhosted.org/packages/source/w/weasyprint/weasyprint-53.0.tar.gz
sha256sums = 21ea1626e15ae4070f3eb4ffc90e5fd65bf17650f912affa911f829fb7c0e112
diff --git a/PKGBUILD b/PKGBUILD
index d1b5ae95202..0ebb16b8840 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,38 +1,39 @@
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Contributor: Florijan Hamzic <florijanh at gmail dot com>
-_pypi_name=weasyprint
-pkgname=python-$_pypi_name
+_pyname=weasyprint
+pkgname=python-$_pyname
pkgver=53.0
-pkgrel=1
+pkgrel=2
pkgdesc='Convert web documents (HTML, CSS, SVG, ...) to PDF'
arch=(any)
-url=http://weasyprint.org
+url=https://weasyprint.org
license=(BSD)
-_py_deps=(brotli # for fonttools[woff]
- cffi
- cssselect2
- fonttools
- html5lib
- pillow
- pydyf
- pyphen
- tinycss2
- zopfli) # for fonttools[woff]
+_pydeps=(brotli # for fonttools[woff]
+ cffi
+ cssselect2
+ fonttools
+ html5lib
+ pillow
+ pydyf
+ pyphen
+ tinycss2
+ zopfli) # for fonttools[woff]
depends=(pango
python
- "${_py_deps[@]/#/python-}"
+ "${_pydeps[@]/#/python-}"
ttf-font)
makedepends=(python-setuptools)
-_py_check_deps=(coverage
- pytest
- pytest-cov
- pytest-flake8
- pytest-isort
- toml) # for coverage[toml
-checkdepends=("${_py_check_deps[@]/#/python-}")
-_archive="$_pypi_name-$pkgver"
-source=("https://files.pythonhosted.org/packages/source/${_pypi_name::1}/$_pypi_name/$_archive.tar.gz")
+_pycheckdeps=(coverage
+ pytest
+ pytest-cov
+ pytest-flake8
+ pytest-isort
+ toml) # for coverage[toml
+checkdepends=("${_pycheckdeps[@]/#/python-}")
+provides=("$_pyname=$pkgver")
+_archive="$_pyname-$pkgver"
+source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_archive.tar.gz")
sha256sums=('21ea1626e15ae4070f3eb4ffc90e5fd65bf17650f912affa911f829fb7c0e112')
prepare() {