python-llfuse: update to 1.3.5

This commit is contained in:
Alessio Sergi 2018-10-17 19:13:37 +02:00
parent 4c473bb2d5
commit 64aef0e0a3
2 changed files with 5 additions and 27 deletions

View file

@ -1,21 +0,0 @@
See https://bitbucket.org/nikratio/python-llfuse/commits/cec107981b03c6c3e263f21009757dec76d129e2
--- src/xattr.h 2016-05-24 02:53:33.000000000 +0200
+++ src/xattr.h 2018-08-22 17:12:52.990555934 +0200
@@ -25,7 +25,15 @@
* Linux
*/
#if PLATFORM == PLATFORM_LINUX
-#include <attr/xattr.h>
+#include <sys/xattr.h>
+/*
+ * Newer versions of attr deprecate attr/xattr.h which defines ENOATTR as a
+ * synonym for ENODATA. To keep compatibility with the old style and the new,
+ * define this ourselves.
+ */
+#ifndef ENOATTR
+#define ENOATTR ENODATA
+#endif
#define EXTATTR_NAMESPACE_USER 0
#define EXTATTR_NAMESPACE_SYSTEM 0

View file

@ -1,21 +1,20 @@
# Template file for 'python-llfuse'
pkgname=python-llfuse
version=1.3
revision=2
version=1.3.5
revision=1
wrksrc="llfuse-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools pkg-config"
makedepends="python-devel python3-devel fuse-devel attr-devel"
depends="python"
depends="python-contextlib2"
short_desc="Python2 bindings for the low level FUSE API"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="LGPL-2"
license="LGPL-2.0-or-later"
homepage="https://bitbucket.org/nikratio/python-llfuse/"
distfiles="${PYPI_SITE}/l/llfuse/llfuse-${version}.tar.bz2"
checksum=d1ab2c7cdaeed1c4c99882f2ad44df3906db263b832d76de18291e484c685bd2
checksum=6e412a3d9be69162d49b8a4d6fb3c343d1c1fba847f4535d229e0ece2548ead8
python3-llfuse_package() {
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*