Subject: [alpine-aports] [PATCH 2/2] testing/py3-cairosvg: upgrade to 2.4.0

From: Drew DeVault <[email-masked]>
Date: Mon, 8 Jul 2019 16:47:24 -0400

---
 testing/py3-cairosvg/APKBUILD | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/testing/py3-cairosvg/APKBUILD b/testing/py3-cairosvg/APKBUILD
index 3ba3eec530..917c18cd36 100644
--- a/testing/py3-cairosvg/APKBUILD
+++ b/testing/py3-cairosvg/APKBUILD
@@ -1,26 +1,21 @@
 # Maintainer: Drew DeVault <[email-masked]>
 pkgname=py3-cairosvg
 _pyname=CairoSVG
-pkgver=2.3.0
-pkgrel=1
+pkgver=2.4.0
+pkgrel=0
 pkgdesc="Cairo-based SVG renderer for python"
 url="https://cairosvg.org"
 arch="noarch"
 license="LGPL-3.0-or-later"
 depends="python3 py3-tinycss2 py3-cssselect2 py3-defusedxml py3-cairocffi"
-checkdepends="py3-pytest py3-pillow"
+checkdepends="py3-pytest py3-pillow py3-pytest-flake8 py3-pytest-isort"
 makedepends="python3-dev py3-setuptools cairo-dev"
 _pypiprefix="${_pyname%${_pyname#?}}"
 source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
 builddir="$srcdir"/CairoSVG-$pkgver
-
 replaces="py-cairosvg" # Backwards compat
 provides="py-cairosvg=$pkgver-r$pkgrel" # Backwards compat
 
-prepare() {
-	sed -i setup.cfg -e 's/--flake8//' -e 's/--isort//'
-}
-
 build() {
 	python3 setup.py build
 }
@@ -30,8 +25,7 @@ check() {
 }
 
 package() {
-	mkdir -p "$pkgdir"
 	python3 setup.py install --prefix=/usr --root="$pkgdir"
 }
 
-sha512sums="099da421f3e3bd8b1aaf727bffe388ed08b36eb027a79e31d2fae74fe67adcb8c174763ae2bae49715369a5ab44aea1d3f50bd64895a6aac6740ddf8bebbdc54  CairoSVG-2.3.0.tar.gz"
+sha512sums="07eeaffa584b1c40c88c3d287b041c3f097700e49b8d85ba80e8dbc1f27aee6e5cf488db0174fc72783a727c29b6b578b1ff31d86833723681cc7fb084226c46  CairoSVG-2.4.0.tar.gz"
-- 
2.22.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---