Blame python-scantree.spec

ffe26b0
%global srcname scantree
ffe26b0
ffe26b0
Name:           python-%{srcname}
ffe26b0
Version:        0.0.1
48f787a
Release:        7%{?dist}
ffe26b0
Summary:        Flexible recursive directory iterator
ffe26b0
ffe26b0
License:        MIT
ffe26b0
URL:            https://github.com/andhus/%{srcname}
ffe26b0
Source0:        https://github.com/andhus/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz
ffe26b0
ffe26b0
BuildArch:      noarch
ffe26b0
ffe26b0
%description
ffe26b0
Recursive directory iterator supporting:
ffe26b0
- flexible filtering including wildcard path matching
ffe26b0
- in memory representation of file-tree (for repeated access)
ffe26b0
- efficient access to directory entry properties (posix.DirEntry interface)
ffe26b0
  extended with real path and path relative to the recursion root directory
ffe26b0
- detection and handling of cyclic symlinks
ffe26b0
ffe26b0
ffe26b0
%package -n python%{python3_pkgversion}-%{srcname}
ffe26b0
Summary:        %{summary}
ffe26b0
BuildRequires:  python%{python3_pkgversion}-devel
ffe26b0
BuildRequires:  python%{python3_pkgversion}-pytest
ffe26b0
ffe26b0
%description -n python%{python3_pkgversion}-%{srcname}
ffe26b0
Recursive directory iterator supporting:
ffe26b0
- flexible filtering including wildcard path matching
ffe26b0
- in memory representation of file-tree (for repeated access)
ffe26b0
- efficient access to directory entry properties (posix.DirEntry interface)
ffe26b0
  extended with real path and path relative to the recursion root directory
ffe26b0
- detection and handling of cyclic symlinks
ffe26b0
ffe26b0
ffe26b0
%prep
ffe26b0
%autosetup -p1 -n %{srcname}-%{version}
ffe26b0
ffe26b0
%generate_buildrequires
ffe26b0
%pyproject_buildrequires
ffe26b0
ffe26b0
ffe26b0
%build
ffe26b0
%pyproject_wheel
ffe26b0
ffe26b0
ffe26b0
%install
ffe26b0
%pyproject_install
ffe26b0
%pyproject_save_files %{srcname}
ffe26b0
ffe26b0
ffe26b0
%check
ffe26b0
%pytest
ffe26b0
ffe26b0
ffe26b0
%files -n python%{python3_pkgversion}-%{srcname} -f %{pyproject_files}
ffe26b0
%doc README.md
ffe26b0
ffe26b0
ffe26b0
%changelog
48f787a
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1-7
48f787a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
48f787a
4d8d8f8
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1-6
4d8d8f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
4d8d8f8
30edf61
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1-5
30edf61
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
30edf61
01f1fad
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 0.0.1-4
01f1fad
- Rebuilt for Python 3.12
01f1fad
2e45d1e
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1-3
2e45d1e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2e45d1e
ffe26b0
* Wed Jul 27 2022 Scott K Logan <logans@cottsay.net> - 0.0.1-2
ffe26b0
- Convert to use pyproject-rpm-macros
ffe26b0
ffe26b0
* Wed Jul 27 2022 Scott K Logan <logans@cottsay.net> - 0.0.1-1
ffe26b0
- Initial package (rhbz#2111672)