Date: Tuesday, March 7, 2023 @ 16:51:06
Author: alerque
Revision: 1416722
archrelease: copy trunk to community-any
Added:
python-weasyprint/repos/community-any/PKGBUILD
(from rev 1416721, python-weasyprint/trunk/PKGBUILD)
Deleted:
python-weasyprint/repos/community-any/PKGBUILD
----------+
PKGBUILD | 162 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 81 insertions(+), 81 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-07 16:50:57 UTC (rev 1416721)
+++ PKGBUILD 2023-03-07 16:51:06 UTC (rev 1416722)
@@ -1,81 +0,0 @@
-# Maintainer: Caleb Maclennan <[email protected]>
-# Maintainer: George Rawlinson <[email protected]>
-# Contributor: Florijan Hamzic <florijanh at gmail dot com>
-
-pkgname=python-weasyprint
-pkgver=58.0
-pkgrel=1
-# _pkgver() { curl
https://api.github.com/repos/Kozea/WeasyPrint/git/ref/tags/v$pkgver | jq -r
.object.sha ; }
-_commit='c0034fa9b010de4961924c02939513e5cfecf654'
-pkgdesc='Utility to render HTML and CSS to PDF'
-arch=('any')
-url='https://weasyprint.org/'
-license=('BSD')
-depends=(
- 'pango'
- 'python-brotli'
- 'python-cffi'
- 'python-cssselect2'
- 'python-fonttools'
- 'python-html5lib'
- 'python-pillow'
- 'python-pydyf'
- 'python-pyphen'
- 'python-tinycss2'
- 'python-zopfli'
-)
-makedepends=(
- 'git'
- 'python-build'
- 'python-installer'
- 'python-flit-core'
-)
-checkdepends=(
- 'python-pytest'
- 'ghostscript'
- 'ttf-dejavu'
-)
-source=("$pkgname::git+https://github.com/Kozea/WeasyPrint.git#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
- cd "$pkgname"
-
- git describe --tags | sed 's/^v//'
-}
-
-prepare() {
- cd "$pkgname"
-
- # thou shalt not lint coding style in integration tests
- sed -i '/^addopts/d' pyproject.toml
-}
-
-build(){
- cd "$pkgname"
-
- python \
- -m build \
- --wheel \
- --no-isolation
-}
-
-check() {
- cd "$pkgname"
-
- # skip failing tests
- python -m pytest \
- --deselect tests/draw/test_gradient.py::test_linear_gradients_5 \
- --deselect tests/draw/test_gradient.py::test_linear_gradients_12
-}
-
-package() {
- cd "$pkgname"
-
- python \
- -m installer \
- --destdir="$pkgdir" \
- dist/*.whl
-
- install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
-}
Copied: python-weasyprint/repos/community-any/PKGBUILD (from rev 1416721,
python-weasyprint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-07 16:51:06 UTC (rev 1416722)
@@ -0,0 +1,81 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Maintainer: George Rawlinson <[email protected]>
+# Contributor: Florijan Hamzic <florijanh at gmail dot com>
+
+pkgname=python-weasyprint
+pkgver=58.1
+pkgrel=1
+# _pkgver() { curl
https://api.github.com/repos/Kozea/WeasyPrint/git/ref/tags/v$pkgver | jq -r
.object.sha ; }
+_commit='11bc4e52e4ba262c472640c1249d8ca918ee90be'
+pkgdesc='Utility to render HTML and CSS to PDF'
+arch=('any')
+url='https://weasyprint.org/'
+license=('BSD')
+depends=(
+ 'pango'
+ 'python-brotli'
+ 'python-cffi'
+ 'python-cssselect2'
+ 'python-fonttools'
+ 'python-html5lib'
+ 'python-pillow'
+ 'python-pydyf'
+ 'python-pyphen'
+ 'python-tinycss2'
+ 'python-zopfli'
+)
+makedepends=(
+ 'git'
+ 'python-build'
+ 'python-installer'
+ 'python-flit-core'
+)
+checkdepends=(
+ 'python-pytest'
+ 'ghostscript'
+ 'ttf-dejavu'
+)
+source=("$pkgname::git+https://github.com/Kozea/WeasyPrint.git#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+ cd "$pkgname"
+
+ # thou shalt not lint coding style in integration tests
+ sed -i '/^addopts/d' pyproject.toml
+}
+
+build(){
+ cd "$pkgname"
+
+ python \
+ -m build \
+ --wheel \
+ --no-isolation
+}
+
+check() {
+ cd "$pkgname"
+
+ # skip failing tests
+ python -m pytest \
+ --deselect tests/draw/test_gradient.py::test_linear_gradients_5 \
+ --deselect tests/draw/test_gradient.py::test_linear_gradients_12
+}
+
+package() {
+ cd "$pkgname"
+
+ python \
+ -m installer \
+ --destdir="$pkgdir" \
+ dist/*.whl
+
+ install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}