[arch-commits] Commit in python-cairosvg/trunk (PKGBUILD)

2022-08-29 Thread Felix Yan via arch-commits
Date: Monday, August 29, 2022 @ 22:01:48
  Author: felixonmars
Revision: 1286420

upgpkg: python-cairosvg 2.5.2-4: disable tests not meant for distributions and 
don't use pytest-runner

Modified:
  python-cairosvg/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-29 22:01:40 UTC (rev 1286419)
+++ PKGBUILD2022-08-29 22:01:48 UTC (rev 1286420)
@@ -4,7 +4,7 @@
 pkgname=python-cairosvg
 _pkgname=CairoSVG
 pkgver=2.5.2
-pkgrel=3
+pkgrel=4
 pkgdesc='SVG converter based on Cairo. It can export SVG files to PDF, 
PostScript and PNG files'
 arch=('any')
 url='https://cairosvg.org'
@@ -11,7 +11,7 @@
 license=('LGPL3')
 depends=('python-cairocffi' 'python-cssselect2' 'python-defusedxml' 
'python-pillow' 'python-tinycss2')
 makedepends=('python-setuptools' 'python-pytest-runner')
-checkdepends=('python-pytest-cov' 'python-pytest-flake8' 'python-pytest-isort')
+checkdepends=('python-pytest')
 replaces=('cairosvg')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/Kozea/CairoSVG/archive/$pkgver.tar.gz;)
 
sha512sums=('a2e397bd0847baa87de76c7b3c1db56924634ba0c3510e91dafc4ab4f74850b7cd54683298d315dc1ff644f9b674ba20e03d7b3a17575a9d7e7c0c432845b05e')
@@ -18,6 +18,7 @@
 
 prepare() {
   cd $_pkgname-$pkgver
+  sed -i -e '/pytest-runner/d' -e '/--flake8/d' -e '/--isort/d' setup.cfg
 
   cp -r cairosvg test_non_regression/cairosvg_reference/
 }
@@ -31,7 +32,7 @@
 check() {
   cd $_pkgname-$pkgver
 
-  python setup.py pytest
+  pytest
 }
 
 package() {



[arch-commits] Commit in python-cairosvg/trunk (PKGBUILD)

2021-12-02 Thread Felix Yan via arch-commits
Date: Thursday, December 2, 2021 @ 22:43:12
  Author: felixonmars
Revision: 1062879

upgpkg: python-cairosvg 2.5.2-3: Python 3.10 rebuild

Modified:
  python-cairosvg/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-12-02 22:43:08 UTC (rev 1062878)
+++ PKGBUILD2021-12-02 22:43:12 UTC (rev 1062879)
@@ -4,7 +4,7 @@
 pkgname=python-cairosvg
 _pkgname=CairoSVG
 pkgver=2.5.2
-pkgrel=2
+pkgrel=3
 pkgdesc='SVG converter based on Cairo. It can export SVG files to PDF, 
PostScript and PNG files'
 arch=('any')
 url='https://cairosvg.org'



[arch-commits] Commit in python-cairosvg/trunk (PKGBUILD)

2021-12-01 Thread Evangelos Foutras via arch-commits
Date: Wednesday, December 1, 2021 @ 16:07:39
  Author: foutrelis
Revision: 1060587

upgpkg: python-cairosvg 2.5.2-2: Python 3.10 rebuild

Modified:
  python-cairosvg/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-12-01 16:07:14 UTC (rev 1060586)
+++ PKGBUILD2021-12-01 16:07:39 UTC (rev 1060587)
@@ -4,7 +4,7 @@
 pkgname=python-cairosvg
 _pkgname=CairoSVG
 pkgver=2.5.2
-pkgrel=1
+pkgrel=2
 pkgdesc='SVG converter based on Cairo. It can export SVG files to PDF, 
PostScript and PNG files'
 arch=('any')
 url='https://cairosvg.org'



[arch-commits] Commit in python-cairosvg/trunk (PKGBUILD)

2021-12-01 Thread Evangelos Foutras via arch-commits
Date: Wednesday, December 1, 2021 @ 16:07:14
  Author: foutrelis
Revision: 1060586

Move pytest-runner to build deps

Modified:
  python-cairosvg/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-12-01 16:03:58 UTC (rev 1060585)
+++ PKGBUILD2021-12-01 16:07:14 UTC (rev 1060586)
@@ -10,8 +10,8 @@
 url='https://cairosvg.org'
 license=('LGPL3')
 depends=('python-cairocffi' 'python-cssselect2' 'python-defusedxml' 
'python-pillow' 'python-tinycss2')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner' 'python-pytest-cov' 
'python-pytest-flake8' 'python-pytest-isort')
+makedepends=('python-setuptools' 'python-pytest-runner')
+checkdepends=('python-pytest-cov' 'python-pytest-flake8' 'python-pytest-isort')
 replaces=('cairosvg')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/Kozea/CairoSVG/archive/$pkgver.tar.gz;)
 
sha512sums=('a2e397bd0847baa87de76c7b3c1db56924634ba0c3510e91dafc4ab4f74850b7cd54683298d315dc1ff644f9b674ba20e03d7b3a17575a9d7e7c0c432845b05e')



[arch-commits] Commit in python-cairosvg/trunk (PKGBUILD)

2021-03-11 Thread Felix Yan via arch-commits
Date: Thursday, March 11, 2021 @ 09:24:01
  Author: felixonmars
Revision: 887435

upgpkg: python-cairosvg 2.5.2-1

Modified:
  python-cairosvg/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-03-11 09:23:46 UTC (rev 887434)
+++ PKGBUILD2021-03-11 09:24:01 UTC (rev 887435)
@@ -3,7 +3,7 @@
 
 pkgname=python-cairosvg
 _pkgname=CairoSVG
-pkgver=2.5.1
+pkgver=2.5.2
 pkgrel=1
 pkgdesc='SVG converter based on Cairo. It can export SVG files to PDF, 
PostScript and PNG files'
 arch=('any')
@@ -14,7 +14,7 @@
 checkdepends=('python-pytest-runner' 'python-pytest-cov' 
'python-pytest-flake8' 'python-pytest-isort')
 replaces=('cairosvg')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/Kozea/CairoSVG/archive/$pkgver.tar.gz;)
-sha512sums=('149b2051f82c59be05537bee47a8615852ed98772843bae7d48127dff69a0c29502e6213de0610c328d6dc645e3f69c82204a7a29baa8a4c6b579257455b9c70')
+sha512sums=('a2e397bd0847baa87de76c7b3c1db56924634ba0c3510e91dafc4ab4f74850b7cd54683298d315dc1ff644f9b674ba20e03d7b3a17575a9d7e7c0c432845b05e')
 
 prepare() {
   cd $_pkgname-$pkgver


[arch-commits] Commit in python-cairosvg/trunk (PKGBUILD)

2021-01-06 Thread Felix Yan via arch-commits
Date: Wednesday, January 6, 2021 @ 23:08:36
  Author: felixonmars
Revision: 811434

upgpkg: python-cairosvg 2.5.1-1

Modified:
  python-cairosvg/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-01-06 23:08:34 UTC (rev 811433)
+++ PKGBUILD2021-01-06 23:08:36 UTC (rev 811434)
@@ -3,8 +3,8 @@
 
 pkgname=python-cairosvg
 _pkgname=CairoSVG
-pkgver=2.5.0
-pkgrel=3
+pkgver=2.5.1
+pkgrel=1
 pkgdesc='SVG converter based on Cairo. It can export SVG files to PDF, 
PostScript and PNG files'
 arch=('any')
 url='https://cairosvg.org'
@@ -14,7 +14,7 @@
 checkdepends=('python-pytest-runner' 'python-pytest-cov' 
'python-pytest-flake8' 'python-pytest-isort')
 replaces=('cairosvg')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/Kozea/CairoSVG/archive/$pkgver.tar.gz;)
-sha512sums=('2749c27287f9adee61b8e894e0efb211e2d9eff9d672e62774ce4efed60138b72391d1c008fa72f855d802172dab7b9e54d4ae7e8d32e9a550fa7afc885cb728')
+sha512sums=('149b2051f82c59be05537bee47a8615852ed98772843bae7d48127dff69a0c29502e6213de0610c328d6dc645e3f69c82204a7a29baa8a4c6b579257455b9c70')
 
 prepare() {
   cd $_pkgname-$pkgver