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

Evangelos Foutras foutrelis at archlinux.org
Wed Nov 11 14:58:06 UTC 2020


    Date: Wednesday, November 11, 2020 @ 14:58:06
  Author: foutrelis
Revision: 750794

archrelease: copy trunk to community-staging-any

Added:
  python-pygal/repos/community-staging-any/PKGBUILD
    (from rev 750793, python-pygal/trunk/PKGBUILD)
Deleted:
  python-pygal/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   79 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 41 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 14:58:02 UTC (rev 750793)
+++ PKGBUILD	2020-11-11 14:58:06 UTC (rev 750794)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Chris Warrick <aur at chriswarrick.com>
-
-pkgname=python-pygal
-epoch=1
-pkgver=2.4.0
-pkgrel=7
-pkgdesc='A Python SVG graph plotting library'
-arch=('any')
-url='https://www.pygal.org/en/stable/'
-license=('LGPL3')
-depends=('python-setuptools')
-optdepends=('python-lxml: for XML output through lxml instead of xml.etree'
-            'python-cairosvg: for PNG output')
-checkdepends=('python-pytest' 'python-lxml' 'python-pyquery' 'python-cairosvg' 'python-flask')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/Kozea/pygal/archive/$pkgver.tar.gz")
-md5sums=('5c688d30f8e75dced194bfa612f45589')
-
-prepare() {
-  sed -i 's/\[pytest\]/[tool:pytest]/' pygal-$pkgver/setup.cfg
-}
-
-build() {
-  cd pygal-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd pygal-$pkgver
-  pytest pygal/
-}
-
-package() {
-  cd pygal-$pkgver
-  python3 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-pygal/repos/community-staging-any/PKGBUILD (from rev 750793, python-pygal/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 14:58:06 UTC (rev 750794)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Chris Warrick <aur at chriswarrick.com>
+
+pkgname=python-pygal
+epoch=1
+pkgver=2.4.0
+pkgrel=8
+pkgdesc='A Python SVG graph plotting library'
+arch=('any')
+url='https://www.pygal.org/en/stable/'
+license=('LGPL3')
+depends=('python-setuptools')
+optdepends=('python-lxml: for XML output through lxml instead of xml.etree'
+            'python-cairosvg: for PNG output')
+checkdepends=('python-pytest' 'python-lxml' 'python-pyquery' 'python-cairosvg' 'python-flask')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Kozea/pygal/archive/$pkgver.tar.gz"
+        $pkgname-pytest-fix.patch::https://github.com/Kozea/pygal/commit/19e5399be18a.patch)
+md5sums=('5c688d30f8e75dced194bfa612f45589'
+         '5ca054e5420b1c242d8706f4258ca382')
+
+prepare() {
+  sed -i 's/\[pytest\]/[tool:pytest]/' pygal-$pkgver/setup.cfg
+  patch -Np1 -d pygal-$pkgver <$pkgname-pytest-fix.patch
+}
+
+build() {
+  cd pygal-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd pygal-$pkgver
+  pytest pygal/
+}
+
+package() {
+  cd pygal-$pkgver
+  python3 setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list