upg python-fuse

This commit is contained in:
joborun linux 2024-04-17 14:28:54 +03:00
parent 1adaa86d6e
commit 6c0fcafe9c
3 changed files with 26 additions and 16 deletions

View File

@ -6,30 +6,37 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=python-fuse
pkgver=1.0.5
pkgrel=02
pkgver=1.0.7
pkgrel=01 # 02 after python moves from staging
pkgdesc="Python bindings for FUSE"
url="https://github.com/libfuse/python-fuse"
makedepends=('python-setuptools' 'fuse2')
#makedepends=('python-setuptools' 'fuse2')
makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel')
depends=('fuse2' 'python')
source=("$pkgname-$pkgver.tar.gz::https://github.com/libfuse/python-fuse/archive/v$pkgver.tar.gz")
build() {
cd python-fuse-$pkgver
python setup.py build
# python setup.py build
python -m build --wheel --no-isolation
}
package() {
cd python-fuse-$pkgver
python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
# python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
python -m installer --destdir="$pkgdir" dist/*.whl
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('LGPL')
license=('LGPL-3.0-or-later')
sha256sums=(789f26379dc9a9ab3762deec08e2ea4fc6f904588f975c3dcfa7a531c0b6153a) # python-fuse-1.0.5.tar.gz
## 407c700b02a4cd171b4960364b0c238166d2c60c4b9a1a702bf86f11ab4af62b python-fuse-1.0.5-02-x86_64.pkg.tar.lz
sha512sums=('d7ef0ea52fadb9cd5dd64ca4e493bc61956b47b39e078edaf8c6e9c1dc4c298ae269f2c15b13882a7b1fbd907f61b6d3cd3aabef729657946dde4edf72554b5f')
sha256sums=(6273b1eb99259923fbae4e56257359d01a893243e1804a8bd23a72528c7ee1c6) # python-fuse-1.0.7.tar.gz
## ce27f4be01ac817e5a0f49fac671702390fa8c557eb31de3b6b48cc9abf44b24 python-fuse-1.0.7-01-x86_64.pkg.tar.lz

View File

@ -5,24 +5,23 @@
# Contributor: Alexander Fehr <pizzapunk@gmail.com>
pkgname=python-fuse
pkgver=1.0.5
pkgver=1.0.7
pkgrel=2
arch=('x86_64')
pkgdesc="Python bindings for FUSE"
url="https://github.com/libfuse/python-fuse"
license=('LGPL')
makedepends=('python-setuptools' 'fuse2')
license=('LGPL-3.0-or-later')
depends=('fuse2' 'python')
makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel')
source=("$pkgname-$pkgver.tar.gz::https://github.com/libfuse/python-fuse/archive/v$pkgver.tar.gz")
sha512sums=('e0d0cc0f3dee9416eefe430119e8f2f5a9bbc88a214d36d1d23c7e1f7ce78cc977a173f6d22c05cb928715d5c657ba29738f60453323b25299dddc08d57595d2')
sha512sums=('d7ef0ea52fadb9cd5dd64ca4e493bc61956b47b39e078edaf8c6e9c1dc4c298ae269f2c15b13882a7b1fbd907f61b6d3cd3aabef729657946dde4edf72554b5f')
build() {
cd python-fuse-$pkgver
python setup.py build
python -m build --wheel --no-isolation
}
package() {
cd python-fuse-$pkgver
python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
python -m installer --destdir="$pkgdir" dist/*.whl
}
156c95eedefbb44063fd15545a418886a0c6adc9b968c6eef5b09b6f564e0256 # PKGBUILD

View File

@ -1,4 +1,8 @@
fuse2
python
python-setuptools
python-build
python-installer
python-wheel
fuse2