|
|
541142 |
# uv has many build dependencies, and will take some time to be available for
|
|
|
541142 |
# new EPEL major versions.
|
|
|
541142 |
%bcond uv %{undefined rhel}
|
|
|
541142 |
|
|
|
541142 |
%global pypi_name build
|
|
|
541142 |
|
|
|
541142 |
Name: python-%{pypi_name}
|
|
|
541142 |
Version: 1.2.1
|
|
rdobuilder |
6df9b3 |
Release: 6%{?dist}
|
|
|
541142 |
Summary: A simple, correct PEP517 package builder
|
|
|
541142 |
|
|
|
541142 |
License: MIT
|
|
|
541142 |
URL: https://github.com/pypa/build
|
|
|
541142 |
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
|
|
541142 |
|
|
|
541142 |
# downstream-only
|
|
|
541142 |
Patch: 0001-fedora-disable-some-build-requirements.patch
|
|
|
541142 |
# https://github.com/pypa/build/pull/807
|
|
|
541142 |
Patch: 0002-tests-optional-uv.patch
|
|
|
541142 |
# https://github.com/pypa/build/pull/808
|
|
|
541142 |
Patch: 0003-tests-mark-more-network-tests.patch
|
|
|
541142 |
|
|
|
541142 |
BuildArch: noarch
|
|
|
541142 |
|
|
|
541142 |
BuildRequires: python3-devel
|
|
|
541142 |
BuildRequires: pyproject-rpm-macros >= 0-41
|
|
|
541142 |
|
|
|
541142 |
%description
|
|
|
541142 |
A simple, correct PEP517 package builder.
|
|
|
541142 |
|
|
|
541142 |
|
|
|
541142 |
%package -n python3-%{pypi_name}
|
|
|
541142 |
Summary: %{summary}
|
|
|
541142 |
|
|
|
541142 |
%description -n python3-%{pypi_name}
|
|
|
541142 |
A simple, correct PEP517 package builder.
|
|
|
541142 |
|
|
|
541142 |
|
|
|
541142 |
%pyproject_extras_subpkg -n python3-%{pypi_name} virtualenv %{?with_uv:uv}
|
|
|
541142 |
|
|
|
541142 |
|
|
|
541142 |
%prep
|
|
|
541142 |
%autosetup -p1 -n %{pypi_name}-%{version}
|
|
|
541142 |
|
|
|
541142 |
|
|
|
541142 |
%generate_buildrequires
|
|
|
541142 |
%pyproject_buildrequires -x test,virtualenv%{?with_uv:,uv}
|
|
|
541142 |
|
|
|
541142 |
%build
|
|
|
541142 |
%pyproject_wheel
|
|
|
541142 |
|
|
|
541142 |
%install
|
|
|
541142 |
%pyproject_install
|
|
|
541142 |
%pyproject_save_files %{pypi_name}
|
|
|
541142 |
|
|
|
541142 |
%check
|
|
|
541142 |
# Upstream has integration tests that can be run with the --run-integration
|
|
|
541142 |
# flag, but currently that only includes one network test and one test that is
|
|
|
541142 |
# xfail when flit-core is installed (which it will be during our package
|
|
|
541142 |
# build), so including that flag doesn't run any additional tests.
|
|
|
541142 |
%pytest -v -m "not network"
|
|
|
541142 |
|
|
|
541142 |
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
|
541142 |
%license LICENSE
|
|
|
541142 |
%doc README.md
|
|
|
541142 |
%{_bindir}/pyproject-build
|
|
|
541142 |
|
|
|
541142 |
%changelog
|
|
rdobuilder |
6df9b3 |
* Fri Aug 30 2024 Carl George <carlwgeorge@fedoraproject.org> - 1.2.1-6
|
|
rdobuilder |
6df9b3 |
- Reduce build requirements
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Fri Aug 30 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 1.2.1-5
|
|
rdobuilder |
6df9b3 |
- Add a metapackage for the uv extra
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Thu Aug 01 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 1.2.1-4
|
|
rdobuilder |
6df9b3 |
- Enable tests that require uv
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
|
|
rdobuilder |
6df9b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1.2.1-2
|
|
rdobuilder |
6df9b3 |
- Rebuilt for Python 3.13
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Thu Mar 28 2024 Lumir Balhar <lbalhar@redhat.com> - 1.2.1-1
|
|
rdobuilder |
6df9b3 |
- Update to 1.2.1 (rhbz#2271978)
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Sun Mar 17 2024 Charalampos Stratakis <cstratak@redhat.com> - 1.1.1-1
|
|
rdobuilder |
6df9b3 |
- Update to 1.1.1
|
|
rdobuilder |
6df9b3 |
- Resolves: rhbz#2267099
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Tue Jan 23 2024 Karolina Surma <ksurma@redhat.com> - 1.0.3-3
|
|
rdobuilder |
6df9b3 |
- Fix build with setuptools v69.0.3+
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-2
|
|
rdobuilder |
6df9b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Thu Oct 05 2023 Lumir Balhar <lbalhar@redhat.com> - 1.0.3-1
|
|
rdobuilder |
6df9b3 |
- Update to 1.0.3 (rhbz#2236861)
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-8
|
|
rdobuilder |
6df9b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 0.10.0-7
|
|
rdobuilder |
6df9b3 |
- Rebuilt for Python 3.12
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Thu Jun 15 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 0.10.0-6
|
|
rdobuilder |
6df9b3 |
- Avoid fatal DeprecationWarnings on Python 3.12+
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 0.10.0-5
|
|
rdobuilder |
6df9b3 |
- Rebuilt for Python 3.12
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Tue Jun 06 2023 Miro Hrončok <miro@hroncok.cz> - 0.10.0-4
|
|
rdobuilder |
6df9b3 |
- Do not BuildRequire pytest-cov, it is discouraged and was not needed
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Thu Mar 16 2023 Lumir Balhar <lbalhar@redhat.com> - 0.10.0-3
|
|
rdobuilder |
6df9b3 |
- Use upstream patch to fix tests instead of sed
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Wed Mar 15 2023 Lumir Balhar <lbalhar@redhat.com> - 0.10.0-2
|
|
rdobuilder |
6df9b3 |
- Fix FTBFS by hotfixing tests
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Fri Jan 20 2023 Lumir Balhar <lbalhar@redhat.com> - 0.10.0-1
|
|
rdobuilder |
6df9b3 |
- Update to 0.10.0 (rhbz#2160265)
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-3
|
|
rdobuilder |
6df9b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Mon Jan 16 2023 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-2
|
|
rdobuilder |
6df9b3 |
- Drop redundant BuildRequries for deprecated python3-toml
|
|
rdobuilder |
6df9b3 |
- https://fedoraproject.org/wiki/Changes/DeprecatePythonToml
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Sun Oct 30 2022 Lumír Balhar <lbalhar@redhat.com> - 0.9.0-1
|
|
rdobuilder |
6df9b3 |
- Update to 0.9.0
|
|
rdobuilder |
6df9b3 |
Resolves: rhbz#2138145
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-4
|
|
rdobuilder |
6df9b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 0.8.0-3
|
|
rdobuilder |
6df9b3 |
- Rebuilt for Python 3.11
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Tue May 24 2022 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-2
|
|
rdobuilder |
6df9b3 |
- Package the build[virtualenv] extra
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Mon May 23 2022 Lumír Balhar <lbalhar@redhat.com> - 0.8.0-1
|
|
rdobuilder |
6df9b3 |
- Update to 0.8.0
|
|
rdobuilder |
6df9b3 |
Resolves: rhbz#2089034
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Fri Mar 18 2022 Miro Hrončok <mhroncok@redhat.com> - 0.7.0-3
|
|
rdobuilder |
6df9b3 |
- Fix virtualenv creation by using the "venv" sysconfig installation scheme
|
|
rdobuilder |
6df9b3 |
- Resolves: rhbz#2059268
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-2
|
|
rdobuilder |
6df9b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Mon Sep 20 2021 Lumír Balhar <lbalhar@redhat.com> - 0.7.0-1
|
|
rdobuilder |
6df9b3 |
- Update to 0.7.0
|
|
rdobuilder |
6df9b3 |
Resolves: rhbz#2005146
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Wed Aug 04 2021 Lumír Balhar <lbalhar@redhat.com> - 0.6.0-1
|
|
rdobuilder |
6df9b3 |
- Update to 0.6.0
|
|
rdobuilder |
6df9b3 |
Resolves: rhbz#1989297
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-2
|
|
rdobuilder |
6df9b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
6df9b3 |
|
|
rdobuilder |
6df9b3 |
* Thu Jun 24 2021 Lumír Balhar <lbalhar@redhat.com> - 0.5.1-1
|
|
rdobuilder |
6df9b3 |
- Initial package.
|