python312Packages.asteval: 1.0.2 -> 1.0.3 (#341558)

This commit is contained in:
Fabian Affolter
2024-09-14 22:36:16 +02:00
committed by GitHub
2 changed files with 25 additions and 17 deletions
@@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "asteval";
version = "1.0.2";
version = "1.0.3";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "lmfit";
repo = "asteval";
rev = "refs/tags/${version}";
hash = "sha256-TIMyfX8bpzey0hw0lBMcdZVnc07j9PFVjn4YbX4oW/8=";
hash = "sha256-CAjj5vlXCfelH7nyE/tS44ThCQrCwrNETyjXEVbfmiA=";
};
postPatch = ''
@@ -1,40 +1,43 @@
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
setuptools-scm,
asteval,
dill,
numpy,
scipy,
uncertainties,
pytestCheckHook,
pandas,
fetchPypi,
matplotlib,
numpy,
pandas,
pytestCheckHook,
pythonOlder,
scipy,
setuptools-scm,
setuptools,
uncertainties,
}:
buildPythonPackage rec {
pname = "lmfit";
version = "1.3.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-Mb7q4fAnwbjBTc1/LoSIqAt1+zied/ymd1Sb3C/ll7s=";
};
postPatch = ''
substituteInPlace pyproject.toml --replace "--cov=lmfit --cov-report html" ""
substituteInPlace pyproject.toml \
--replace-fail "--cov=lmfit --cov-report html" ""
'';
nativeBuildInputs = [
build-system = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [
dependencies = [
asteval
dill
numpy
@@ -43,14 +46,19 @@ buildPythonPackage rec {
];
nativeCheckInputs = [
pytestCheckHook
pandas
matplotlib
pandas
pytestCheckHook
];
pythonImportsCheck = [ "lmfit" ];
disabledTests = [ "test_check_ast_errors" ];
meta = with lib; {
description = "Least-Squares Minimization with Bounds and Constraints";
homepage = "https://lmfit-py.readthedocs.io/";
homepage = "https://lmfit.github.io/lmfit-py/";
changelog = "https://github.com/lmfit/lmfit-py/releases/tag/${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ nomeata ];
};