Compare commits

..

No commits in common. "factory" and "factory" have entirely different histories.

5 changed files with 23 additions and 68 deletions

View File

@ -1,3 +0,0 @@
<multibuild>
<package>test</package>
</multibuild>

View File

@ -1,43 +1,3 @@
-------------------------------------------------------------------
Tue Mar 4 13:18:55 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Update to 0.11.0
* Update vendored pyproject-metadata (PEP 639 support)
* 0.11+ default to metadata 2.2
* Rework CMake search path settings and add cmake.root
* add SKBUILD_SABI_VERSION
* Support TOML lists in cmake.define
* Add new field build.requires
* Drop python<=3.7 support
* Setuptools plugin: pyproject-toml only config support
* Setuptools plugin: error for cmake_install_target
* Lock during experimental editable.rebuild
* Vendor updates
-------------------------------------------------------------------
Mon Sep 30 02:48:05 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Inject multibuild.
-------------------------------------------------------------------
Mon Sep 23 12:38:11 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.10.7
* Avoid modifying the input dict by @henryiii in #903
* Avoid providing prepare-metadata methods if `failed`
in overrides by @henryiii in #904
* Support negative envvar values correctly by @henryiii in #907
- from version 0.10.6
* Use correct settings key to remove parts of the version
in regex metadata plugin by @philippjh in #887
* Support multiplexed path by @henryiii in #896
* Editable subpackage by @henryiii in #895
* Only strip Release and MinSizeRel builds by default by @henryiii in #898
* Typo in debug message by @LecrisUT in #892
* Add build info by @henryiii in #878
* Fix typo in `if.platform-system` example by @henryiii in #879
* Packit configuration update by @LecrisUT in #799
-------------------------------------------------------------------
Thu Sep 5 20:51:54 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-scikit-build-core
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,17 +16,9 @@
#
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%bcond_without test
%define psuffix -test
%else
%bcond_with test
%define psuffix %{nil}
%endif
%{?sle15_python_module_pythons}
Name: python-scikit-build-core%{psuffix}
Version: 0.11.0
Name: python-scikit-build-core
Version: 0.10.5
Release: 0
Summary: Build backend for CMake based projects
License: Apache-2.0
@ -34,7 +26,7 @@ URL: https://github.com/scikit-build/scikit-build-core
Source0: https://files.pythonhosted.org/packages/source/s/scikit_build_core/scikit_build_core-%{version}.tar.gz
# PATCH-FEATURE-OPENSUSE scikit-build-core-offline-wheelhouse.patch provide the testing wheels without runtime download code@bnavigator.de
Patch1: scikit-build-core-offline-wheelhouse.patch
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module hatch-vcs}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module packaging >= 21.3}
@ -44,10 +36,25 @@ BuildRequires: python-rpm-macros
Requires: cmake >= 3.15
Requires: python-packaging >= 21.3
Requires: python-pathspec >= 0.10.1
Requires: (python-exceptiongroup >= 1 if python-base < 3.11)
Requires: (python-importlib-metadata >= 4.13 if python-base < 3.8)
Requires: (python-importlib-resources >= 1.3 if python-base < 3.9)
Requires: (python-tomli >= 1.2.2 if python-base < 3.11)
Requires: (python-typing-extensions >= 3.10.0 if python-base < 3.9)
Recommends: ninja
Recommends: python-rich
Provides: python-scikit_build_core = %{version}-%{release}
%if %{with test}
# SECTION require runtime
BuildRequires: %{python_module exceptiongroup >= 1 if %python-base < 3.11}
BuildRequires: %{python_module importlib-metadata >= 4.13 if %python-base < 3.8}
BuildRequires: %{python_module importlib-resources >= 1.3 if %python-base < 3.9}
BuildRequires: %{python_module pathspec >= 0.10.1}
BuildRequires: %{python_module tomli >= 1.2.2 if %python-base < 3.11}
BuildRequires: %{python_module typing-extensions >= 3.10.0 if %python-base < 3.9}
BuildRequires: cmake >= 3.15
BuildArch: noarch
# /SECITON
# SECTION test requirements
BuildRequires: %{python_module build >= 0.8}
BuildRequires: %{python_module cattrs >= 22.2.0}
BuildRequires: %{python_module devel}
@ -56,15 +63,12 @@ BuildRequires: %{python_module pybind11-devel >= 2.11}
BuildRequires: %{python_module pytest >= 7.2}
BuildRequires: %{python_module pytest-subprocess >= 1.5.0}
BuildRequires: %{python_module rich}
BuildRequires: %{python_module scikit-build-core = %{version}}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module virtualenv >= 20.20}
BuildRequires: %{python_module wheel}
BuildRequires: gcc-c++
BuildRequires: ninja
# /SECTION
%endif
BuildArch: noarch
%python_subpackages
%description
@ -97,13 +101,10 @@ Python CMake adaptor and Python API for plugins: The extra requirement to build
%pyproject_wheel
%install
%if !%{with test}
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
%check
%if %{with test}
# A writable temp dir is required for some tests
mkdir ./tmp
export PYTEST_DEBUG_TEMPROOT=./tmp
@ -112,9 +113,7 @@ donttestmark="isolated"
# different hash due to different build environment:
donttest="test_pep517_sdist_hash or test_pep518_sdist"
%pytest -m "not ($donttestmark)" -k "not ($donttest)"
%endif
%if !%{with test}
%files %{python_files}
%license LICENSE
%doc README.md
@ -124,6 +123,5 @@ donttest="test_pep517_sdist_hash or test_pep518_sdist"
%files %{python_files pyproject}
%license LICENSE
%doc README.md
%endif
%changelog

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b1c3187bbf40fa0445e1c0562c87e9f5c17939a0df6b0141e5951dfebcb92d0e
size 253285

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:423d8b0885bf1942816c851f8ec7c1efc0a7ecad4f38ff43d5ba869a894b107b
size 271991