commit python-llfuse for openSUSE:Factory

2019-05-22 Thread root
Hello community,

here is the log from the commit of package python-llfuse for openSUSE:Factory 
checked in at 2019-05-22 11:12:21

Comparing /work/SRC/openSUSE:Factory/python-llfuse (Old)
 and  /work/SRC/openSUSE:Factory/.python-llfuse.new.5148 (New)


Package is "python-llfuse"

Wed May 22 11:12:21 2019 rev:4 rq:703195 version:1.3.6

Changes:

--- /work/SRC/openSUSE:Factory/python-llfuse/python-llfuse.changes  
2018-09-28 08:54:04.345671003 +0200
+++ /work/SRC/openSUSE:Factory/.python-llfuse.new.5148/python-llfuse.changes
2019-05-22 11:12:28.810578481 +0200
@@ -1,0 +2,9 @@
+Fri May 10 07:11:40 UTC 2019 - simmpho...@opensuse.org
+
+- Update to version 1.3.6
+  * Python-LLFUSE is no longer actively maintained. Unless you are stuck
+with Python 2.x or libfuse 2.x, we recommended to use the pyfuse3_
+module instead.
+- Remove upstreamed patch fix-char-cast-to-unsigned-int.patch
+
+---

Old:

  fix-char-cast-to-unsigned-int.patch
  llfuse-1.3.5.tar.bz2
  llfuse-1.3.5.tar.bz2.asc
  python-llfuse.keyring

New:

  python-llfuse-release-1.3.6.tar.gz



Other differences:
--
++ python-llfuse.spec ++
--- /var/tmp/diff_new_pack.IDSe1N/_old  2019-05-22 11:12:29.910578202 +0200
+++ /var/tmp/diff_new_pack.IDSe1N/_new  2019-05-22 11:12:29.914578200 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-llfuse
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,17 +19,15 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without python2
 Name:   python-llfuse
-Version:1.3.5
+Version:1.3.6
 Release:0
 Summary:Python Bindings for the low-level FUSE API
 License:LGPL-2.1-or-later
 Group:  Development/Libraries/Python
-URL:https://bitbucket.org/nikratio/python-llfuse/
-Source: 
https://bitbucket.org/nikratio/python-llfuse/downloads/llfuse-%{version}.tar.bz2
-Source1000: 
https://bitbucket.org/nikratio/python-llfuse/downloads/llfuse-%{version}.tar.bz2.asc
-Source1001: %{name}.keyring
-Patch0: fix-char-cast-to-unsigned-int.patch
-Patch1: fix-test-for-fusermount.patch
+URL:https://github.com/python-llfuse/python-llfuse
+Source: 
https://github.com/python-llfuse/python-llfuse/archive/release-%{version}.tar.gz#/python-llfuse-release-%{version}.tar.gz
+Patch0: fix-test-for-fusermount.patch
+BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
@@ -45,6 +43,7 @@
 %ifpython2
 Requires:   python-contextlib2
 %endif
+Obsoletes:  %{name}-docs
 %python_subpackages
 
 %description
@@ -54,29 +53,17 @@
 LLFUSE was originally part of S3QL, but has been factored out so that it can be
 used by other projects as well.
 
-%package -n %{name}-docs
-Summary:Documentation for the python bindings for the low-level FUSE 
API
-Group:  Development/Libraries/Python
-Requires:   %{name} = %{version}
-BuildArch:  noarch
-
-%description -n %{name}-docs
-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.
-
-LLFUSE was originally part of S3QL, but has been factored out so that it can be
-used by other projects as well.
-
-Documentation for the python bindings llfuse
-
 %prep
-%setup -q -n llfuse-%{version}
-%autopatch -p1
-
-rm doc/html/.buildinfo
+%setup -q -n python-llfuse-release-%{version}
+%patch0 -p1
 dos2unix README.rst
 
 %build
+%python_expand $python setup.py build_cython
+# fix-char-cast-to-unsigned-int
+sed -i 's|udata, i, padding_char);|udata, i, (unsigned char)padding_char);|' 
src/llfuse.c
+sed -i 's|udata, uoffset+i, chars\[i\]);|udata, uoffset+i, (unsigned 
char)chars\[i\]);|' src/llfuse.c
+
 %python_build
 
 %install
@@ -87,14 +74,11 @@
 # Note: There are some tests that are skipped because the user that
 # runs rpmbuild should be able to run fusermount but there's no way
 # to add it to the trusted group.
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m pytest 
test/ -rsx
+%pytest_arch
 
 %files %{python_files}
 %doc Changes.rst README.rst
 %license LICENSE
 %{python_sitearch}
 
-%files -n %{name}-docs
-%doc doc/html
-
 %changelog




commit python-llfuse for openSUSE:Factory

2018-09-28 Thread root
Hello community,

here is the log from the commit of package python-llfuse for openSUSE:Factory 
checked in at 2018-09-28 08:53:43

Comparing /work/SRC/openSUSE:Factory/python-llfuse (Old)
 and  /work/SRC/openSUSE:Factory/.python-llfuse.new (New)


Package is "python-llfuse"

Fri Sep 28 08:53:43 2018 rev:3 rq:638702 version:1.3.5

Changes:

--- /work/SRC/openSUSE:Factory/python-llfuse/python-llfuse.changes  
2018-08-24 17:04:03.694068367 +0200
+++ /work/SRC/openSUSE:Factory/.python-llfuse.new/python-llfuse.changes 
2018-09-28 08:54:04.345671003 +0200
@@ -1,0 +2,11 @@
+Wed Sep 19 15:25:58 UTC 2018 - Antonio Larrosa 
+
+- Update to version 1.3.5
+  * Add `handle_signals` option to `llfuse.main`
+  * Several fixes to `examples/passthroughfs.py`
+  * Now compatible with Python 3.7
+
+- Remove patch already in upstream.
+  * llfuse-attr-2.4.48.patch
+
+---

Old:

  llfuse-1.3.4.tar.bz2
  llfuse-1.3.4.tar.bz2.asc
  llfuse-attr-2.4.48.patch

New:

  llfuse-1.3.5.tar.bz2
  llfuse-1.3.5.tar.bz2.asc



Other differences:
--
++ python-llfuse.spec ++
--- /var/tmp/diff_new_pack.HXyuJV/_old  2018-09-28 08:54:05.101669916 +0200
+++ /var/tmp/diff_new_pack.HXyuJV/_new  2018-09-28 08:54:05.101669916 +0200
@@ -12,14 +12,14 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without python2
 Name:   python-llfuse
-Version:1.3.4
+Version:1.3.5
 Release:0
 Summary:Python Bindings for the low-level FUSE API
 License:LGPL-2.1-or-later
@@ -30,7 +30,6 @@
 Source1001: %{name}.keyring
 Patch0: fix-char-cast-to-unsigned-int.patch
 Patch1: fix-test-for-fusermount.patch
-Patch2: llfuse-attr-2.4.48.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}

++ llfuse-1.3.4.tar.bz2 -> llfuse-1.3.5.tar.bz2 ++
 7359 lines of diff (skipped)





commit python-llfuse for openSUSE:Factory

2018-08-24 Thread root
Hello community,

here is the log from the commit of package python-llfuse for openSUSE:Factory 
checked in at 2018-08-24 17:03:54

Comparing /work/SRC/openSUSE:Factory/python-llfuse (Old)
 and  /work/SRC/openSUSE:Factory/.python-llfuse.new (New)


Package is "python-llfuse"

Fri Aug 24 17:03:54 2018 rev:2 rq:62 version:1.3.4

Changes:

--- /work/SRC/openSUSE:Factory/python-llfuse/python-llfuse.changes  
2018-06-29 22:29:33.270340133 +0200
+++ /work/SRC/openSUSE:Factory/.python-llfuse.new/python-llfuse.changes 
2018-08-24 17:04:03.694068367 +0200
@@ -1,0 +2,8 @@
+Mon Aug 13 08:54:50 UTC 2018 - tchva...@suse.com
+
+- Add patch to build with new attr:
+  * llfuse-attr-2.4.48.patch
+- Drop contextlib2 dependency
+- Run tests unconditionally
+
+---

New:

  llfuse-attr-2.4.48.patch



Other differences:
--
++ python-llfuse.spec ++
--- /var/tmp/diff_new_pack.NUhWy5/_old  2018-08-24 17:04:04.106068855 +0200
+++ /var/tmp/diff_new_pack.NUhWy5/_new  2018-08-24 17:04:04.110068860 +0200
@@ -17,38 +17,35 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without test
+%bcond_without python2
 Name:   python-llfuse
 Version:1.3.4
 Release:0
 Summary:Python Bindings for the low-level FUSE API
-License:LGPL-2.1+
+License:LGPL-2.1-or-later
 Group:  Development/Libraries/Python
-Url:https://bitbucket.org/nikratio/python-llfuse/
+URL:https://bitbucket.org/nikratio/python-llfuse/
 Source: 
https://bitbucket.org/nikratio/python-llfuse/downloads/llfuse-%{version}.tar.bz2
 Source1000: 
https://bitbucket.org/nikratio/python-llfuse/downloads/llfuse-%{version}.tar.bz2.asc
 Source1001: %{name}.keyring
 Patch0: fix-char-cast-to-unsigned-int.patch
 Patch1: fix-test-for-fusermount.patch
+Patch2: llfuse-attr-2.4.48.patch
 BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module setuptools}
-%if %{with test}
 BuildRequires:  %{python_module pytest}
-%ifpython2
-BuildRequires:  python2-contextlib2
-%endif
-%endif
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  dos2unix
 BuildRequires:  fdupes
 BuildRequires:  fuse-devel >= 2.8.0
 BuildRequires:  libattr-devel
 BuildRequires:  python-rpm-macros
 Recommends: fuse
+%if %{with python2}
+BuildRequires:  python2-contextlib2
+%endif
 %ifpython2
 Requires:   python-contextlib2
 %endif
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-
 %python_subpackages
 
 %description
@@ -61,8 +58,8 @@
 %package -n %{name}-docs
 Summary:Documentation for the python bindings for the low-level FUSE 
API
 Group:  Development/Libraries/Python
-BuildArch:  noarch
 Requires:   %{name} = %{version}
+BuildArch:  noarch
 
 %description -n %{name}-docs
 LLFUSE is a set of Python bindings for the low level FUSE API. It requires at
@@ -75,8 +72,8 @@
 
 %prep
 %setup -q -n llfuse-%{version}
-%patch0 -p1
-%patch1 -p1
+%autopatch -p1
+
 rm doc/html/.buildinfo
 dos2unix README.rst
 
@@ -87,22 +84,18 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
-%if %{with test}
 %check
 # Note: There are some tests that are skipped because the user that
 # runs rpmbuild should be able to run fusermount but there's no way
 # to add it to the trusted group.
 %python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m pytest 
test/ -rsx
-%endif
 
 %files %{python_files}
-%defattr(-,root,root)
 %doc Changes.rst README.rst
 %license LICENSE
 %{python_sitearch}
 
 %files -n %{name}-docs
-%defattr(-,root,root)
 %doc doc/html
 
 %changelog


++ llfuse-attr-2.4.48.patch ++
# HG changeset patch
# User Eli Schwartz 
# Date 1530886366 14400
# Node ID cec107981b03c6c3e263f21009757dec76d129e2
# Parent  a93c251e647e665e1cb54fb4e2f3c993e43e14e1
Fix failure to build on attr v2.4.48

 no longer exists, see
https://git.savannah.gnu.org/cgit/attr.git/commit/?id=7921157890d07858d092f4003ca4c6bae9fd2c38

Downstream consumers are instructed to use  instead.
Add compat defines for ENOATTR.

diff --git a/src/xattr.h b/src/xattr.h
--- a/src/xattr.h
+++ b/src/xattr.h
@@ -25,7 +25,15 @@
  * Linux
  */
 #if PLATFORM == PLATFORM_LINUX
-#include 
+#include 
+/*
+ * 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