forked from pool/python-fuse
Compare commits
7 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 93a9bbe5a8 | |||
| 1d5819578d | |||
| ea9e65d9d5 | |||
| 742db27319 | |||
| 9aff83a027 | |||
| 401c8943ee | |||
| 923d8c1f16 |
3
_multibuild
Normal file
3
_multibuild
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<multibuild>
|
||||||
|
<package>test</package>
|
||||||
|
</multibuild>
|
||||||
@@ -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
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,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>
|
Wed Sep 4 08:16:03 UTC 2024 - Frantisek Simorda <frantisek.simorda@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-fuse
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,17 +17,29 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-fuse
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
Version: 1.0.8
|
%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
|
Release: 0
|
||||||
Summary: Python bindings for FUSE
|
Summary: Python bindings for FUSE
|
||||||
License: LGPL-2.1-only
|
License: LGPL-2.1-only
|
||||||
URL: https://github.com/libfuse/python-fuse
|
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 devel}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module fuse = %{version}}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
%endif
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: fuse-devel
|
BuildRequires: fuse-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
@@ -37,26 +49,44 @@ BuildRequires: python-rpm-macros
|
|||||||
%description
|
%description
|
||||||
Python bindings for FUSE (User space File System)
|
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
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1 -n python-fuse-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if %{without test}
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%if %{without test}
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
%endif
|
||||||
|
|
||||||
%check
|
%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}
|
%files %{python_files}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc README.* FAQ AUTHORS
|
|
||||||
%{python_sitearch}/fuse.py
|
%{python_sitearch}/fuse.py
|
||||||
%pycache_only %{python_sitearch}/__pycache__/fuse*.py*
|
%pycache_only %{python_sitearch}/__pycache__/fuse*.py*
|
||||||
%{python_sitearch}/fuseparts
|
%{python_sitearch}/fuseparts
|
||||||
%{python_sitearch}/fuse_python-%{version}.dist-info
|
%{python_sitearch}/fuse_python-%{version}.dist-info
|
||||||
|
|
||||||
|
%files -n %{name}-doc
|
||||||
|
%doc README.* FAQ AUTHORS example
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user