python3Packages.mdp: drop

This commit is contained in:
wxt 2024-11-15 18:21:13 +08:00 committed by Weijia Wang
parent 5e2ac4cf3e
commit 4d1d9e9ba0
3 changed files with 1 additions and 70 deletions

View File

@ -1,68 +0,0 @@
{
lib,
buildPythonPackage,
fetchPypi,
future,
joblib,
numpy,
pytest,
pythonOlder,
scikit-learn,
}:
buildPythonPackage rec {
pname = "mdp";
version = "3.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "MDP";
inherit version;
hash = "sha256-rFKmUsy67RhX/xIJhi8Dv5sG0JOxJgb7QQeH2jqmWg4=";
};
postPatch = ''
# https://github.com/mdp-toolkit/mdp-toolkit/issues/92
substituteInPlace mdp/utils/routines.py \
--replace numx.typeDict numx.sctypeDict
substituteInPlace mdp/test/test_NormalizingRecursiveExpansionNode.py \
--replace py.test"" "pytest"
substituteInPlace mdp/test/test_RecursiveExpansionNode.py \
--replace py.test"" "pytest"
'';
propagatedBuildInputs = [
future
numpy
];
nativeCheckInputs = [
joblib
pytest
scikit-learn
];
pythonImportsCheck = [
"mdp"
"bimdp"
];
checkPhase = ''
runHook preCheck
pytest --seed 7710873 mdp
pytest --seed 7710873 bimdp
runHook postCheck
'';
meta = with lib; {
description = "Library for building complex data processing software by combining widely used machine learning algorithms";
homepage = "https://mdp-toolkit.github.io/";
changelog = "https://github.com/mdp-toolkit/mdp-toolkit/blob/MDP-${version}/CHANGES";
license = licenses.bsd3;
maintainers = with maintainers; [ nico202 ];
};
}

View File

@ -336,6 +336,7 @@ mapAliases ({
mask-rcnn = throw "mask-rcnn has been removed as it is unmaintained and its dependency imgaug no longer builds"; # added 2023-07-10 mask-rcnn = throw "mask-rcnn has been removed as it is unmaintained and its dependency imgaug no longer builds"; # added 2023-07-10
mac_alias = mac-alias; # added 2024-01-07 mac_alias = mac-alias; # added 2024-01-07
MDP = mdp; # added 2023-02-19 MDP = mdp; # added 2023-02-19
mdp = throw "mdp has been removed as it is unmaintained and broken"; # added 2024-11-23
MechanicalSoup = mechanicalsoup; # added 2021-06-01 MechanicalSoup = mechanicalsoup; # added 2021-06-01
memcached = python-memcached; # added 2022-05-06 memcached = python-memcached; # added 2022-05-06
mailman = throw "Please use pkgs.mailman"; # added 2022-04-29 mailman = throw "Please use pkgs.mailman"; # added 2022-04-29

View File

@ -7925,8 +7925,6 @@ self: super: with self; {
mdutils = callPackage ../development/python-modules/mdutils { }; mdutils = callPackage ../development/python-modules/mdutils { };
mdp = callPackage ../development/python-modules/mdp { };
mean-average-precision = callPackage ../development/python-modules/mean-average-precision { }; mean-average-precision = callPackage ../development/python-modules/mean-average-precision { };
measurement = callPackage ../development/python-modules/measurement { }; measurement = callPackage ../development/python-modules/measurement { };