Accepting request 924535 from devel:languages:python:numeric

- Update to version 0.12.0
  * Fixed a regression that caused setuptools to complain about
    unknown setup option (cmake_process_manifest_hook).
  * If it applies, ensure generator toolset is used to configure
    the project.
  * Read CYTHON_FLAGS where needed, instead of once, allowing the
    user to define multiple modules with different flags.
  * Avoid an IndexError if prefix was empty.

OBS-URL: https://build.opensuse.org/request/show/924535
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-scikit-build?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2021-10-11 13:31:46 +00:00 committed by Git OBS Bridge
commit 42ddf6ef2b
4 changed files with 23 additions and 7 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sun Oct 10 10:24:26 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to version 0.12.0
* Fixed a regression that caused setuptools to complain about
unknown setup option (cmake_process_manifest_hook).
* If it applies, ensure generator toolset is used to configure
the project.
* Read CYTHON_FLAGS where needed, instead of once, allowing the
user to define multiple modules with different flags.
* Avoid an IndexError if prefix was empty.
-------------------------------------------------------------------
Thu Dec 3 00:02:25 UTC 2020 - Benjamin Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-scikit-build
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,10 +16,10 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-scikit-build
Version: 0.11.1
Version: 0.12.0
Release: 0
Summary: Improved build system generator for Python C/C++/Fortran/Cython extensions
License: MIT
@ -30,6 +30,7 @@ BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools >= 28.0.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: cmake
Requires: python-distro
Requires: python-packaging
Requires: python-setuptools >= 28.0.0
@ -65,9 +66,12 @@ Improved build system generator for Python C/C++/Fortran/Cython extensions
%python_expand mkdir -p /tmp/fakepythonroot%{$python_sitelib}
cp %{S:99} tests/samples/hello-cpp/setup.cfg
sed -i "/hello-1.2.3\/setup.py/ a \ 'hello-1.2.3/setup.cfg'," tests/test_hello_cpp.py
cp %{S:99} tests/samples/cython-flags/setup.cfg
cp %{S:99} tests/samples/issue-274-support-default-package-dir/setup.cfg
cp %{S:99} tests/samples/issue-274-support-one-package-without-package-dir/setup.cfg
cp %{S:99} tests/samples/issue-334-configure-cmakelist-non-cp1252-encoding/setup.cfg
# remove coverage flags
sed -i '/addopts/ d' setup.cfg
%build
%python_build
@ -86,6 +90,6 @@ pytest-%{$python_bin_suffix} -v
%doc AUTHORS.rst README.rst CONTRIBUTING.rst HISTORY.rst docs/
%license LICENSE
%{python_sitelib}/skbuild
%{python_sitelib}/scikit_build-%{version}-py*.egg-info
%{python_sitelib}/scikit_build-%{version}*-info
%changelog

View File

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

View File

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