[arch-commits] Commit in cairosvg/trunk (PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Mon Sep 17 08:36:58 UTC 2018
Date: Monday, September 17, 2018 @ 08:36:58
Author: ffy00
Revision: 382282
upgpkg: cairosvg 2.1.3-2
Modified:
cairosvg/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-17 08:36:12 UTC (rev 382281)
+++ PKGBUILD 2018-09-17 08:36:58 UTC (rev 382282)
@@ -3,7 +3,7 @@
pkgname=cairosvg
_pkgname=CairoSVG
pkgver=2.1.3
-pkgrel=1
+pkgrel=2
pkgdesc='SVG converter based on Cairo. It can export SVG files to PDF, PostScript and PNG files'
arch=('any')
url='http://cairosvg.org'
@@ -11,9 +11,17 @@
depends=('python' 'python-cairocffi' 'python-pillow' 'python-cssselect2' 'python-defusedxml' 'python-tinycss2')
makedepends=('python-setuptools')
checkdepends=('python-pytest-runner' 'python-pytest-cov' 'python-pytest-flake8' 'python-pytest-isort')
+provides=('python-cairosvg')
+replaces=('python-cairosvg')
source=("$pkgname-$pkgver.tar.gz::https://github.com/Kozea/CairoSVG/archive/$pkgver.tar.gz")
sha512sums=('2fe079be6e471ab28bbcd16d8dba00729ffc920163aa6a0fabf1223db21685a25fc03118e41f059e6164a3c1afd5375e05022954846fd75bc6b76ad122e90ef5')
+prepare() {
+ cd $_pkgname-$pkgver
+
+ cp -r cairosvg test/cairosvg_reference/
+}
+
build() {
cd $_pkgname-$pkgver
@@ -23,8 +31,6 @@
check() {
cd $_pkgname-$pkgver
- cp -r cairosvg test/cairosvg_reference/
-
python setup.py pytest
}
More information about the arch-commits
mailing list