From 0342d28b11f289832db1961f9b551d81f1be76cb Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 20 Dec 2019 15:53:14 -0500 Subject: [PATCH] sr.ht/py3-cairosvg: drop isort/flake8 plugins --- sr.ht/py3-cairosvg/APKBUILD | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sr.ht/py3-cairosvg/APKBUILD b/sr.ht/py3-cairosvg/APKBUILD index ac1dbef..3d844e5 100644 --- a/sr.ht/py3-cairosvg/APKBUILD +++ b/sr.ht/py3-cairosvg/APKBUILD @@ -19,6 +19,12 @@ builddir="$srcdir"/CairoSVG-$pkgver replaces="py-cairosvg" # Backwards compat provides="py-cairosvg=$pkgver-r$pkgrel" # Backwards compat +prepare() { + # Drop flake8 and isort plugins for pytest (temp) + grep -Ev 'flake8|isort' setup.cfg > setup.cfg.new + mv setup.cfg.new setup.cfg +} + build() { python3 setup.py build } -- 2.45.2