|
rdobuilder |
e7b403 |
# Let’s try to build this as early as we can, since it’s a dependency for
|
|
rdobuilder |
e7b403 |
# some important libraries, such as python-platformdirs.
|
|
rdobuilder |
e7b403 |
%bcond bootstrap 0
|
|
rdobuilder |
e7b403 |
%bcond tests %{without bootstrap}
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
Name: python-hatch-vcs
|
|
rdobuilder |
e7b403 |
Version: 0.4.0
|
|
rdobuilder |
e7b403 |
Release: 6%{?dist}
|
|
rdobuilder |
e7b403 |
Summary: Hatch plugin for versioning with your preferred VCS
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
# SPDX
|
|
rdobuilder |
e7b403 |
License: MIT
|
|
rdobuilder |
e7b403 |
URL: https://github.com/ofek/hatch-vcs
|
|
rdobuilder |
e7b403 |
Source: %{pypi_source hatch_vcs}
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
BuildArch: noarch
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
BuildRequires: python3-devel
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
%if %{with tests}
|
|
rdobuilder |
e7b403 |
BuildRequires: python3dist(pytest)
|
|
rdobuilder |
e7b403 |
BuildRequires: git-core
|
|
rdobuilder |
e7b403 |
%endif
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
%global common_description %{expand:
|
|
rdobuilder |
e7b403 |
This provides a plugin for Hatch that uses your preferred version control
|
|
rdobuilder |
e7b403 |
system (like Git) to determine project versions.}
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
%description %{common_description}
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
%package -n python3-hatch-vcs
|
|
rdobuilder |
e7b403 |
Summary: %{summary}
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
%description -n python3-hatch-vcs %{common_description}
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
%prep
|
|
rdobuilder |
e7b403 |
%autosetup -n hatch_vcs-%{version}
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
%generate_buildrequires
|
|
rdobuilder |
e7b403 |
%pyproject_buildrequires
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
%build
|
|
rdobuilder |
e7b403 |
%pyproject_wheel
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
%install
|
|
rdobuilder |
e7b403 |
%pyproject_install
|
|
rdobuilder |
e7b403 |
%pyproject_save_files -l hatch_vcs
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
%check
|
|
rdobuilder |
e7b403 |
%if %{with tests}
|
|
rdobuilder |
e7b403 |
%pytest
|
|
rdobuilder |
e7b403 |
%else
|
|
rdobuilder |
e7b403 |
%pyproject_check_import
|
|
rdobuilder |
e7b403 |
%endif
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
%files -n python3-hatch-vcs -f %{pyproject_files}
|
|
rdobuilder |
e7b403 |
%doc HISTORY.md
|
|
rdobuilder |
e7b403 |
%doc README.md
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
%changelog
|
|
rdobuilder |
e7b403 |
* Mon Aug 12 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.4.0-6
|
|
rdobuilder |
e7b403 |
- Assert that the .dist-info directory contains a license file
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-5
|
|
rdobuilder |
e7b403 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 0.4.0-4
|
|
rdobuilder |
e7b403 |
- Rebuilt for Python 3.13
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-3
|
|
rdobuilder |
e7b403 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-2
|
|
rdobuilder |
e7b403 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
* Mon Nov 06 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.4.0-1
|
|
rdobuilder |
e7b403 |
- Update to 0.4.0 (close RHBZ#2248106)
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
* Fri Sep 22 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.3.0-8
|
|
rdobuilder |
e7b403 |
- Work with setuptools_scm 8.0
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-7
|
|
rdobuilder |
e7b403 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
* Fri Jul 07 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.3.0-6
|
|
rdobuilder |
e7b403 |
- Use new (rpm 4.17.1+) bcond style
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.3.0-5
|
|
rdobuilder |
e7b403 |
- Rebuilt for Python 3.12
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-3
|
|
rdobuilder |
e7b403 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
* Tue Dec 20 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.3.0-2
|
|
rdobuilder |
e7b403 |
- Work with setuptools_scm 7.1
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
* Sat Dec 10 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.3.0-1
|
|
rdobuilder |
e7b403 |
- Update to 0.3.0 (close RHBZ#2152320)
|
|
rdobuilder |
e7b403 |
- We can now rely on pyproject-rpm-macros >= 1.2.0
|
|
rdobuilder |
e7b403 |
- The LICENSE.txt file is now handled in pyproject_files
|
|
rdobuilder |
e7b403 |
- The setuptools_scm 7 patch is now merged upstream
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
* Sat Oct 22 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.2.0-10
|
|
rdobuilder |
e7b403 |
- Confirm License is SPDX MIT
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
* Sun Sep 11 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.2.0-9
|
|
rdobuilder |
e7b403 |
- Use hatchling’s new “prepare_metadata_…” hook support for BR’s
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
* Thu Jul 21 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.2.0-8
|
|
rdobuilder |
e7b403 |
- Updated setuptools_scm 7 patch again
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
* Thu Jul 07 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.2.0-7
|
|
rdobuilder |
e7b403 |
- Fix extra newline in description
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
* Thu Jun 30 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.2.0-6
|
|
rdobuilder |
e7b403 |
- Updated setuptools_scm 7 patch
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
* Thu Jun 30 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.2.0-5
|
|
rdobuilder |
e7b403 |
- Fix test compatibility with setuptools_scm 7
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.2.0-4
|
|
rdobuilder |
e7b403 |
- Rebuilt for Python 3.11
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
* Fri May 06 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.2.0-3
|
|
rdobuilder |
e7b403 |
- Use wheel-building support to generate BR’s
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
* Sun May 01 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.2.0-2
|
|
rdobuilder |
e7b403 |
- Adjust for pyproject-rpm-macros >= 1.1.0
|
|
rdobuilder |
e7b403 |
|
|
rdobuilder |
e7b403 |
* Fri Apr 22 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.2.0-1
|
|
rdobuilder |
e7b403 |
- Initial package (close RHBZ#2077832)
|