diff options
author | Kurt Jaeger <pi@FreeBSD.org> | 2016-03-22 05:13:29 +0000 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2016-03-22 05:13:29 +0000 |
commit | efeb9064c4d5fbe729248ee3c04cac893ebdaa16 (patch) | |
tree | f39073366cfa71da54e388c27b150dd08e6d2976 /devel | |
parent | f94e4f56ca1969f46fd043f1f7140173f05c44af (diff) | |
download | ports-efeb9064c4d5fbe729248ee3c04cac893ebdaa16.tar.gz ports-efeb9064c4d5fbe729248ee3c04cac893ebdaa16.zip |
Notes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-llfuse/Makefile | 20 | ||||
-rw-r--r-- | devel/py-llfuse/distinfo | 2 | ||||
-rw-r--r-- | devel/py-llfuse/files/patch-src_llfuse.c | 11 | ||||
-rw-r--r-- | devel/py-llfuse/files/patch-src_xattr.h | 20 | ||||
-rw-r--r-- | devel/py-llfuse/pkg-descr | 5 |
6 files changed, 59 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 6a06fa3f6e3f..a8a956fd0c4a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4161,6 +4161,7 @@ SUBDIR += py-libvirt SUBDIR += py-libzfs SUBDIR += py-ll-core + SUBDIR += py-llfuse SUBDIR += py-lock_file SUBDIR += py-lockfile SUBDIR += py-log4py diff --git a/devel/py-llfuse/Makefile b/devel/py-llfuse/Makefile new file mode 100644 index 000000000000..2f93a4774336 --- /dev/null +++ b/devel/py-llfuse/Makefile @@ -0,0 +1,20 @@ +# $FreeBSD$ + +PORTNAME= llfuse +PORTVERSION= 1.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= niklaas@kulturflatrate.net +COMMENT= Python bindings for low-level FUSE API + +LICENSE= LGPL20+ + +USES= compiler:c++11-lang fuse pkgconfig python tar:bz2 +USE_PYTHON= autoplist distutils + +post-stage: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/llfuse.so + +.include <bsd.port.mk> diff --git a/devel/py-llfuse/distinfo b/devel/py-llfuse/distinfo new file mode 100644 index 000000000000..610d1f239577 --- /dev/null +++ b/devel/py-llfuse/distinfo @@ -0,0 +1,2 @@ +SHA256 (llfuse-1.0.tar.bz2) = fa521ce77a8c0ac1c8c21e6d4b0705dacc0ddd627439c2b3827c674909c027d2 +SIZE (llfuse-1.0.tar.bz2) = 323706 diff --git a/devel/py-llfuse/files/patch-src_llfuse.c b/devel/py-llfuse/files/patch-src_llfuse.c new file mode 100644 index 000000000000..ce1125e08a34 --- /dev/null +++ b/devel/py-llfuse/files/patch-src_llfuse.c @@ -0,0 +1,11 @@ +--- src/llfuse.c.orig 2016-03-20 11:33:13 UTC ++++ src/llfuse.c +@@ -33573,7 +33573,7 @@ static PyObject *__pyx_pw_6llfuse_5setxa + } + + static PyObject *__pyx_pf_6llfuse_4setxattr(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_path, PyObject *__pyx_v_name, PyObject *__pyx_v_value, PyObject *__pyx_v_namespace) { +- int __pyx_v_ret; ++ ssize_t __pyx_v_ret; + Py_ssize_t __pyx_v_len_; + char *__pyx_v_cvalue; + char *__pyx_v_cpath; diff --git a/devel/py-llfuse/files/patch-src_xattr.h b/devel/py-llfuse/files/patch-src_xattr.h new file mode 100644 index 000000000000..2df98f985201 --- /dev/null +++ b/devel/py-llfuse/files/patch-src_xattr.h @@ -0,0 +1,20 @@ +--- src/xattr.h.orig 2016-02-23 17:14:08 UTC ++++ src/xattr.h +@@ -37,7 +37,7 @@ static ssize_t getxattr_p (char *path, c + UNUSED int namespace) { + return getxattr(path, name, value, size); + } +-static int setxattr_p (char *path, char *name, void *value, size_t size, ++static ssize_t setxattr_p (char *path, char *name, void *value, size_t size, + UNUSED int namespace) { + return setxattr(path, name, value, size, 0); + } +@@ -81,7 +81,7 @@ static ssize_t getxattr_p (char *path, c + return ret; + } + +-static int setxattr_p (char *path, char *name, void *value, size_t size, ++static ssize_t setxattr_p (char *path, char *name, void *value, size_t size, + int namespace) { + return extattr_set_file(path, namespace, name, value, size); + } diff --git a/devel/py-llfuse/pkg-descr b/devel/py-llfuse/pkg-descr new file mode 100644 index 000000000000..6f853e4d38c3 --- /dev/null +++ b/devel/py-llfuse/pkg-descr @@ -0,0 +1,5 @@ +Python-LLFUSE is a set of Python bindings for the low level FUSE API. It +requires at least FUSE 2.8.0 and supports both Python 2.x and 3.x. It runs +under Linux, OS-X, FreeBSD and NetBSD. + +WWW: https://bitbucket.org/nikratio/python-llfuse |