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

Filipe Laíns ffy00 at archlinux.org
Sat Jul 18 21:32:47 UTC 2020


    Date: Saturday, July 18, 2020 @ 21:32:46
  Author: ffy00
Revision: 664481

upgpkg: python-edalize 0.2.2-2 (remove pytest from requires in metadata)

Modified:
  python-edalize/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-18 21:24:24 UTC (rev 664480)
+++ PKGBUILD	2020-07-18 21:32:46 UTC (rev 664481)
@@ -3,7 +3,7 @@
 _pkgname=edalize
 pkgname=python-$_pkgname
 pkgver=0.2.2
-pkgrel=1
+pkgrel=2
 pkgdesc='An abstraction library for interfacing EDA tools'
 arch=('any')
 url='https://github.com/olofk/edalize'
@@ -17,7 +17,11 @@
 export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
 
 prepare() {
-  rm $_pkgname-$pkgver/tests/test_spyglass.py
+  cd $_pkgname-$pkgver
+
+  rm tests/test_spyglass.py
+
+  sed -i '/pytest/d' setup.py
 }
 
 build() {



More information about the arch-commits mailing list