Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2016 05:13:29 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r411634 - in head/devel: . py-llfuse py-llfuse/files
Message-ID:  <201603220513.u2M5DTb5072425@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Tue Mar 22 05:13:29 2016
New Revision: 411634
URL: https://svnweb.freebsd.org/changeset/ports/411634

Log:
  New port: devel/py-llfuse
  
  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
  
  PR:		203759
  Submitted by:	Niklaas Baudet von Gersdorff <niklaas@kulturflatrate.net>

Added:
  head/devel/py-llfuse/
  head/devel/py-llfuse/Makefile   (contents, props changed)
  head/devel/py-llfuse/distinfo   (contents, props changed)
  head/devel/py-llfuse/files/
  head/devel/py-llfuse/files/patch-src_llfuse.c   (contents, props changed)
  head/devel/py-llfuse/files/patch-src_xattr.h   (contents, props changed)
  head/devel/py-llfuse/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Mar 22 02:14:01 2016	(r411633)
+++ head/devel/Makefile	Tue Mar 22 05:13:29 2016	(r411634)
@@ -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

Added: head/devel/py-llfuse/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-llfuse/Makefile	Tue Mar 22 05:13:29 2016	(r411634)
@@ -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>

Added: head/devel/py-llfuse/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-llfuse/distinfo	Tue Mar 22 05:13:29 2016	(r411634)
@@ -0,0 +1,2 @@
+SHA256 (llfuse-1.0.tar.bz2) = fa521ce77a8c0ac1c8c21e6d4b0705dacc0ddd627439c2b3827c674909c027d2
+SIZE (llfuse-1.0.tar.bz2) = 323706

Added: head/devel/py-llfuse/files/patch-src_llfuse.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-llfuse/files/patch-src_llfuse.c	Tue Mar 22 05:13:29 2016	(r411634)
@@ -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;

Added: head/devel/py-llfuse/files/patch-src_xattr.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-llfuse/files/patch-src_xattr.h	Tue Mar 22 05:13:29 2016	(r411634)
@@ -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);
+ }

Added: head/devel/py-llfuse/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-llfuse/pkg-descr	Tue Mar 22 05:13:29 2016	(r411634)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603220513.u2M5DTb5072425>