[arch-commits] Commit in python-svglib/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Sat Aug 6 15:01:51 UTC 2022
Date: Saturday, August 6, 2022 @ 15:01:51
Author: dvzrv
Revision: 1260421
archrelease: copy trunk to community-any
Added:
python-svglib/repos/community-any/PKGBUILD
(from rev 1260420, python-svglib/trunk/PKGBUILD)
Deleted:
python-svglib/repos/community-any/PKGBUILD
----------+
PKGBUILD | 70 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 34 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-06 15:01:40 UTC (rev 1260420)
+++ PKGBUILD 2022-08-06 15:01:51 UTC (rev 1260421)
@@ -1,36 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=svglib
-pkgname=python-svglib
-pkgver=1.3.0
-pkgrel=1
-pkgdesc="Read SVG files and convert them to other formats"
-arch=(any)
-url="https://github.com/deeplook/svglib"
-license=(LGPL3)
-depends=(python-lxml python-reportlab python-tinycss2 python-cssselect2)
-makedepends=(python-build python-installer python-setuptools python-wheel)
-checkdepends=(python-pillow python-pytest)
-# sdist tarballs do not include all necessary files: https://github.com/deeplook/svglib/issues/341
-# source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-source=($_name-v$pkgver.tar.gz::https://github.com/deeplook/$_name/archive/refs/tags/v$pkgver.tar.gz)
-sha512sums=('457fb69ba1c298079888f200502c7099cf5ee674857ff8682948011bf8e1544715e6196544212f5c0ddef1202d04f3f05d01edb4351e673ceae16a85ca0d66e5')
-b2sums=('f53bda781479ddc5d4b04fd122b5141620db81756308973cb283957615711e62623baa74b69af954936be24970a4e4a6f026667c4069d62bf1705a839ecc52f3')
-
-build() {
- cd $_name-$pkgver
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd $_name-$pkgver
- export PYTHONPATH="build:$PYTHONPATH"
- # disable tests that need remote resources
- pytest -vv -k "not TestWikipediaSymbols and not TestWikipediaFlags"
-}
-
-package() {
- cd $_name-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -vDm 644 {CHANGELOG,CONTRIBUTORS,README}.rst -t "$pkgdir/usr/share/doc/$pkgname/"
-}
Copied: python-svglib/repos/community-any/PKGBUILD (from rev 1260420, python-svglib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-06 15:01:51 UTC (rev 1260421)
@@ -0,0 +1,34 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=svglib
+pkgname=python-svglib
+pkgver=1.4.1
+pkgrel=1
+pkgdesc="Read SVG files and convert them to other formats"
+arch=(any)
+url="https://github.com/deeplook/svglib"
+license=(LGPL3)
+depends=(python-lxml python-reportlab python-tinycss2 python-cssselect2)
+makedepends=(python-build python-installer python-setuptools python-wheel)
+checkdepends=(python-pillow python-pytest)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha512sums=('c639de1f83b9fad743fc1dc84fb5aa404e0c385ae315a24b37ffecc37e4e18ba95a48a3781faac1a233b69afcb9bfa0fd896cce5499fa7af428cf5344ec93582')
+b2sums=('84bc511419fb08582cf63ff0be242772d4c18bf8c9e72cbe23a649350355d2df992bf3087c84767008a5fdf256aa6909f3c8a0974a20e70ad8e50aef464e8cdb')
+
+build() {
+ cd $_name-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd $_name-$pkgver
+ export PYTHONPATH="build:$PYTHONPATH"
+ # disable tests that need remote resources
+ pytest -vv -k "not TestWikipediaSymbols and not TestWikipediaFlags"
+}
+
+package() {
+ cd $_name-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -vDm 644 {CHANGELOG,CONTRIBUTORS,README}.rst -t "$pkgdir/usr/share/doc/$pkgname/"
+}
More information about the arch-commits
mailing list