17
0

2 Commits

Author SHA256 Message Date
22791841c9 Sync with factory 2026-02-18 12:24:15 +01:00
e61e2444d5 Convert to libalternatives, bsc#1245883 2025-11-03 14:49:06 +01:00
6 changed files with 53 additions and 9 deletions

3
.gitattributes vendored
View File

@@ -1,4 +1,4 @@
## Default LFS
*.changes merge=merge-changes
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
@@ -12,6 +12,7 @@
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text

5
.gitignore vendored
View File

@@ -1 +1,4 @@
.osc
*.obscpio
*.osc
_build.*
.pbuild

Binary file not shown.

BIN
hatchling-1.28.0.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,29 @@
-------------------------------------------------------------------
Wed Feb 4 10:48:13 UTC 2026 - Daniel Garcia <daniel.garcia@suse.com>
- Add pythons_for_pypi macro. This macro will help to build the python
minimal stack for different python versions.
-------------------------------------------------------------------
Thu Nov 27 21:27:44 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
- update to version 1.28.0:
* Changed: Drop support for Python 3.9
* Added: Add sbom-files option and sbom_files build data to the
wheel build target for including Software Bill of Materials
files.
- increase minimum python version to 3.10
-------------------------------------------------------------------
Thu Aug 21 08:27:33 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems only
-------------------------------------------------------------------
Thu Jul 10 12:42:43 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Sun Dec 15 20:08:33 UTC 2024 - Benoît Monin <benoit.monin@gmx.fr>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-hatchling
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,21 @@
#
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?pythons_for_pypi}
%{?sle15_python_module_pythons}
Name: python-hatchling
Version: 1.27.0
Version: 1.28.0
Release: 0
Summary: Build backend used by Hatch
License: MIT
URL: https://hatch.pypa.io/latest/
Source0: https://files.pythonhosted.org/packages/source/h/hatchling/hatchling-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module packaging >= 24.2}
BuildRequires: %{python_module pathspec >= 0.10.1}
BuildRequires: %{python_module pip}
@@ -38,9 +44,14 @@ Requires: python-pathspec >= 0.10.1
Requires: python-pluggy >= 1.0.0
Requires: python-trove-classifiers
Requires: (python-tomli >= 1.2.2 if python-base < 3.11)
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%endif
%python_subpackages
%description
@@ -68,6 +79,9 @@ This is the extensible, standards compliant build backend used by Hatch.
%postun
%python_uninstall_alternative hatchling
%pre
%python_libalternatives_reset_alternative hatchling
%files %{python_files}
%doc README.md
%license LICENSE.txt