Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
02ccb4e5fa | |||
3c9745598f | |||
d89592ee9b | |||
b4c4c54d41 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:571fbbcd187eed0e7af47dd49e8f25ab22fb9cfbde5ed1daea67c5187dad9df6
|
|
||||||
size 47394
|
|
BIN
build-1.2.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
build-1.2.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 25 11:29:44 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives on SLE-16-based and newer systems
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 9 07:21:21 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.2.2
|
||||||
|
* Add editable to ``builder.get_requries_for_build``'s static types
|
||||||
|
* Include artifact attestations in our release
|
||||||
|
* Fix typing compatibility with typed ``pyproject-hooks``
|
||||||
|
* Mark more tests with ``network``
|
||||||
|
* Add more intersphinx links to docs
|
||||||
|
* Make ``uv`` optional for tests
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jun 29 12:49:33 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Sat Jun 29 12:49:33 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-build
|
# spec file for package python-build
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -26,10 +26,14 @@
|
|||||||
%endif
|
%endif
|
||||||
# wheeldir of name build does not work well with this packagename gh#openSUSE/python-rpm-macros#157
|
# wheeldir of name build does not work well with this packagename gh#openSUSE/python-rpm-macros#157
|
||||||
%define _pyproject_wheeldir distwheel
|
%define _pyproject_wheeldir distwheel
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-build%{psuffix}
|
Name: python-build%{psuffix}
|
||||||
Version: 1.2.1
|
Version: 1.2.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Simple PEP517 package builder
|
Summary: Simple PEP517 package builder
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -37,7 +41,7 @@ URL: https://github.com/pypa/build
|
|||||||
Source0: https://github.com/pypa/build/archive/%{version}.tar.gz#/build-%{version}.tar.gz
|
Source0: https://github.com/pypa/build/archive/%{version}.tar.gz#/build-%{version}.tar.gz
|
||||||
# Needs the wheels for wheel, flit-core, and tomli for testing
|
# Needs the wheels for wheel, flit-core, and tomli for testing
|
||||||
Source10: https://files.pythonhosted.org/packages/py2.py3/w/wheel/wheel-0.37.1-py2.py3-none-any.whl
|
Source10: https://files.pythonhosted.org/packages/py2.py3/w/wheel/wheel-0.37.1-py2.py3-none-any.whl
|
||||||
Source11: https://files.pythonhosted.org/packages/py3/f/flit-core/flit_core-3.8.0-py3-none-any.whl
|
Source11: https://files.pythonhosted.org/packages/py3/f/flit_core/flit_core-3.8.0-py3-none-any.whl
|
||||||
Source12: https://files.pythonhosted.org/packages/py3/t/tomli/tomli-2.0.1-py3-none-any.whl
|
Source12: https://files.pythonhosted.org/packages/py3/t/tomli/tomli-2.0.1-py3-none-any.whl
|
||||||
Source14: runtests.py
|
Source14: runtests.py
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
@@ -50,9 +54,14 @@ Requires: python-pyproject-hooks
|
|||||||
Requires: (python-importlib-metadata >= 0.22 if python-base < 3.8)
|
Requires: (python-importlib-metadata >= 0.22 if python-base < 3.8)
|
||||||
Requires: (python-tomli >= 1.1.0 if python-base < 3.11)
|
Requires: (python-tomli >= 1.1.0 if python-base < 3.11)
|
||||||
Recommends: python-virtualenv >= 20.0.35
|
Recommends: python-virtualenv >= 20.0.35
|
||||||
|
BuildArch: noarch
|
||||||
|
%if %{with libalternatives}
|
||||||
|
BuildRequires: alts
|
||||||
|
Requires: alts
|
||||||
|
%else
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
BuildArch: noarch
|
%endif
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module build = %{version}}
|
BuildRequires: %{python_module build = %{version}}
|
||||||
BuildRequires: %{python_module filelock >= 3}
|
BuildRequires: %{python_module filelock >= 3}
|
||||||
@@ -100,6 +109,9 @@ export PIP_FIND_LINKS="%{python3_sitelib}/../wheels $PWD/wheels"
|
|||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative pyproject-build
|
%python_uninstall_alternative pyproject-build
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative pyproject-build
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Reference in New Issue
Block a user