diff --git a/python-scikit-build.changes b/python-scikit-build.changes index 4d04b0e..1a5edbd 100644 --- a/python-scikit-build.changes +++ b/python-scikit-build.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sun Oct 10 10:24:26 UTC 2021 - Ben Greiner + +- 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 diff --git a/python-scikit-build.spec b/python-scikit-build.spec index c7bc9d5..bdc0e73 100644 --- a/python-scikit-build.spec +++ b/python-scikit-build.spec @@ -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 diff --git a/scikit-build-0.11.1.tar.gz b/scikit-build-0.11.1.tar.gz deleted file mode 100644 index b92a9c9..0000000 --- a/scikit-build-0.11.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:da40dfd69b2456fad1349a894b90180b43712152b8a85d2a00f4ae2ce8ac9a5c -size 132025 diff --git a/scikit-build-0.12.0.tar.gz b/scikit-build-0.12.0.tar.gz new file mode 100644 index 0000000..90c86d3 --- /dev/null +++ b/scikit-build-0.12.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f851382c469bcd9a8c98b1878bcfdd13b68556279d2fd9a329be41956ae5a7fe +size 138053