Unverified Commit 28e89e15 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #229675 from wegank/scooby-bump

python310Packages.scooby: 0.7.1 -> 0.7.2
parents 6b788bd8 01986b07
Loading
Loading
Loading
Loading
+4 −9
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@

buildPythonPackage rec {
  pname = "scooby";
  version = "0.7.1";
  version = "0.7.2";
  format = "setuptools";

  disabled = pythonOlder "3.7";
@@ -22,16 +22,9 @@ buildPythonPackage rec {
    owner = "banesullivan";
    repo = pname;
    rev = "refs/tags/v${version}";
    hash = "sha256-wKbCIA6Xp+VYhcQ5ZpHo5usB+ksnMAJyv5naBvl4Cxo=";
    hash = "sha256-eY8Ysc20Q1OHKb/LU+4gqnSgNfHCytjOnnvB24EfQto=";
  };

  postPatch = ''
    substituteInPlace setup.py \
      --replace "python_requires='>=3.7.*'" "python_requires='>=3.7'"
  '';

  SETUPTOOLS_SCM_PRETEND_VERSION = version;

  nativeBuildInputs = [
    setuptools-scm
  ];
@@ -45,6 +38,8 @@ buildPythonPackage rec {
    scipy
  ];

  env.SETUPTOOLS_SCM_PRETEND_VERSION = version;

  preCheck = ''
    export PATH="$PATH:$out/bin";
  '';