mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
python310Packages.scikit-build: 0.16.7 -> 0.17.6
Changelog: https://github.com/scikit-build/scikit-build/blob/0.17.6/CHANGES.rst
This commit is contained in:
parent
f88e0be2a3
commit
a37a318c53
@ -1,34 +1,37 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, hatch-fancy-pypi-readme
|
||||
, hatch-vcs
|
||||
, hatchling
|
||||
, distro
|
||||
, packaging
|
||||
, python
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
, wheel
|
||||
, tomli
|
||||
# Test Inputs
|
||||
, cmake
|
||||
, cython
|
||||
, flake8
|
||||
, ninja
|
||||
, git
|
||||
, path
|
||||
, pytestCheckHook
|
||||
, pytest-mock
|
||||
, pytest-virtualenv
|
||||
, requests
|
||||
, six
|
||||
, virtualenv
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "scikit-build";
|
||||
version = "0.16.7";
|
||||
version = "0.17.6";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-qbnMdHm3HmyNQ0WW363gJSU6riOtsiqaLYWFD9Uc7P0=";
|
||||
pname = "scikit_build";
|
||||
inherit version;
|
||||
hash = "sha256-tRpRo2s3xCZQmUtQR5EvWbIuMhCyPjIfKHYR+e9uXJ0=";
|
||||
};
|
||||
|
||||
# This line in the filterwarnings section of the pytest configuration leads to this error:
|
||||
@ -37,24 +40,28 @@ buildPythonPackage rec {
|
||||
sed -i "/'error',/d" pyproject.toml
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatch-fancy-pypi-readme
|
||||
hatch-vcs
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
distro
|
||||
packaging
|
||||
setuptools
|
||||
setuptools-scm
|
||||
wheel
|
||||
] ++ lib.optionals (pythonOlder "3.11") [
|
||||
tomli
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
cmake
|
||||
cython
|
||||
ninja
|
||||
path
|
||||
git
|
||||
pytestCheckHook
|
||||
pytest-mock
|
||||
pytest-virtualenv
|
||||
requests
|
||||
six
|
||||
virtualenv
|
||||
];
|
||||
|
||||
@ -76,13 +83,10 @@ buildPythonPackage rec {
|
||||
"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; {
|
||||
changelog = "https://github.com/scikit-build/scikit-build/blob/${version}/CHANGES.rst";
|
||||
description = "Improved build system generator for CPython C/C++/Fortran/Cython extensions";
|
||||
homepage = "https://github.com/scikit-build/scikit-build";
|
||||
license = with licenses; [ mit bsd2 ]; # BSD due to reuses of PyNE code
|
||||
|
Loading…
Reference in New Issue
Block a user