Blame python-pep517.spec

ba103d1
%global pypi_name pep517
ba103d1
ba103d1
Name:           python-%{pypi_name}
f69d233
Version:        0.13.0
f69d233
Release:        1%{?dist}
ba103d1
Summary:        Wrappers to build Python packages using PEP 517 hooks
ba103d1
ba103d1
%bcond_without tests
ba103d1
ba103d1
# colorlog.py is "copied from Tornado", Apache licensed
ba103d1
License:        MIT and ASL 2.0
46e0350
URL:            https://github.com/pypa/pep517
ba103d1
Source0:        %{pypi_source}
1056cd1
ba103d1
BuildArch:      noarch
ba103d1
ba103d1
BuildRequires:  python3-devel
ba103d1
BuildRequires:  pyproject-rpm-macros
ba103d1
ba103d1
ba103d1
%description
ba103d1
This package contains wrappers around the hooks of standard API
ba103d1
for systems which build Python packages, specified in PEP 517.
ba103d1
ba103d1
ba103d1
%package -n     python3-%{pypi_name}
ba103d1
Summary:        %{summary}
ba103d1
%{?python_provide:%python_provide python3-%{pypi_name}}
ba103d1
ba103d1
# colorlog.py is "copied from Tornado", Apache licensed
ba103d1
Provides:       bundled(python3dist(tornado))
ba103d1
ba103d1
%description -n python3-%{pypi_name}
ba103d1
This package contains wrappers around the hooks of standard API
ba103d1
for systems which build Python packages, specified in PEP 517.
ba103d1
ba103d1
ba103d1
%prep
1056cd1
%autosetup -p1 -n %{pypi_name}-%{version}
ba103d1
ba103d1
# Don't run the linter as part of tests
39bc46b
sed -i '/--flake8$/d' pytest.ini
c40b236
sed -i '/pytest-flake8/d' dev-requirements.txt
458461a
458461a
%generate_buildrequires
458461a
%pyproject_buildrequires %{?with_tests:-t}
ba103d1
ba103d1
ba103d1
%build
ba103d1
%pyproject_wheel
ba103d1
ba103d1
ba103d1
%install
ba103d1
%pyproject_install
d079bdd
%pyproject_save_files %{pypi_name}
ba103d1
ba103d1
ba103d1
%if %{with tests}
ba103d1
%check
d465932
# "test_meta" skipped as it creates a venv and tries
d465932
# to install to it from PyPI
458461a
%tox -- -- -v -k "not test_meta"
ba103d1
%endif
ba103d1
ba103d1
d079bdd
%files -n python3-%{pypi_name} -f %{pyproject_files}
ba103d1
%license LICENSE
ba103d1
%doc README.rst
ba103d1
ba103d1
ba103d1
%changelog
f69d233
* Tue Sep 13 2022 Lumír Balhar <lbalhar@redhat.com> - 0.13.0-1
f69d233
- Update to 0.13.0
f69d233
Resolves: rhbz#2112398
f69d233
28a1da9
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-4
28a1da9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
28a1da9
b189291
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.12.0-3
b189291
- Rebuilt for Python 3.11
b189291
8c83545
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-2
8c83545
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
8c83545
39bc46b
* Tue Oct 26 2021 Lumír Balhar <lbalhar@redhat.com> - 0.12.0-1
39bc46b
- Update to 0.12.0
39bc46b
Resolves: rhbz#2014930
39bc46b
17beee4
* Fri Jul 23 2021 Petr Viktorin <pviktori@redhat.com> - 0.11.0-1
7f51fe0
- Update to version 0.11.0
7f51fe0
a8fe51d
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-3
a8fe51d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
a8fe51d
1f8ee09
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.10.0-2
1f8ee09
- Rebuilt for Python 3.10
1f8ee09
1eda5a3
* Tue Mar 16 2021 Petr Viktorin <pviktori@redhat.com> - 0.10.0-1
1eda5a3
- Update to version 0.10.0
1eda5a3
6f6409a
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-2
6f6409a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
6f6409a
c050894
* Fri Nov 13 2020 Petr Viktorin <pviktori@redhat.com> - 0.9.1-1
c050894
- Update to version 0.9.1
c050894
55577a6
* Fri Oct 09 2020 Petr Viktorin <pviktori@redhat.com> - 0.8.2-1
55577a6
- Update to version 0.8.2
55577a6
458461a
* Mon Sep 21 2020 Miro Hrončok <mhroncok@redhat.com> - 0.7.0-6
458461a
- Use %%pyproject_buildrequires to bring in all the needed tools (like pip)
458461a
- Resolves rhbz#1880983
458461a
45784b0
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-5
45784b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
45784b0
91ed753
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.7.0-4
91ed753
- Rebuilt for Python 3.9
91ed753
e8d6658
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-3
e8d6658
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
e8d6658
cc0d0b9
* Thu Nov 14 2019 Petr Viktorin <pviktori@redhat.com> - 0.7.0-2
cc0d0b9
- Don't pull in importlib_metadata & zipp backports for Python 3.8+
cc0d0b9
d465932
* Wed Oct 23 2019 Petr Viktorin <pviktori@redhat.com> - 0.7.0-1
d465932
- Update to version 0.7.0
d465932
- Change dependency from pytoml to toml
d465932
c6944ea
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-4
c6944ea
- Rebuilt for Python 3.8.0rc1 (#1748018)
c6944ea
afb34d7
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-3
afb34d7
- Rebuilt for Python 3.8
afb34d7
603814d
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
603814d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
603814d
ba103d1
* Thu Jul 18 2019 Petr Viktorin <pviktori@redhat.com> - 0.5.0-1
ba103d1
- Initial package