rdobuilder 837aed
%global srcname distlib
rdobuilder 837aed
%bcond_without check
rdobuilder 837aed
rdobuilder 837aed
Name:       python-distlib
rdobuilder 837aed
Version:    0.3.9
rdobuilder 837aed
Release:    1%{?dist}
rdobuilder 837aed
Summary:    Low-level components of distutils2/packaging, augmented with higher-level APIs
rdobuilder 837aed
rdobuilder 837aed
# Automatically converted from old format: Python - review is highly recommended.
rdobuilder 837aed
License:    LicenseRef-Callaway-Python
rdobuilder 837aed
URL:        https://readthedocs.org/projects/distlib/
rdobuilder 837aed
Source0:    %pypi_source %{srcname} %{version}
rdobuilder 837aed
rdobuilder 837aed
BuildArch:  noarch
rdobuilder 837aed
rdobuilder 837aed
BuildRequires:  python%{python3_pkgversion}-devel
rdobuilder 837aed
BuildRequires:  python%{python3_pkgversion}-pytest
rdobuilder 837aed
BuildRequires:  python%{python3_pkgversion}-test
rdobuilder 837aed
BuildRequires:  pyproject-rpm-macros
rdobuilder 837aed
rdobuilder 837aed
%description
rdobuilder 837aed
Distlib contains the implementations of the packaging PEPs and other low-level
rdobuilder 837aed
features which relate to packaging, distribution and deployment of Python
rdobuilder 837aed
software. If Distlib can be made genuinely useful, then it is possible for
rdobuilder 837aed
third-party packaging tools to transition to using it. Their developers and
rdobuilder 837aed
users then benefit from standardised implementation of low-level functions,
rdobuilder 837aed
time saved by not having to reinvent wheels, and improved interoperability
rdobuilder 837aed
between tools.
rdobuilder 837aed
rdobuilder 837aed
%package -n python%{python3_pkgversion}-%{srcname}
rdobuilder 837aed
Summary: Low-level components of distutils2/packaging, augmented with higher-level APIs
rdobuilder 837aed
rdobuilder 837aed
%description -n python%{python3_pkgversion}-%{srcname}
rdobuilder 837aed
Distlib contains the implementations of the packaging PEPs and other low-level
rdobuilder 837aed
features which relate to packaging, distribution and deployment of Python
rdobuilder 837aed
software. If Distlib can be made genuinely useful, then it is possible for
rdobuilder 837aed
third-party packaging tools to transition to using it. Their developers and
rdobuilder 837aed
users then benefit from standardised implementation of low-level functions,
rdobuilder 837aed
time saved by not having to reinvent wheels, and improved interoperability
rdobuilder 837aed
between tools.
rdobuilder 837aed
rdobuilder 837aed
%prep
rdobuilder 837aed
%autosetup -p1 -n %{srcname}-%{version}
rdobuilder 837aed
rdobuilder 837aed
rm distlib/*.exe
rdobuilder 837aed
rdobuilder 837aed
%generate_buildrequires
rdobuilder 837aed
%pyproject_buildrequires
rdobuilder 837aed
rdobuilder 837aed
%build
rdobuilder 837aed
%pyproject_wheel
rdobuilder 837aed
rdobuilder 837aed
%install
rdobuilder 837aed
%pyproject_install
rdobuilder 837aed
%pyproject_save_files %{srcname}
rdobuilder 837aed
rdobuilder 837aed
%if %{with check}
rdobuilder 837aed
%check
rdobuilder 837aed
export PYTHONHASHSEED=0
rdobuilder 837aed
# Some tests require network access
rdobuilder 837aed
export SKIP_ONLINE=1
rdobuilder 837aed
# test_sequencer_basic test fails due to relying
rdobuilder 837aed
# on the ordering of the input, hence disabling it.
rdobuilder 837aed
# https://github.com/pypa/distlib/issues/161
rdobuilder 837aed
%pytest -k "not test_sequencer_basic"
rdobuilder 837aed
%endif # with_tests
rdobuilder 837aed
rdobuilder 837aed
%files -n python%{python3_pkgversion}-%{srcname} -f %pyproject_files
rdobuilder 837aed
%doc README.rst
rdobuilder 837aed
rdobuilder 837aed
%changelog
rdobuilder 837aed
* Tue Oct 15 2024 Charalampos Stratakis <cstratak@redhat.com> - 0.3.9-1
rdobuilder 837aed
- Update to 0.3.9
rdobuilder 837aed
Resolves: rhbz#2317657
rdobuilder 837aed
rdobuilder 837aed
* Wed Sep 04 2024 Miroslav Suchý <msuchy@redhat.com> - 0.3.8-4
rdobuilder 837aed
- convert license to SPDX
rdobuilder 837aed
rdobuilder 837aed
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-3
rdobuilder 837aed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
rdobuilder 837aed
rdobuilder 837aed
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 0.3.8-2
rdobuilder 837aed
- Rebuilt for Python 3.13
rdobuilder 837aed
rdobuilder 837aed
* Tue Feb 20 2024 Karolina Surma <ksurma@redhat.com> - 0.3.8-1
rdobuilder 837aed
- Update to 0.3.8
rdobuilder 837aed
Resolves: rhbz#2254141
rdobuilder 837aed
rdobuilder 837aed
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.7-3
rdobuilder 837aed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
rdobuilder 837aed
rdobuilder 837aed
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.7-2
rdobuilder 837aed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
rdobuilder 837aed
rdobuilder 837aed
* Mon Aug 28 2023 Charalampos Stratakis <cstratak@redhat.com> - 0.3.7-1
rdobuilder 837aed
- Update to 0.3.7
rdobuilder 837aed
Resolves: rhbz#2223302
rdobuilder 837aed
rdobuilder 837aed
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-4
rdobuilder 837aed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
rdobuilder 837aed
rdobuilder 837aed
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.3.6-3
rdobuilder 837aed
- Rebuilt for Python 3.12
rdobuilder 837aed
rdobuilder 837aed
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-2
rdobuilder 837aed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
rdobuilder 837aed
rdobuilder 837aed
* Thu Oct 27 2022 Lumír Balhar <lbalhar@redhat.com> - 0.3.6-1
rdobuilder 837aed
- Update to 0.3.6
rdobuilder 837aed
rdobuilder 837aed
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-5
rdobuilder 837aed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
rdobuilder 837aed
rdobuilder 837aed
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.3.4-4
rdobuilder 837aed
- Rebuilt for Python 3.11
rdobuilder 837aed
rdobuilder 837aed
* Wed Mar 23 2022 Charalampos Stratakis <cstratak@redhat.com> - 0.3.4-3
rdobuilder 837aed
- Disable a flaky test
rdobuilder 837aed
Fixes: rhbz#2033200
rdobuilder 837aed
rdobuilder 837aed
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-2
rdobuilder 837aed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
rdobuilder 837aed
rdobuilder 837aed
* Wed Dec 08 2021 Charalampos Stratakis <cstratak@redhat.com> - 0.3.4-1
rdobuilder 837aed
- Update to 0.3.4 (#2030405)
rdobuilder 837aed
rdobuilder 837aed
* Thu Dec 02 2021 Charalampos Stratakis <cstratak@redhat.com> - 0.3.3-1
rdobuilder 837aed
- Update to 0.3.3 (#2006679)
rdobuilder 837aed
rdobuilder 837aed
* Tue Aug 03 2021 Charalampos Stratakis <cstratak@redhat.com> - 0.3.2-1
rdobuilder 837aed
- Update to 0.3.2 (#1965756)
rdobuilder 837aed
rdobuilder 837aed
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-6
rdobuilder 837aed
- Second attempt - Rebuilt for
rdobuilder 837aed
  https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
rdobuilder 837aed
rdobuilder 837aed
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 0.3.1-5
rdobuilder 837aed
- Rebuilt for Python 3.10
rdobuilder 837aed
rdobuilder 837aed
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-4
rdobuilder 837aed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
rdobuilder 837aed
rdobuilder 837aed
* Fri Sep 11 2020 Charalampos Stratakis <cstratak@redhat.com> - 0.3.1-3
rdobuilder 837aed
- Convert the package to pyproject macros
rdobuilder 837aed
rdobuilder 837aed
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-2
rdobuilder 837aed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
rdobuilder 837aed
rdobuilder 837aed
* Wed Jul 01 2020 Charalampos Stratakis <cstratak@redhat.com> - 0.3.1-1
rdobuilder 837aed
- Update to 0.3.1 (#1851644)
rdobuilder 837aed
rdobuilder 837aed
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.3.0-2
rdobuilder 837aed
- Rebuilt for Python 3.9
rdobuilder 837aed
rdobuilder 837aed
* Thu Mar 19 2020 Tomas Hrnciar <thrnciar@redhat.com> - 0.3.0-1
rdobuilder 837aed
- Update to 0.3.0
rdobuilder 837aed
rdobuilder 837aed
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.7-7
rdobuilder 837aed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
rdobuilder 837aed
rdobuilder 837aed
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.7-6
rdobuilder 837aed
- Rebuilt for Python 3.8.0rc1 (#1748018)
rdobuilder 837aed
rdobuilder 837aed
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.7-5
rdobuilder 837aed
- Rebuilt for Python 3.8
rdobuilder 837aed
rdobuilder 837aed
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.7-4
rdobuilder 837aed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
rdobuilder 837aed
rdobuilder 837aed
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.7-3
rdobuilder 837aed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
rdobuilder 837aed
rdobuilder 837aed
* Tue Oct 02 2018 Charalampos Stratakis <cstratak@redhat.com> - 0.2.7-2
rdobuilder 837aed
- Remove the python2 subpackage
rdobuilder 837aed
rdobuilder 837aed
* Mon Jul 30 2018 Miro Hrončok <mhroncok@redhat.com> - 0.2.7-1
rdobuilder 837aed
- Update to 0.2.7
rdobuilder 837aed
rdobuilder 837aed
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-9
rdobuilder 837aed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
rdobuilder 837aed
rdobuilder 837aed
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.2.3-8
rdobuilder 837aed
- Rebuilt for Python 3.7
rdobuilder 837aed
rdobuilder 837aed
* Sat Apr 14 2018 Miro Hrončok <mhroncok@redhat.com> - 0.2.3-7
rdobuilder 837aed
- Fix the license tag
rdobuilder 837aed
rdobuilder 837aed
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-6
rdobuilder 837aed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
rdobuilder 837aed
rdobuilder 837aed
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-5
rdobuilder 837aed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
rdobuilder 837aed
rdobuilder 837aed
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-4
rdobuilder 837aed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
rdobuilder 837aed
rdobuilder 837aed
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.2.3-3
rdobuilder 837aed
- Rebuild for Python 3.6
rdobuilder 837aed
rdobuilder 837aed
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-2
rdobuilder 837aed
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
rdobuilder 837aed
rdobuilder 837aed
* Mon May 16 2016 Charalampos Stratakis <cstratak@redhat.com> 0.2.3-1
rdobuilder 837aed
- Update to 0.2.3
rdobuilder 837aed
- Add the license tag
rdobuilder 837aed
- Use modern python RPM macros
rdobuilder 837aed
- Provide a python 2 subpackage
rdobuilder 837aed
- Use the python provides macros
rdobuilder 837aed
- Changed to newest pypi URL format
rdobuilder 837aed
rdobuilder 837aed
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-3
rdobuilder 837aed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
rdobuilder 837aed
rdobuilder 837aed
* Mon Nov 23 2015 Matej Stuchlik <mstuchli@redhat.com> - 0.2.1-2
rdobuilder 837aed
- Update to 0.2.1
rdobuilder 837aed
rdobuilder 837aed
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.9-3
rdobuilder 837aed
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
rdobuilder 837aed
rdobuilder 837aed
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.9-2
rdobuilder 837aed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
rdobuilder 837aed
rdobuilder 837aed
* Thu Jun 05 2014 Matej Stuchlik <mstuchli@redhat.com> - 0.1.9-1
rdobuilder 837aed
- Initial spec