1
0

Compare commits

...

6 Commits

Author SHA256 Message Date
4b7008f1fe Accepting request 1250250 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1250250
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-scikit-build-core?expand=0&rev=9
2025-03-06 13:48:10 +00:00
b3227ea630 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build-core?expand=0&rev=17
2025-03-04 19:54:48 +00:00
3d07a119ae Accepting request 1204614 from devel:languages:python:numeric
- Inject multibuild.

OBS-URL: https://build.opensuse.org/request/show/1204614
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-scikit-build-core?expand=0&rev=8
2024-10-01 15:11:35 +00:00
c0b7f8f35a - Inject multibuild.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build-core?expand=0&rev=15
2024-09-30 02:48:46 +00:00
2a5d3ff97e Accepting request 1202813 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1202813
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-scikit-build-core?expand=0&rev=7
2024-09-24 15:33:49 +00:00
f8684871ae - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build-core?expand=0&rev=13
2024-09-24 07:03:16 +00:00
5 changed files with 68 additions and 23 deletions

3
_multibuild Normal file
View File

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

View File

@ -1,3 +1,43 @@
-------------------------------------------------------------------
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) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,9 +16,17 @@
#
%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
Version: 0.10.5
Name: python-scikit-build-core%{psuffix}
Version: 0.11.0
Release: 0
Summary: Build backend for CMake based projects
License: Apache-2.0
@ -26,7 +34,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.7}
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module hatch-vcs}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module packaging >= 21.3}
@ -36,25 +44,10 @@ 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}
# 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
%if %{with test}
BuildRequires: %{python_module build >= 0.8}
BuildRequires: %{python_module cattrs >= 22.2.0}
BuildRequires: %{python_module devel}
@ -63,12 +56,15 @@ 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
@ -101,10 +97,13 @@ 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
@ -113,7 +112,9 @@ 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
@ -123,5 +124,6 @@ donttest="test_pep517_sdist_hash or test_pep518_sdist"
%files %{python_files pyproject}
%license LICENSE
%doc README.md
%endif
%changelog

View File

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

View File

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