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

Filipe Laíns ffy00 at archlinux.org
Thu Aug 27 19:38:53 UTC 2020


    Date: Thursday, August 27, 2020 @ 19:38:53
  Author: ffy00
Revision: 689945

fix metadata to allow newer python-regex versions (1.0.1-2)

Modified:
  python-solidpython/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-27 19:28:36 UTC (rev 689944)
+++ PKGBUILD	2020-08-27 19:38:53 UTC (rev 689945)
@@ -3,7 +3,7 @@
 _pkgname=SolidPython
 pkgname=python-solidpython
 pkgver=1.0.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Python frontend for solid modelling that compiles to OpenSCAD'
 arch=('any')
 url='https://github.com/SolidCode/SolidPython'
@@ -16,7 +16,7 @@
 prepare() {
   cd $_pkgname-$pkgver
 
-  sed -i '/tox/d' pyproject.toml
+  sed -i -e '/tox/d' -e 's|regex = "^2019.4"|regex = ">=2019.4"|' pyproject.toml
 
   dephell deps convert --from pyproject.toml --to setup.py
 }



More information about the arch-commits mailing list