Commit 6e80d81f authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.pvo: update disabled

parent 5e676701
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ buildPythonPackage rec {
  version = "2.0.0";
  format = "pyproject";

  disabled = pythonOlder "3.10";
  disabled = pythonOlder "3.11";

  src = fetchFromGitHub {
    owner = "frenck";
@@ -25,6 +25,13 @@ buildPythonPackage rec {
    hash = "sha256-SvsrvGwIAlj/8hdk90+rxigVrx6n3YInvF/4eux2H04=";
  };

  postPatch = ''
    # Upstream doesn't set a version for the pyproject.toml
    substituteInPlace pyproject.toml \
      --replace "0.0.0" "${version}" \
      --replace "--cov" ""
  '';

  nativeBuildInputs = [
    poetry-core
  ];
@@ -41,13 +48,6 @@ buildPythonPackage rec {
    pytestCheckHook
  ];

  postPatch = ''
    # Upstream doesn't set a version for the pyproject.toml
    substituteInPlace pyproject.toml \
      --replace "0.0.0" "${version}" \
      --replace "--cov" ""
  '';

  pythonImportsCheck = [
    "pvo"
  ];