1
0
python-scikit-build/python-scikit-build.spec

115 lines
3.7 KiB
RPMSpec
Raw Normal View History

#
Accepting request 1032211 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.16.0 * This release adds support for Python 3.11 and removes support for Python 2.7 and 3.5 (#688). Testing and static checking improved, including being fully statically typed internally (though setuptools is not fully typed, so it is of limited use). * All deprecated setuptools/distutils features are also deprecated in scikit-build, like the test command, easy_install, etc. Editable mode is still unsupported. Python 3.6 support is deprecated. Older versions of CMake (<3.15) are not recommended; a future version will remove support for older CMake's (along with providing a better mechanism for ensuring a proper CMake is available). If you need any of these features, please open or find an issue explaining what and why you need something. * Cython module now supports FindPython mode. #743 * PyPy is discovered without extra settings in FindPython mode #744 * FindPython mode uses a new path specification, should help make it usable. #774 * Better flushing and output streams for more consistent output ordering. #781 - Add skbuild-pr785-ignoredeprecation.patch * gh#scikit-build/scikit-build#785 - Update to 0.15.0 * Add support for FindPython (including 2 and 3). Thanks @hameerabbasi for the contribution. See #712. * Add support for Cygwin. Thanks @ax3l and @DWesl and @poikilos for the help! See #485. OBS-URL: https://build.opensuse.org/request/show/1032211 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=23
2022-10-29 14:23:21 +00:00
# spec file
#
Accepting request 951777 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.13.0 * If you are using scikit-build via pyproject.toml, please remember to include setuptools and wheel. A future version of scikit-build may remove the setuptools install-time hard requirement. * CMake module /cmake-modules/Cython now uses Cython default arguments. This no longer adds --no-docstrings in Release and MinSizeRel builds, so Cython docstrings are now retained by default. Additionally, --embed-positions is no longer added to Debug and RelWithDebInfo builds. Users can enable these and other Cython arguments via the option CYTHON_FLAGS. See #518 and #519, thanks to @bdice for the improvement. * Experimental support for ARM64 on Windows. Thanks to @gaborkertesz-linaro in #612. * Support for MSVC 2022. Thanks to @tttapa for the contribution in #627. * Support the modern form of target_link_libraries, via SKBUILD_LINK_LIBRARIES_KEYWORD (somewhat experimental). Thanks to @maxbachmann in #611. * Update the Ninja path if using the ninja package. This fixes repeated isolated builds. Further path inspection and updates for isolated builds may be considered in the future. #631, thanks to @RUrlus and @segevfiner for help in tracking this down. * Allow OpenBSD to pass the platform check (untested). See #586. * Avoid forcing the min macOS version. Behaviour is now inline with setuptools. Users should set MACOSX_DEPLOYMENT_TARGET when building (automatic with cibuildwheel), otherwise you will get the same value Python was compiled with. Note: This may seem like a regression for PyPy until the next release (7.3.8), OBS-URL: https://build.opensuse.org/request/show/951777 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=13
2022-02-05 18:26:11 +00:00
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Accepting request 1032211 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.16.0 * This release adds support for Python 3.11 and removes support for Python 2.7 and 3.5 (#688). Testing and static checking improved, including being fully statically typed internally (though setuptools is not fully typed, so it is of limited use). * All deprecated setuptools/distutils features are also deprecated in scikit-build, like the test command, easy_install, etc. Editable mode is still unsupported. Python 3.6 support is deprecated. Older versions of CMake (<3.15) are not recommended; a future version will remove support for older CMake's (along with providing a better mechanism for ensuring a proper CMake is available). If you need any of these features, please open or find an issue explaining what and why you need something. * Cython module now supports FindPython mode. #743 * PyPy is discovered without extra settings in FindPython mode #744 * FindPython mode uses a new path specification, should help make it usable. #774 * Better flushing and output streams for more consistent output ordering. #781 - Add skbuild-pr785-ignoredeprecation.patch * gh#scikit-build/scikit-build#785 - Update to 0.15.0 * Add support for FindPython (including 2 and 3). Thanks @hameerabbasi for the contribution. See #712. * Add support for Cygwin. Thanks @ax3l and @DWesl and @poikilos for the help! See #485. OBS-URL: https://build.opensuse.org/request/show/1032211 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=23
2022-10-29 14:23:21 +00:00
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%bcond_without test
%define psuffix -test
%else
%bcond_with test
%define psuffix %{nil}
%endif
%define skip_python2 1
Accepting request 1032211 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.16.0 * This release adds support for Python 3.11 and removes support for Python 2.7 and 3.5 (#688). Testing and static checking improved, including being fully statically typed internally (though setuptools is not fully typed, so it is of limited use). * All deprecated setuptools/distutils features are also deprecated in scikit-build, like the test command, easy_install, etc. Editable mode is still unsupported. Python 3.6 support is deprecated. Older versions of CMake (<3.15) are not recommended; a future version will remove support for older CMake's (along with providing a better mechanism for ensuring a proper CMake is available). If you need any of these features, please open or find an issue explaining what and why you need something. * Cython module now supports FindPython mode. #743 * PyPy is discovered without extra settings in FindPython mode #744 * FindPython mode uses a new path specification, should help make it usable. #774 * Better flushing and output streams for more consistent output ordering. #781 - Add skbuild-pr785-ignoredeprecation.patch * gh#scikit-build/scikit-build#785 - Update to 0.15.0 * Add support for FindPython (including 2 and 3). Thanks @hameerabbasi for the contribution. See #712. * Add support for Cygwin. Thanks @ax3l and @DWesl and @poikilos for the help! See #485. OBS-URL: https://build.opensuse.org/request/show/1032211 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=23
2022-10-29 14:23:21 +00:00
Name: python-scikit-build%{psuffix}
Version: 0.16.4
Release: 0
Summary: Improved build system generator for Python C/C++/Fortran/Cython extensions
License: MIT
URL: https://github.com/scikit-build/scikit-build
Source: https://files.pythonhosted.org/packages/source/s/scikit-build/scikit-build-%{version}.tar.gz
Source99: sample-setup.cfg
Accepting request 1032211 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.16.0 * This release adds support for Python 3.11 and removes support for Python 2.7 and 3.5 (#688). Testing and static checking improved, including being fully statically typed internally (though setuptools is not fully typed, so it is of limited use). * All deprecated setuptools/distutils features are also deprecated in scikit-build, like the test command, easy_install, etc. Editable mode is still unsupported. Python 3.6 support is deprecated. Older versions of CMake (<3.15) are not recommended; a future version will remove support for older CMake's (along with providing a better mechanism for ensuring a proper CMake is available). If you need any of these features, please open or find an issue explaining what and why you need something. * Cython module now supports FindPython mode. #743 * PyPy is discovered without extra settings in FindPython mode #744 * FindPython mode uses a new path specification, should help make it usable. #774 * Better flushing and output streams for more consistent output ordering. #781 - Add skbuild-pr785-ignoredeprecation.patch * gh#scikit-build/scikit-build#785 - Update to 0.15.0 * Add support for FindPython (including 2 and 3). Thanks @hameerabbasi for the contribution. See #712. * Add support for Cygwin. Thanks @ax3l and @DWesl and @poikilos for the help! See #485. OBS-URL: https://build.opensuse.org/request/show/1032211 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=23
2022-10-29 14:23:21 +00:00
BuildRequires: %{python_module devel >= 3.6}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 42.0.0}
BuildRequires: %{python_module wheel}
%if !%{with test}
# https://github.com/scikit-build/scikit-build/issues/689
BuildRequires: %{python_module setuptools_scm}
%endif
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: cmake
Requires: python-distro
Requires: python-packaging
Accepting request 1032211 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.16.0 * This release adds support for Python 3.11 and removes support for Python 2.7 and 3.5 (#688). Testing and static checking improved, including being fully statically typed internally (though setuptools is not fully typed, so it is of limited use). * All deprecated setuptools/distutils features are also deprecated in scikit-build, like the test command, easy_install, etc. Editable mode is still unsupported. Python 3.6 support is deprecated. Older versions of CMake (<3.15) are not recommended; a future version will remove support for older CMake's (along with providing a better mechanism for ensuring a proper CMake is available). If you need any of these features, please open or find an issue explaining what and why you need something. * Cython module now supports FindPython mode. #743 * PyPy is discovered without extra settings in FindPython mode #744 * FindPython mode uses a new path specification, should help make it usable. #774 * Better flushing and output streams for more consistent output ordering. #781 - Add skbuild-pr785-ignoredeprecation.patch * gh#scikit-build/scikit-build#785 - Update to 0.15.0 * Add support for FindPython (including 2 and 3). Thanks @hameerabbasi for the contribution. See #712. * Add support for Cygwin. Thanks @ax3l and @DWesl and @poikilos for the help! See #485. OBS-URL: https://build.opensuse.org/request/show/1032211 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=23
2022-10-29 14:23:21 +00:00
Requires: python-setuptools >= 42.0.0
Requires: python-wheel >= 0.32.0
%if %python_version_nodots < 38
Requires: python-typing-extensions >= 3.7
%endif
%if %{with test}
# Note: When tests fail try `osc build ---clean` in order to get rid of remnant numpy typing stubs in $HOME
BuildRequires: %{python_module Cython >= 0.25.1}
Accepting request 1032211 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.16.0 * This release adds support for Python 3.11 and removes support for Python 2.7 and 3.5 (#688). Testing and static checking improved, including being fully statically typed internally (though setuptools is not fully typed, so it is of limited use). * All deprecated setuptools/distutils features are also deprecated in scikit-build, like the test command, easy_install, etc. Editable mode is still unsupported. Python 3.6 support is deprecated. Older versions of CMake (<3.15) are not recommended; a future version will remove support for older CMake's (along with providing a better mechanism for ensuring a proper CMake is available). If you need any of these features, please open or find an issue explaining what and why you need something. * Cython module now supports FindPython mode. #743 * PyPy is discovered without extra settings in FindPython mode #744 * FindPython mode uses a new path specification, should help make it usable. #774 * Better flushing and output streams for more consistent output ordering. #781 - Add skbuild-pr785-ignoredeprecation.patch * gh#scikit-build/scikit-build#785 - Update to 0.15.0 * Add support for FindPython (including 2 and 3). Thanks @hameerabbasi for the contribution. See #712. * Add support for Cygwin. Thanks @ax3l and @DWesl and @poikilos for the help! See #485. OBS-URL: https://build.opensuse.org/request/show/1032211 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=23
2022-10-29 14:23:21 +00:00
BuildRequires: %{python_module build >= 0.7}
BuildRequires: %{python_module pytest >= 6.0.0}
BuildRequires: %{python_module pytest-mock >= 1.10.4}
BuildRequires: %{python_module pytest-virtualenv >= 1.2.5}
BuildRequires: %{python_module requests}
Accepting request 1032211 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.16.0 * This release adds support for Python 3.11 and removes support for Python 2.7 and 3.5 (#688). Testing and static checking improved, including being fully statically typed internally (though setuptools is not fully typed, so it is of limited use). * All deprecated setuptools/distutils features are also deprecated in scikit-build, like the test command, easy_install, etc. Editable mode is still unsupported. Python 3.6 support is deprecated. Older versions of CMake (<3.15) are not recommended; a future version will remove support for older CMake's (along with providing a better mechanism for ensuring a proper CMake is available). If you need any of these features, please open or find an issue explaining what and why you need something. * Cython module now supports FindPython mode. #743 * PyPy is discovered without extra settings in FindPython mode #744 * FindPython mode uses a new path specification, should help make it usable. #774 * Better flushing and output streams for more consistent output ordering. #781 - Add skbuild-pr785-ignoredeprecation.patch * gh#scikit-build/scikit-build#785 - Update to 0.15.0 * Add support for FindPython (including 2 and 3). Thanks @hameerabbasi for the contribution. See #712. * Add support for Cygwin. Thanks @ax3l and @DWesl and @poikilos for the help! See #485. OBS-URL: https://build.opensuse.org/request/show/1032211 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=23
2022-10-29 14:23:21 +00:00
BuildRequires: %{python_module scikit-build = %{version}}
BuildRequires: %{python_module virtualenv}
BuildRequires: gcc-c++
BuildRequires: gcc-fortran
BuildRequires: git-core
BuildRequires: ninja
Accepting request 1032211 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.16.0 * This release adds support for Python 3.11 and removes support for Python 2.7 and 3.5 (#688). Testing and static checking improved, including being fully statically typed internally (though setuptools is not fully typed, so it is of limited use). * All deprecated setuptools/distutils features are also deprecated in scikit-build, like the test command, easy_install, etc. Editable mode is still unsupported. Python 3.6 support is deprecated. Older versions of CMake (<3.15) are not recommended; a future version will remove support for older CMake's (along with providing a better mechanism for ensuring a proper CMake is available). If you need any of these features, please open or find an issue explaining what and why you need something. * Cython module now supports FindPython mode. #743 * PyPy is discovered without extra settings in FindPython mode #744 * FindPython mode uses a new path specification, should help make it usable. #774 * Better flushing and output streams for more consistent output ordering. #781 - Add skbuild-pr785-ignoredeprecation.patch * gh#scikit-build/scikit-build#785 - Update to 0.15.0 * Add support for FindPython (including 2 and 3). Thanks @hameerabbasi for the contribution. See #712. * Add support for Cygwin. Thanks @ax3l and @DWesl and @poikilos for the help! See #485. OBS-URL: https://build.opensuse.org/request/show/1032211 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=23
2022-10-29 14:23:21 +00:00
%endif
BuildArch: noarch
%python_subpackages
%description
Improved build system generator for Python C/C++/Fortran/Cython extensions
%prep
Accepting request 1032211 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.16.0 * This release adds support for Python 3.11 and removes support for Python 2.7 and 3.5 (#688). Testing and static checking improved, including being fully statically typed internally (though setuptools is not fully typed, so it is of limited use). * All deprecated setuptools/distutils features are also deprecated in scikit-build, like the test command, easy_install, etc. Editable mode is still unsupported. Python 3.6 support is deprecated. Older versions of CMake (<3.15) are not recommended; a future version will remove support for older CMake's (along with providing a better mechanism for ensuring a proper CMake is available). If you need any of these features, please open or find an issue explaining what and why you need something. * Cython module now supports FindPython mode. #743 * PyPy is discovered without extra settings in FindPython mode #744 * FindPython mode uses a new path specification, should help make it usable. #774 * Better flushing and output streams for more consistent output ordering. #781 - Add skbuild-pr785-ignoredeprecation.patch * gh#scikit-build/scikit-build#785 - Update to 0.15.0 * Add support for FindPython (including 2 and 3). Thanks @hameerabbasi for the contribution. See #712. * Add support for Cygwin. Thanks @ax3l and @DWesl and @poikilos for the help! See #485. OBS-URL: https://build.opensuse.org/request/show/1032211 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=23
2022-10-29 14:23:21 +00:00
%autosetup -p1 -n scikit-build-%{version}
%if %{with test}
# some tests call setup.py develop|install|test, which by default write to /usr
# This is not allowed in OBS
# gh#scikit-build/scikit-build#469
%python_expand mkdir -p /tmp/fakepythonroot%{$python_sitelib}
cp %{S:99} tests/samples/hello-cpp/setup.cfg
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
Accepting request 1032211 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.16.0 * This release adds support for Python 3.11 and removes support for Python 2.7 and 3.5 (#688). Testing and static checking improved, including being fully statically typed internally (though setuptools is not fully typed, so it is of limited use). * All deprecated setuptools/distutils features are also deprecated in scikit-build, like the test command, easy_install, etc. Editable mode is still unsupported. Python 3.6 support is deprecated. Older versions of CMake (<3.15) are not recommended; a future version will remove support for older CMake's (along with providing a better mechanism for ensuring a proper CMake is available). If you need any of these features, please open or find an issue explaining what and why you need something. * Cython module now supports FindPython mode. #743 * PyPy is discovered without extra settings in FindPython mode #744 * FindPython mode uses a new path specification, should help make it usable. #774 * Better flushing and output streams for more consistent output ordering. #781 - Add skbuild-pr785-ignoredeprecation.patch * gh#scikit-build/scikit-build#785 - Update to 0.15.0 * Add support for FindPython (including 2 and 3). Thanks @hameerabbasi for the contribution. See #712. * Add support for Cygwin. Thanks @ax3l and @DWesl and @poikilos for the help! See #485. OBS-URL: https://build.opensuse.org/request/show/1032211 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=23
2022-10-29 14:23:21 +00:00
%endif
Accepting request 1032211 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.16.0 * This release adds support for Python 3.11 and removes support for Python 2.7 and 3.5 (#688). Testing and static checking improved, including being fully statically typed internally (though setuptools is not fully typed, so it is of limited use). * All deprecated setuptools/distutils features are also deprecated in scikit-build, like the test command, easy_install, etc. Editable mode is still unsupported. Python 3.6 support is deprecated. Older versions of CMake (<3.15) are not recommended; a future version will remove support for older CMake's (along with providing a better mechanism for ensuring a proper CMake is available). If you need any of these features, please open or find an issue explaining what and why you need something. * Cython module now supports FindPython mode. #743 * PyPy is discovered without extra settings in FindPython mode #744 * FindPython mode uses a new path specification, should help make it usable. #774 * Better flushing and output streams for more consistent output ordering. #781 - Add skbuild-pr785-ignoredeprecation.patch * gh#scikit-build/scikit-build#785 - Update to 0.15.0 * Add support for FindPython (including 2 and 3). Thanks @hameerabbasi for the contribution. See #712. * Add support for Cygwin. Thanks @ax3l and @DWesl and @poikilos for the help! See #485. OBS-URL: https://build.opensuse.org/request/show/1032211 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=23
2022-10-29 14:23:21 +00:00
%if !%{with test}
%build
Accepting request 1032211 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.16.0 * This release adds support for Python 3.11 and removes support for Python 2.7 and 3.5 (#688). Testing and static checking improved, including being fully statically typed internally (though setuptools is not fully typed, so it is of limited use). * All deprecated setuptools/distutils features are also deprecated in scikit-build, like the test command, easy_install, etc. Editable mode is still unsupported. Python 3.6 support is deprecated. Older versions of CMake (<3.15) are not recommended; a future version will remove support for older CMake's (along with providing a better mechanism for ensuring a proper CMake is available). If you need any of these features, please open or find an issue explaining what and why you need something. * Cython module now supports FindPython mode. #743 * PyPy is discovered without extra settings in FindPython mode #744 * FindPython mode uses a new path specification, should help make it usable. #774 * Better flushing and output streams for more consistent output ordering. #781 - Add skbuild-pr785-ignoredeprecation.patch * gh#scikit-build/scikit-build#785 - Update to 0.15.0 * Add support for FindPython (including 2 and 3). Thanks @hameerabbasi for the contribution. See #712. * Add support for Cygwin. Thanks @ax3l and @DWesl and @poikilos for the help! See #485. OBS-URL: https://build.opensuse.org/request/show/1032211 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=23
2022-10-29 14:23:21 +00:00
%pyproject_wheel
%install
Accepting request 1032211 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.16.0 * This release adds support for Python 3.11 and removes support for Python 2.7 and 3.5 (#688). Testing and static checking improved, including being fully statically typed internally (though setuptools is not fully typed, so it is of limited use). * All deprecated setuptools/distutils features are also deprecated in scikit-build, like the test command, easy_install, etc. Editable mode is still unsupported. Python 3.6 support is deprecated. Older versions of CMake (<3.15) are not recommended; a future version will remove support for older CMake's (along with providing a better mechanism for ensuring a proper CMake is available). If you need any of these features, please open or find an issue explaining what and why you need something. * Cython module now supports FindPython mode. #743 * PyPy is discovered without extra settings in FindPython mode #744 * FindPython mode uses a new path specification, should help make it usable. #774 * Better flushing and output streams for more consistent output ordering. #781 - Add skbuild-pr785-ignoredeprecation.patch * gh#scikit-build/scikit-build#785 - Update to 0.15.0 * Add support for FindPython (including 2 and 3). Thanks @hameerabbasi for the contribution. See #712. * Add support for Cygwin. Thanks @ax3l and @DWesl and @poikilos for the help! See #485. OBS-URL: https://build.opensuse.org/request/show/1032211 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=23
2022-10-29 14:23:21 +00:00
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
Accepting request 1032211 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.16.0 * This release adds support for Python 3.11 and removes support for Python 2.7 and 3.5 (#688). Testing and static checking improved, including being fully statically typed internally (though setuptools is not fully typed, so it is of limited use). * All deprecated setuptools/distutils features are also deprecated in scikit-build, like the test command, easy_install, etc. Editable mode is still unsupported. Python 3.6 support is deprecated. Older versions of CMake (<3.15) are not recommended; a future version will remove support for older CMake's (along with providing a better mechanism for ensuring a proper CMake is available). If you need any of these features, please open or find an issue explaining what and why you need something. * Cython module now supports FindPython mode. #743 * PyPy is discovered without extra settings in FindPython mode #744 * FindPython mode uses a new path specification, should help make it usable. #774 * Better flushing and output streams for more consistent output ordering. #781 - Add skbuild-pr785-ignoredeprecation.patch * gh#scikit-build/scikit-build#785 - Update to 0.15.0 * Add support for FindPython (including 2 and 3). Thanks @hameerabbasi for the contribution. See #712. * Add support for Cygwin. Thanks @ax3l and @DWesl and @poikilos for the help! See #485. OBS-URL: https://build.opensuse.org/request/show/1032211 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=23
2022-10-29 14:23:21 +00:00
%endif
Accepting request 1032211 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.16.0 * This release adds support for Python 3.11 and removes support for Python 2.7 and 3.5 (#688). Testing and static checking improved, including being fully statically typed internally (though setuptools is not fully typed, so it is of limited use). * All deprecated setuptools/distutils features are also deprecated in scikit-build, like the test command, easy_install, etc. Editable mode is still unsupported. Python 3.6 support is deprecated. Older versions of CMake (<3.15) are not recommended; a future version will remove support for older CMake's (along with providing a better mechanism for ensuring a proper CMake is available). If you need any of these features, please open or find an issue explaining what and why you need something. * Cython module now supports FindPython mode. #743 * PyPy is discovered without extra settings in FindPython mode #744 * FindPython mode uses a new path specification, should help make it usable. #774 * Better flushing and output streams for more consistent output ordering. #781 - Add skbuild-pr785-ignoredeprecation.patch * gh#scikit-build/scikit-build#785 - Update to 0.15.0 * Add support for FindPython (including 2 and 3). Thanks @hameerabbasi for the contribution. See #712. * Add support for Cygwin. Thanks @ax3l and @DWesl and @poikilos for the help! See #485. OBS-URL: https://build.opensuse.org/request/show/1032211 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=23
2022-10-29 14:23:21 +00:00
%if %{with test}
%check
Accepting request 951777 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.13.0 * If you are using scikit-build via pyproject.toml, please remember to include setuptools and wheel. A future version of scikit-build may remove the setuptools install-time hard requirement. * CMake module /cmake-modules/Cython now uses Cython default arguments. This no longer adds --no-docstrings in Release and MinSizeRel builds, so Cython docstrings are now retained by default. Additionally, --embed-positions is no longer added to Debug and RelWithDebInfo builds. Users can enable these and other Cython arguments via the option CYTHON_FLAGS. See #518 and #519, thanks to @bdice for the improvement. * Experimental support for ARM64 on Windows. Thanks to @gaborkertesz-linaro in #612. * Support for MSVC 2022. Thanks to @tttapa for the contribution in #627. * Support the modern form of target_link_libraries, via SKBUILD_LINK_LIBRARIES_KEYWORD (somewhat experimental). Thanks to @maxbachmann in #611. * Update the Ninja path if using the ninja package. This fixes repeated isolated builds. Further path inspection and updates for isolated builds may be considered in the future. #631, thanks to @RUrlus and @segevfiner for help in tracking this down. * Allow OpenBSD to pass the platform check (untested). See #586. * Avoid forcing the min macOS version. Behaviour is now inline with setuptools. Users should set MACOSX_DEPLOYMENT_TARGET when building (automatic with cibuildwheel), otherwise you will get the same value Python was compiled with. Note: This may seem like a regression for PyPy until the next release (7.3.8), OBS-URL: https://build.opensuse.org/request/show/951777 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=13
2022-02-05 18:26:11 +00:00
# test_pep518 needs a wheelhouse with downloaded wheels including platform dependent cmake
donttest="test_pep518"
%pytest -k "not ($donttest)"
Accepting request 1032211 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.16.0 * This release adds support for Python 3.11 and removes support for Python 2.7 and 3.5 (#688). Testing and static checking improved, including being fully statically typed internally (though setuptools is not fully typed, so it is of limited use). * All deprecated setuptools/distutils features are also deprecated in scikit-build, like the test command, easy_install, etc. Editable mode is still unsupported. Python 3.6 support is deprecated. Older versions of CMake (<3.15) are not recommended; a future version will remove support for older CMake's (along with providing a better mechanism for ensuring a proper CMake is available). If you need any of these features, please open or find an issue explaining what and why you need something. * Cython module now supports FindPython mode. #743 * PyPy is discovered without extra settings in FindPython mode #744 * FindPython mode uses a new path specification, should help make it usable. #774 * Better flushing and output streams for more consistent output ordering. #781 - Add skbuild-pr785-ignoredeprecation.patch * gh#scikit-build/scikit-build#785 - Update to 0.15.0 * Add support for FindPython (including 2 and 3). Thanks @hameerabbasi for the contribution. See #712. * Add support for Cygwin. Thanks @ax3l and @DWesl and @poikilos for the help! See #485. OBS-URL: https://build.opensuse.org/request/show/1032211 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=23
2022-10-29 14:23:21 +00:00
%endif
Accepting request 1032211 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.16.0 * This release adds support for Python 3.11 and removes support for Python 2.7 and 3.5 (#688). Testing and static checking improved, including being fully statically typed internally (though setuptools is not fully typed, so it is of limited use). * All deprecated setuptools/distutils features are also deprecated in scikit-build, like the test command, easy_install, etc. Editable mode is still unsupported. Python 3.6 support is deprecated. Older versions of CMake (<3.15) are not recommended; a future version will remove support for older CMake's (along with providing a better mechanism for ensuring a proper CMake is available). If you need any of these features, please open or find an issue explaining what and why you need something. * Cython module now supports FindPython mode. #743 * PyPy is discovered without extra settings in FindPython mode #744 * FindPython mode uses a new path specification, should help make it usable. #774 * Better flushing and output streams for more consistent output ordering. #781 - Add skbuild-pr785-ignoredeprecation.patch * gh#scikit-build/scikit-build#785 - Update to 0.15.0 * Add support for FindPython (including 2 and 3). Thanks @hameerabbasi for the contribution. See #712. * Add support for Cygwin. Thanks @ax3l and @DWesl and @poikilos for the help! See #485. OBS-URL: https://build.opensuse.org/request/show/1032211 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=23
2022-10-29 14:23:21 +00:00
%if !%{with test}
%files %{python_files}
%doc AUTHORS.rst README.rst CONTRIBUTING.rst HISTORY.rst docs/
%license LICENSE
%{python_sitelib}/skbuild
%{python_sitelib}/scikit_build-%{version}*-info
Accepting request 1032211 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.16.0 * This release adds support for Python 3.11 and removes support for Python 2.7 and 3.5 (#688). Testing and static checking improved, including being fully statically typed internally (though setuptools is not fully typed, so it is of limited use). * All deprecated setuptools/distutils features are also deprecated in scikit-build, like the test command, easy_install, etc. Editable mode is still unsupported. Python 3.6 support is deprecated. Older versions of CMake (<3.15) are not recommended; a future version will remove support for older CMake's (along with providing a better mechanism for ensuring a proper CMake is available). If you need any of these features, please open or find an issue explaining what and why you need something. * Cython module now supports FindPython mode. #743 * PyPy is discovered without extra settings in FindPython mode #744 * FindPython mode uses a new path specification, should help make it usable. #774 * Better flushing and output streams for more consistent output ordering. #781 - Add skbuild-pr785-ignoredeprecation.patch * gh#scikit-build/scikit-build#785 - Update to 0.15.0 * Add support for FindPython (including 2 and 3). Thanks @hameerabbasi for the contribution. See #712. * Add support for Cygwin. Thanks @ax3l and @DWesl and @poikilos for the help! See #485. OBS-URL: https://build.opensuse.org/request/show/1032211 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=23
2022-10-29 14:23:21 +00:00
%endif
%changelog