9 Commits

Author SHA256 Message Date
cad0997f7c 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
af5917c193 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
672626c7ad 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
e527b1c30e - 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
fbd4592315 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
de76920095 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
972dad1d65 - 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
dc05e4c794 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
8b6c96943e Accepting request 1198663 from home:frantisek.simorda:branches:openSUSE:Factory
- update to 1.0.8:
  * Add README.cups.md
  * Do not unilaterally import distutils in setup.py 
  * Add support for objects that support buffer protocol for "read" calls
  * Remove trailing space on files
  * CI: Add workflow to build Python wheels
  * Fix setup.py uninitialized variables issue
  * Build sdist in CI
  * Add cp310 wheel to CI
  * CI: Add workaround for broken py 3.5 in GitHub Actions.
- dropped patch: no-more-distutils.patch - no longer needed.

OBS-URL: https://build.opensuse.org/request/show/1198663
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fuse?expand=0&rev=22
2024-09-04 12:04:33 +00:00
6 changed files with 71 additions and 41 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

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,31 @@
-------------------------------------------------------------------
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>
- update to 1.0.8:
* Add README.cups.md
* Do not unilaterally import distutils in setup.py
* Add support for objects that support buffer protocol for "read" calls
* Remove trailing space on files
* CI: Add workflow to build Python wheels
* Fix setup.py uninitialized variables issue
* Build sdist in CI
* Add cp310 wheel to CI
* CI: Add workaround for broken py 3.5 in GitHub Actions.
- dropped patch: no-more-distutils.patch - no longer needed.
-------------------------------------------------------------------
Tue Jan 16 04:58:18 UTC 2024 - Steve Kowalik <steven.kowalik@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,19 +17,29 @@
%{?sle15_python_module_pythons}
Name: python-fuse
Version: 1.0.7
%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
# PATCH-FIX-UPSTREAM gh#libfuse/python-fuse#58
Patch0: no-more-distutils.patch
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
@@ -39,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