[arch-commits] Commit in python-svglib/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Thu Jan 20 21:08:22 UTC 2022


    Date: Thursday, January 20, 2022 @ 21:08:22
  Author: dvzrv
Revision: 1111566

archrelease: copy trunk to community-any

Added:
  python-svglib/repos/community-any/PKGBUILD
    (from rev 1111565, python-svglib/trunk/PKGBUILD)
Deleted:
  python-svglib/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   75 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 34 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-20 21:08:11 UTC (rev 1111565)
+++ PKGBUILD	2022-01-20 21:08:22 UTC (rev 1111566)
@@ -1,41 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=svglib
-pkgname=python-svglib
-pkgver=1.1.0
-pkgrel=4
-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=('cf510a4792b5243db3e4c5fb1df9a3aae77454d31e65fb3d8cb11195a39c9528a5ecdedf75f364923af8f052cc2758bace92372b8758025a5bbcfe0846a34a92')
-b2sums=('bd1c299a2504c271b8d682b4c4e0d7d4d6c5d66e6aa085a4216c32c8dcdf97912a89c4abab546ff3e51f6a756ea6191d118feb601449610ba88457c17cc3cdea')
-
-prepare() {
-  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$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 "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-                          --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 1111565, python-svglib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-20 21:08:22 UTC (rev 1111566)
@@ -0,0 +1,34 @@
+# 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}"
+}



More information about the arch-commits mailing list