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
This commit is contained in:
commit
cd8622b6f4
@ -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.8.tar.gz
Normal file
3
python-fuse-1.0.8.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:50fd95dc966adf419d6afccf69bf8cb4814bf4b5b93c051308da6fc9de982912
|
||||
size 54289
|
@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -18,14 +18,12 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-fuse
|
||||
Version: 1.0.7
|
||||
Version: 1.0.8
|
||||
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
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
|
Loading…
Reference in New Issue
Block a user