[arch-commits] Commit in python-weasyprint/repos/community-any (PKGBUILD PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Mon Jul 25 10:36:43 UTC 2022
Date: Monday, July 25, 2022 @ 10:36:43
Author: alerque
Revision: 1257450
archrelease: copy trunk to community-any
Added:
python-weasyprint/repos/community-any/PKGBUILD
(from rev 1257449, python-weasyprint/trunk/PKGBUILD)
Deleted:
python-weasyprint/repos/community-any/PKGBUILD
----------+
PKGBUILD | 162 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 81 insertions(+), 81 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-25 10:36:36 UTC (rev 1257449)
+++ PKGBUILD 2022-07-25 10:36:43 UTC (rev 1257450)
@@ -1,81 +0,0 @@
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-# Contributor: Florijan Hamzic <florijanh at gmail dot com>
-
-pkgname=python-weasyprint
-pkgver=56.0
-pkgrel=1
-_commit='10da5691d54f5652bc927f815bcbc83e557f1b36'
-pkgdesc='Utility to render HTML and CSS to PDF'
-arch=('any')
-url='https://weasyprint.org/'
-_url='https://github.com/Kozea/WeasyPrint'
-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'
-)
-checkdepends=(
- 'python-pytest'
- 'ghostscript'
- 'ttf-dejavu'
-)
-source=("$pkgname::git+$_url.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 1257449, python-weasyprint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-25 10:36:43 UTC (rev 1257450)
@@ -0,0 +1,81 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Florijan Hamzic <florijanh at gmail dot com>
+
+pkgname=python-weasyprint
+pkgver=56.1
+pkgrel=1
+_commit='b889ceb99da750bd3a9b68a62e4ec4fe8925ed2e'
+pkgdesc='Utility to render HTML and CSS to PDF'
+arch=('any')
+url='https://weasyprint.org/'
+_url='https://github.com/Kozea/WeasyPrint'
+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'
+)
+checkdepends=(
+ 'python-pytest'
+ 'ghostscript'
+ 'ttf-dejavu'
+)
+source=("$pkgname::git+$_url.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
+}
More information about the arch-commits
mailing list