diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 |