diff options
-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 |