SHA256
1
0
forked from pool/python-fuse

30 Commits

Author SHA256 Message Date
93a9bbe5a8 Accepting request 1254139 from devel:languages:python
- Update to 1.0.9:
  - Update AUTHORS
  - Demonstrate basic possibility to test with pytest
  - When getting string size, count UTF8 bytes
  - CI: add python 3.13
  - pull PyCapsule_New() into the PYLOCK() section in poll_func()
- Separate documentation to separate subpackage.
- Add examples subdirectory to that documentation.
- Make the test suite running.

OBS-URL: https://build.opensuse.org/request/show/1254139
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fuse?expand=0&rev=15
2025-03-18 16:46:28 +00:00
1d5819578d Remove additional primary multibuild step.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fuse?expand=0&rev=29
2025-03-18 13:18:59 +00:00
ea9e65d9d5 Skip test_fioc, fails on many platforms
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fuse?expand=0&rev=28
2025-03-18 10:54:19 +00:00
742db27319 - Update to 1.0.9:
- Update AUTHORS
  - Demonstrate basic possibility to test with pytest
  - When getting string size, count UTF8 bytes
  - CI: add python 3.13
  - pull PyCapsule_New() into the PYLOCK() section in poll_func()

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fuse?expand=0&rev=27
2025-03-18 10:43:32 +00:00
9aff83a027 Fix tarball name
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fuse?expand=0&rev=26
2025-03-17 10:41:19 +00:00
401c8943ee Fix tarball name
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fuse?expand=0&rev=25
2025-03-17 10:26:39 +00:00
923d8c1f16 - Separate documentation to separate subpackage.
- Add examples subdirectory to that documentation.
- Make the test suite running.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fuse?expand=0&rev=24
2025-03-17 10:20:32 +00:00
cd8622b6f4 Accepting request 1198699 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1198699
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fuse?expand=0&rev=14
2024-09-05 13:46:49 +00:00
f26c8a6aaf Accepting request 1139060 from devel:languages:python
- Add patch no-more-distutils.patch:
  * Stop using distutils unilaterally.
- Switch to autosetup and pyproject macros.
- Be more clear about files in %files.

OBS-URL: https://build.opensuse.org/request/show/1139060
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fuse?expand=0&rev=13
2024-01-16 20:38:24 +00:00
fc2cb03eaa - Add patch no-more-distutils.patch:
* Stop using distutils unilaterally.
- Switch to autosetup and pyproject macros.
- Be more clear about files in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fuse?expand=0&rev=20
2024-01-16 04:59:42 +00:00
04017aedaa Accepting request 1130802 from devel:languages:python
- update to 1.0.7:
  * Suppress SyntaxWarnings in python3.12
  * Doc: Minor spelling fixes
- update to 1.0.6:
  * Python 3.12 compatibility.

  * Use bytes objects for read and write data: please note that
    Python 3; it's worth it however since it fixes a serious
    usability bug that arbitrarily limited file content to valid
        Fix generation of MANIFEST.in in make_release.sh

OBS-URL: https://build.opensuse.org/request/show/1130802
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fuse?expand=0&rev=12
2023-12-04 22:02:26 +00:00
e1a9286305 - update to 1.0.7:
* Suppress SyntaxWarnings in python3.12
  * Doc: Minor spelling fixes
- update to 1.0.6:
  * Python 3.12 compatibility.
  * Use bytes objects for read and write data: please note that
    Python 3; it's worth it however since it fixes a serious
    usability bug that arbitrarily limited file content to valid
        Fix generation of MANIFEST.in in make_release.sh

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fuse?expand=0&rev=18
2023-12-04 14:39:19 +00:00
fc234462f7 Accepting request 1097115 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1097115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fuse?expand=0&rev=11
2023-07-06 16:30:05 +00:00
d38c5530ae Accepting request 1097100 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1097100
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fuse?expand=0&rev=16
2023-07-06 11:21:04 +00:00
4ba9419777 Accepting request 1055996 from devel:languages:python
- update to v1.0.5:
  * Fix issue with python 3.10

OBS-URL: https://build.opensuse.org/request/show/1055996
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fuse?expand=0&rev=10
2023-01-05 14:00:41 +00:00
a36379c272 - update to v1.0.5:
* Fix issue with python 3.10

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fuse?expand=0&rev=14
2023-01-04 20:08:42 +00:00
be2a274afd Accepting request 948239 from devel:languages:python
- update to 1.0.4:
  * Improve path handling for Python >= 3.6
  * fix race in xmp.py
  * fix surrogateescape handling in fsyncdir/readdir/write
  * unbreak xmp.py for python2
  * fix object leak in open_func()
  * fix temporary objects leak

OBS-URL: https://build.opensuse.org/request/show/948239
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fuse?expand=0&rev=9
2022-01-23 18:13:21 +00:00
18c1298a78 - update to 1.0.4:
* Improve path handling for Python >= 3.6
  * fix race in xmp.py
  * fix surrogateescape handling in fsyncdir/readdir/write
  * unbreak xmp.py for python2
  * fix object leak in open_func()
  * fix temporary objects leak

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fuse?expand=0&rev=13
2022-01-23 16:22:04 +00:00
28b19fb1f3 Accepting request 854529 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/854529
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fuse?expand=0&rev=8
2020-12-10 14:59:10 +00:00
4a059fbd48 Accepting request 854280 from home:andythe_great:branches:devel:languages:python
- Update to version 1.0.0.
  * Add poll support.
  * Use bytes objects for read and write data: please note that 
    while this has no effect on Python 2,it is a breaking change in
    Python 3; it's worth it however since it fixes a serious 
    usability bug that arbitrarily limited file content to valid 
    UTF-8 data.

OBS-URL: https://build.opensuse.org/request/show/854280
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fuse?expand=0&rev=11
2020-12-10 10:54:22 +00:00
7a58c83956 Accepting request 625821 from devel:languages:python
- Clean SPEC file

- singlespec auto-conversion

OBS-URL: https://build.opensuse.org/request/show/625821
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fuse?expand=0&rev=7
2018-07-28 10:45:28 +00:00
9e8b3974af Accepting request 618112 from devel:languages:python:singlespec-staging
Clean SPEC file

OBS-URL: https://build.opensuse.org/request/show/618112
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fuse?expand=0&rev=9
2018-06-20 16:37:04 +00:00
Stephan Kulow
3740304a7e Accepting request 102953 from devel:languages:python
spec file clean up - no end user impact except it now builds for SLE_11

OBS-URL: https://build.opensuse.org/request/show/102953
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fuse?expand=0&rev=2
2012-02-14 10:26:31 +00:00
Greg Freemyer
d5164493f2 Accepting request 102952 from home:gregfreemyer:Tools-for-forensic-boot-cd
a small specfile cleanum

OBS-URL: https://build.opensuse.org/request/show/102952
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fuse?expand=0&rev=7
2012-02-07 00:09:26 +00:00
Stephan Kulow
6f40ae26cd Accepting request 102091 from devel:languages:python
Resubmitting with correct license.

This library is "required" by libewf in the security repo for its apps to work.  I tested the apps with this library.  I will submit libewf once this is in factory.

OBS-URL: https://build.opensuse.org/request/show/102091
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fuse?expand=0&rev=1
2012-02-01 08:59:36 +00:00
Greg Freemyer
bb23e2683f Accepting request 102303 from home:gregfreemyer:Tools-for-forensic-boot-cd
Minor spec file clean up.  No end user impact.

OBS-URL: https://build.opensuse.org/request/show/102303
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fuse?expand=0&rev=5
2012-01-31 22:56:39 +00:00
Sascha Peilicke
8907222061 - Fix SLE_11 build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fuse?expand=0&rev=4
2012-01-31 14:51:05 +00:00
Greg Freemyer
3ab7e026ff OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fuse?expand=0&rev=3 2012-01-30 16:54:33 +00:00
Sascha Peilicke
915e1fa66b Accepting request 101888 from home:gregfreemyer:Tools-for-forensic-boot-cd
Upgrade from v0.2 to v0.2.1

OBS-URL: https://build.opensuse.org/request/show/101888
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fuse?expand=0&rev=2
2012-01-30 10:37:57 +00:00
Cristian Rodríguez
8bc9eea52a Accepting request 71749 from openSUSE:Factory:Contrib
please review, contrib cleanup

OBS-URL: https://build.opensuse.org/request/show/71749
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fuse?expand=0&rev=1
2011-05-30 22:58:23 +00:00
7 changed files with 56 additions and 42 deletions

3
_multibuild Normal file
View File

@@ -0,0 +1,3 @@
<multibuild>
<package>test</package>
</multibuild>

View File

@@ -1,29 +0,0 @@
From 24039401245c6ba3bfb991e690a8ad85480845a4 Mon Sep 17 00:00:00 2001
From: Steve Kowalik <steven@wedontsleep.org>
Date: Tue, 16 Jan 2024 15:43:17 +1100
Subject: [PATCH] Do not unilaterally import distutils in setup.py
Python 3.12 removed distutils completly, so also attempt to import
Extension from setuptools, and if that fails, to import it from
distutils.
---
setup.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/setup.py b/setup.py
index 1d420b8..292ea8f 100755
--- a/setup.py
+++ b/setup.py
@@ -7,10 +7,9 @@
# part of the icecast project, http://svn.xiph.org/icecast/trunk/shout-python)
try:
- from setuptools import setup
+ from setuptools import setup, Extension
except ImportError:
- from distutils.core import setup
-from distutils.core import Extension
+ from distutils.core import setup, Extension
import os
import sys

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6273b1eb99259923fbae4e56257359d01a893243e1804a8bd23a72528c7ee1c6
size 46947

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:50fd95dc966adf419d6afccf69bf8cb4814bf4b5b93c051308da6fc9de982912
size 54289

3
python-fuse-1.0.9.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d6a0add7b06870091050fda52b7893d76ed3dd38cfbc5a351842e1940a1d8b33
size 55688

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Mar 17 10:20:11 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Update to 1.0.9:
- Update AUTHORS
- Demonstrate basic possibility to test with pytest
- When getting string size, count UTF8 bytes
- CI: add python 3.13
- pull PyCapsule_New() into the PYLOCK() section in poll_func()
- Separate documentation to separate subpackage.
- Add examples subdirectory to that documentation.
- Make the test suite running.
-------------------------------------------------------------------
Wed Sep 4 08:16:03 UTC 2024 - Frantisek Simorda <frantisek.simorda@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-fuse
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,17 +17,29 @@
%{?sle15_python_module_pythons}
Name: python-fuse
Version: 1.0.8
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
%bcond_without test
%else
%define psuffix %{nil}
%bcond_with test
%endif
Name: python-fuse%{psuffix}
Version: 1.0.9
Release: 0
Summary: Python bindings for FUSE
License: LGPL-2.1-only
URL: https://github.com/libfuse/python-fuse
Source: https://github.com/libfuse/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source0: https://github.com/libfuse/python-fuse/archive/v%{version}.tar.gz#/python-fuse-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
%if %{with test}
BuildRequires: %{python_module fuse = %{version}}
BuildRequires: %{python_module pytest}
%endif
BuildRequires: fdupes
BuildRequires: fuse-devel
BuildRequires: pkgconfig
@@ -37,26 +49,44 @@ BuildRequires: python-rpm-macros
%description
Python bindings for FUSE (User space File System)
%package -n %{name}-doc
Summary: Documentation files for %name
Group: Documentation/Other
%description -n %{name}-doc
HTML Documentation and examples for %name.
%prep
%autosetup -p1
%autosetup -p1 -n python-fuse-%{version}
%build
%if %{without test}
export CFLAGS="%{optflags}"
%pyproject_wheel
%endif
%install
%if %{without test}
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%endif
%check
# Can not figured how to do it.
%if %{with test}
# gh#libfuse/python-fuse#94
%pytest tests -k 'not test_fioc'
%endif
%if %{without test}
%files %{python_files}
%license COPYING
%doc README.* FAQ AUTHORS
%{python_sitearch}/fuse.py
%pycache_only %{python_sitearch}/__pycache__/fuse*.py*
%{python_sitearch}/fuseparts
%{python_sitearch}/fuse_python-%{version}.dist-info
%files -n %{name}-doc
%doc README.* FAQ AUTHORS example
%endif
%changelog