python3-llfuse: update to 1.3.8.

This commit is contained in:
Andrew J. Hesford 2020-10-19 09:01:51 -04:00
parent 8642accc32
commit 9184017cc7
2 changed files with 3 additions and 44 deletions

View File

@ -1,36 +0,0 @@
From https://github.com/python-llfuse/python-llfuse/issues/28
diff --git src/fuse_api.pxi src/fuse_api.pxi
index 48bda30..1d803de 100644
--- src/fuse_api.pxi
+++ src/fuse_api.pxi
@@ -11,6 +11,9 @@ the terms of the GNU LGPL.
'''
+from libc.stdint cimport intptr_t
+
+
def listdir(path):
'''Like `os.listdir`, but releases the GIL.
@@ -382,6 +385,7 @@ ctypedef struct worker_data_t:
cdef void* worker_start(void* data) with gil:
cdef worker_data_t *wd
cdef int res
+ cdef intptr_t tid
global exc_info
wd = <worker_data_t*> data
@@ -393,8 +397,9 @@ cdef void* worker_start(void* data) with gil:
session_loop(wd.buf, wd.bufsize)
except:
fuse_session_exit(session)
- log.error('FUSE worker thread %d terminated with exception, '
- 'aborting processing', wd.thread_id)
+ tid = wd.thread_id
+ log.error('FUSE worker thread %p terminated with exception, '
+ 'aborting processing', tid)
res = pthread_mutex_lock(&exc_info_mutex)
if res != 0:
log.error('pthread_mutex_lock failed with %s',

View File

@ -1,10 +1,10 @@
# Template file for 'python3-llfuse'
pkgname=python3-llfuse
version=1.3.7
version=1.3.8
revision=1
wrksrc="llfuse-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython pkg-config"
hostmakedepends="python3-setuptools pkg-config"
makedepends="python3-devel fuse-devel attr-devel"
depends="python3"
short_desc="Python3 bindings for the low level FUSE API"
@ -12,9 +12,4 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="LGPL-2.0-or-later"
homepage="https://github.com/python-llfuse/python-llfuse"
distfiles="${PYPI_SITE}/l/llfuse/llfuse-${version}.tar.gz"
checksum=95b750303735fdba836a46b3066e102ae74b9707c1e43581bb17329769340054
pre_build() {
rm src/llfuse.c
python3 setup.py build_cython
}
checksum=b9b573108a840fbaa5c8f037160cc541f21b8cbdc15c5c8a39d5ac8c1b6c4cbc