Merge pull request #297047 from Stunkymonkey/setuptools-dso-normalize

python312Packages.setuptools-dso: rename from setuptools_dso
This commit is contained in:
OTABI Tomoya 2024-03-26 14:18:50 +09:00 committed by GitHub
commit a53e20bf25
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 14 deletions

View File

@ -2,28 +2,24 @@
, buildPythonPackage
, fetchPypi
, nose2
, pytestCheckHook
, setuptools
}:
buildPythonPackage rec {
pname = "setuptools_dso";
pname = "setuptools-dso";
version = "2.10";
format = "pyproject";
pyproject = true;
src = fetchPypi {
inherit pname version;
pname = "setuptools_dso";
inherit version;
hash = "sha256-sjAZ9enOw3vF3zqXNbhu45SM5/sv2kIwfKC6SWJdG0Q=";
};
propagatedBuildInputs = [ setuptools ];
build-system = [ setuptools ];
nativeCheckInputs = [ nose2 ];
checkPhase = ''
runHook preCheck
nose2 -v
runHook postCheck
'';
nativeCheckInputs = [ nose2 pytestCheckHook ];
meta = with lib; {
description = "setuptools extension for building non-Python Dynamic Shared Objects";

View File

@ -7,7 +7,7 @@
, pythonRelaxDepsHook
, pillow
, sortedcollections
, setuptools_dso
, setuptools-dso
}:
buildPythonPackage rec {
@ -35,7 +35,7 @@ buildPythonPackage rec {
ordered-set
pillow
sortedcollections
setuptools_dso
setuptools-dso
];
doCheck = false; # there are no tests

View File

@ -463,6 +463,7 @@ mapAliases ({
scikitlearn = scikit-learn; # added 2021-07-21
selectors34 = throw "selectors34 has been removed: functionality provided by Python itself; archived by upstream."; # added 2021-06-10
sequoia = throw "python3Packages.sequoia was replaced by pysequoia - built from a dedicated repository, with a new API."; # added 2023-06-24
setuptools_dso = setuptools-dso; # added 2024-03-03
setuptools_scm = setuptools-scm; # added 2021-06-03
setuptoolsTrial = setuptools-trial; # added 2023-11-11
sharkiqpy = sharkiq; # added 2022-05-21

View File

@ -13511,7 +13511,7 @@ self: super: with self; {
setuptools-declarative-requirements = callPackage ../development/python-modules/setuptools-declarative-requirements { };
setuptools_dso = callPackage ../development/python-modules/setuptools_dso { };
setuptools-dso = callPackage ../development/python-modules/setuptools-dso { };
setuptools-generate = callPackage ../development/python-modules/setuptools-generate { };