Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX
python-fs
python-fs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-fs.spec of Package python-fs
# # spec file for package python-fs # # Copyright (c) 2024 SUSE LLC # Copyright (c) 2016 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?sle15_python_module_pythons} Name: python-fs Version: 2.4.16 Release: 0 Summary: Python's filesystem abstraction layer License: MIT URL: https://github.com/PyFilesystem/pyfilesystem2 Source: https://files.pythonhosted.org/packages/source/f/fs/fs-%{version}.tar.gz # PATCH-FIX-UPSTREAM gh#PyFilesystem/pyfilesystem2#570 Patch0: support-python-312.patch BuildRequires: %{python_module appdirs >= 1.4.3} BuildRequires: %{python_module parameterized} BuildRequires: %{python_module pip} BuildRequires: %{python_module psutil} BuildRequires: %{python_module pyftpdlib} BuildRequires: %{python_module pysendfile} BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytz} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.10.0} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-appdirs >= 1.4.3 Requires: python-psutil Requires: python-pytz Requires: python-setuptools Requires: python-six >= 1.10.0 Recommends: python-pyftpdlib BuildArch: noarch %python_subpackages %description PyFilesystem is an abstraction layer for filesystems. In the same way that Python's file-like objects provide a common way of accessing files, PyFilesystem provides a common way of accessing entire filesystems. You can write platform-independent code to work with local files, that also works with any of the supported filesystems (zip, ftp, S3 etc.). %prep %autosetup -p1 -n fs-%{version} sed -i -e '/install_requires/,/bdist_wheel/ s:~=:>=:g' setup.cfg %build %pyproject_wheel %install %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check export LANG=en_US.UTF-8 %pytest -k 'not (TestFTPFS and test_create or TestReadZipFSMem and test_seek)' %files %{python_files} %doc README.md %license LICENSE %{python_sitelib}/fs %{python_sitelib}/fs-%{version}.dist-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor