python310Packages.scikit-build: 0.13.1 -> 0.14.1

This commit is contained in:
Sandro Jäckel 2022-04-15 03:00:22 +02:00 committed by Martin Weinelt
parent d8e61ab141
commit cd7a1607c6

View File

@ -1,13 +1,15 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, distro
, packaging
, python
, setuptools
, setuptools-scm
, wheel
# Test Inputs
# Test Inputs
, cmake
, coverage
, cython
, flake8
, ninja
@ -22,29 +24,32 @@
buildPythonPackage rec {
pname = "scikit-build";
version = "0.13.1";
version = "0.14.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-XRd0ousVmI4IHFgsJUq0qXUgluajTyNUEct5vWFmDDc=";
sha256 = "sha256-Fwc9g3tWVRvt6Pa++utOuj2UM15ZAjmELjZg8HY6CRo=";
};
postPatch = ''
sed -i '/distutils.dir_util._path_created/d' tests/__init__.py
'';
patches = [
(fetchpatch {
url = "https://github.com/scikit-build/scikit-build/commit/59cf7a5b09a71d418947db3c9d487471c4573a24.patch";
sha256 = "sha256-oQllX3qzwWwllczXUMObrwndCfvMdS5FulEhbBORAks=";
})
];
propagatedBuildInputs = [
distro
packaging
setuptools
setuptools-scm
wheel
];
checkInputs = [
cmake
cython
flake8
ninja
path
pytestCheckHook
@ -69,11 +74,19 @@ buildPythonPackage rec {
"test_dual_pep518" # pip exits with code 1
"test_isolated_env_trigger_reconfigure" # Regex pattern 'exit skbuild saving cmake spec' does not match 'exit skbuild running make'.
"test_hello_wheel" # [Errno 2] No such file or directory: '_skbuild/linux-x86_64-3.9/setuptools/bdist.linux-x86_64/wheel/helloModule.py'
# sdist contents differ, contains additional setup.py
"test_hello_sdist"
"test_manifest_in_sdist"
"test_sdist_with_symlinks"
# distutils.errors.DistutilsArgError: no commands supplied
"test_invalid_command"
"test_manifest_in_sdist"
"test_no_command"
];
meta = with lib; {
description = "Improved build system generator for CPython C/C++/Fortran/Cython extensions";
homepage = "http://scikit-build.org/";
homepage = "https://github.com/scikit-build/scikit-build";
license = with licenses; [ mit bsd2 ]; # BSD due to reuses of PyNE code
maintainers = with maintainers; [ FlorianFranzen ];
};