Compare commits
9 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| cad0997f7c | |||
| af5917c193 | |||
| 672626c7ad | |||
| e527b1c30e | |||
| fbd4592315 | |||
| de76920095 | |||
| 972dad1d65 | |||
| dc05e4c794 | |||
| 8b6c96943e |
3
_multibuild
Normal file
3
_multibuild
Normal file
@@ -0,0 +1,3 @@
|
||||
<multibuild>
|
||||
<package>test</package>
|
||||
</multibuild>
|
||||
@@ -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
|
||||
|
||||
@@ -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
3
python-fuse-1.0.9.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d6a0add7b06870091050fda52b7893d76ed3dd38cfbc5a351842e1940a1d8b33
|
||||
size 55688
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user