1942443
%global srcname fs
1942443
1942443
Name:           python-%{srcname}
1942443
Version:        2.4.11
b368e63
Release:        12%{?dist}
1942443
Summary:        Python's Filesystem abstraction layer
1942443
1942443
License:        MIT
1942443
URL:            https://pypi.org/project/fs/
1942443
Source0:        https://github.com/PyFilesystem/pyfilesystem2/archive/v%{version}/%{srcname}-%{version}.tar.gz
152e917
Patch0:         fix-for-py3.9-release.patch
1942443
1942443
BuildArch:      noarch
1942443
BuildRequires:  python3-devel
3c7070b
BuildRequires:  python3-setuptools
1942443
1942443
BuildRequires:  python3dist(appdirs)
1942443
BuildRequires:  python3dist(pytz)
1942443
BuildRequires:  python3dist(six)
1942443
# Required for running tests
1942443
BuildRequires:  python3dist(pytest)
1942443
BuildRequires:  python3dist(pytest-randomly)
1942443
1942443
1942443
%global _description %{expand:
1942443
Think of PyFilesystem's FS objects as the next logical step to Python's file
1942443
objects. In the same way that file objects abstract a single file, FS objects
1942443
abstract an entire filesystem.}
1942443
1942443
%description %_description
1942443
1942443
%package -n python3-%{srcname}
1942443
Summary:        %{summary}
1942443
%{?python_provide:%python_provide python3-%{srcname}}
1942443
1942443
%description -n python3-%{srcname} %_description
1942443
1942443
%prep
152e917
%autosetup -n pyfilesystem2-%{version} -p1
1942443
1942443
%build
1942443
%py3_build
1942443
1942443
%install
1942443
%py3_install
1942443
1942443
%check
1942443
# tests/test_ftpfs.py needs pyftpdlib (not packaged yet)
152e917
%{python3} -m pytest --ignore tests/test_ftpfs.py --ignore tests/test_osfs.py --ignore tests/test_subfs.py --ignore tests/test_tempfs.py
1942443
1942443
%files -n python3-%{srcname}
1942443
%license LICENSE
1942443
%doc README.md
1942443
%{python3_sitelib}/%{srcname}-*.egg-info/
1942443
%{python3_sitelib}/%{srcname}/
1942443
1942443
%changelog
b368e63
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.11-12
b368e63
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
b368e63
570c957
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 2.4.11-11
570c957
- Rebuilt for Python 3.11
570c957
61c6cd0
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.11-10
61c6cd0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
61c6cd0
587e0ea
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.11-9
587e0ea
- Second attempt - Rebuilt for
587e0ea
  https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
587e0ea
ec14122
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.4.11-8
ec14122
- Rebuilt for Python 3.10
ec14122
a0c0a7b
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.11-7
a0c0a7b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
a0c0a7b
0b718be
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.11-6
0b718be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0b718be
3c7070b
* Wed Jun 24 2020 Parag Nemade <pnemade AT redhat DOT com> - 2.4.11-5
3c7070b
- Add missing BR: python3-setuptools
3c7070b
152e917
* Mon Jun 01 2020 Parag Nemade <pnemade AT redhat DOT com> - 2.4.11-4
152e917
- Disable few tests temporary for now (rhbz#1820916, rhbz#1841708)
152e917
f4767d1
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 2.4.11-3
f4767d1
- Rebuilt for Python 3.9
f4767d1
1942443
* Mon Mar 30 2020 Parag Nemade <pnemade AT redhat DOT com> - 2.4.11-2
1942443
- enable tests and use upstream source tarball
1942443
1942443
* Mon Mar 30 2020 Parag Nemade <pnemade AT redhat DOT com> - 2.4.11-1
1942443
- Initial packaging
1942443