[arch-commits] Commit in python-svglib/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Thu Jan 27 22:29:37 UTC 2022
Date: Thursday, January 27, 2022 @ 22:29:36
Author: dvzrv
Revision: 1117947
archrelease: copy trunk to community-any
Added:
python-svglib/repos/community-any/PKGBUILD
(from rev 1117946, python-svglib/trunk/PKGBUILD)
Deleted:
python-svglib/repos/community-any/PKGBUILD
----------+
PKGBUILD | 68 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 34 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-27 22:29:30 UTC (rev 1117946)
+++ PKGBUILD 2022-01-27 22:29:36 UTC (rev 1117947)
@@ -1,34 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=svglib
-pkgname=python-svglib
-pkgver=1.2.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-setuptools)
-checkdepends=(python-pillow python-pytest)
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('09fef882c04dc5c4bb6401f554ba568e2f12c430c5f066dbad72f26aed0144c0d56c107883afa987fdbeaec77d8ac4e6206d2d27cbc4237dbd0309e56af5b35f')
-b2sums=('49a090c9999deeb725ea81b92d397de1e55e11733a14fa1e4baefa42cd91c624511456f22c87c4cc955c6784a6cb43aca2c5595cd01d7b4707c43dcf0a0ede63')
-
-build() {
- cd "${_name}-$pkgver"
- python setup.py build
-}
-
-check() {
- cd "${_name}-$pkgver"
- export PYTHONPATH="build:${PYTHONPATH}"
- # disable tests that download stuff and that are broken
- pytest -v -k "not TestWikipediaSymbols and not TestWikipediaFlags and not test_png_in_svg and not test_external_svg_in_svg"
-}
-
-package() {
- cd "${_name}-$pkgver"
- python setup.py install --optimize=1 --root="${pkgdir}"
- install -vDm 644 {CHANGELOG,CONTRIBUTORS,README}.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
Copied: python-svglib/repos/community-any/PKGBUILD (from rev 1117946, python-svglib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-27 22:29:36 UTC (rev 1117947)
@@ -0,0 +1,34 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=svglib
+pkgname=python-svglib
+pkgver=1.2.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-setuptools)
+checkdepends=(python-pillow python-pytest)
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('64c73c31e878c7d3a0fe39306ad9c086f22e57dab93b31e22d6db12df69397b15a115eccdb0113331038d7aaefaea910fb80f8834cdda4c6f433a510b60d79f7')
+b2sums=('ab57e97f0443179fa718427cec1b8d9abc12030a800a89c2dc3dc91235de652182c77431aee289c7ec200c048c06af17be01936b05b2441883c16295e7ac1cf0')
+
+build() {
+ cd "${_name}-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "${_name}-$pkgver"
+ export PYTHONPATH="build:${PYTHONPATH}"
+ # disable tests that download stuff and that are broken
+ pytest -v -k "not TestWikipediaSymbols and not TestWikipediaFlags and not test_png_in_svg and not test_external_svg_in_svg"
+}
+
+package() {
+ cd "${_name}-$pkgver"
+ python setup.py install --optimize=1 --root="${pkgdir}"
+ install -vDm 644 {CHANGELOG,CONTRIBUTORS,README}.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list