Unverified Commit 85777d2f authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

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

parents ab676f4b 87d3c358
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 = ''
+21 −13
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  setuptools-scm,
  asteval,
  dill,
  fetchPypi,
  matplotlib,
  numpy,
  pandas,
  pytestCheckHook,
  pythonOlder,
  scipy,
  setuptools-scm,
  setuptools,
  uncertainties,
  pytestCheckHook,
  pandas,
  matplotlib,
}:

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 ];
  };