diff options
author | Mark Wagie | 2023-08-05 09:33:03 -0600 |
---|---|---|
committer | Mark Wagie | 2023-08-05 09:33:03 -0600 |
commit | 61e95d8d5a02a78b40c916b18238a768c58f73f7 (patch) | |
tree | 98423a5e187be8b32bd1bbdaa496bb0c38fa84cd | |
parent | a50660e84a0925910afaed310462ad4592494511 (diff) | |
download | aur-61e95d8d5a02a78b40c916b18238a768c58f73f7.tar.gz |
relax requirements
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 11 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = python-userspacefs pkgdesc = Cross-platform user-space file systems for Python pkgver = 2.0.5 - pkgrel = 4 + pkgrel = 5 url = https://thelig.ht/code/userspacefs arch = any license = GPL3 @@ -2,7 +2,7 @@ pkgname=python-userspacefs _name=${pkgname#python-} pkgver=2.0.5 -pkgrel=4 +pkgrel=5 pkgdesc="Cross-platform user-space file systems for Python" arch=('any') url="https://thelig.ht/code/userspacefs" @@ -12,6 +12,15 @@ makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") sha256sums=('5d6f5ffa6d39488f1c7437c5eaae8fabf4916caceab483a3173a18e6789b186c') +prepare() { + cd "$_name-$pkgver" + + # Relax requirements + for f in setup.py "$_name.egg-info/requires.txt" ; do + sed -i 's/fusepyng>=1.0.7,<2/fusepyng>=1.0.7/g' "${f}" + done +} + build() { cd "$_name-$pkgver" python -m build --wheel --no-isolation |