Merge pull request #111491 from fabaff/bump-gitpython

python3Packages.GitPython: 3.1.11 -> 3.1.12
This commit is contained in:
Mario Rodas 2021-02-01 23:51:54 -05:00 committed by GitHub
commit a0dc0f6f2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,13 +1,21 @@
{ lib, buildPythonPackage, fetchPypi, isPy27, substituteAll, git, gitdb, mock, nose, ddt }: { lib
, buildPythonPackage
, fetchPypi
, isPy27
, substituteAll
, git
, gitdb
, ddt
}:
buildPythonPackage rec { buildPythonPackage rec {
version = "3.1.11";
pname = "GitPython"; pname = "GitPython";
version = "3.1.12";
disabled = isPy27; # no longer supported disabled = isPy27; # no longer supported
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "befa4d101f91bad1b632df4308ec64555db684c360bd7d2130b4807d49ce86b8"; sha256 = "sha256-Qtvv2NniV2xJbtAFnzED3O9xJbnOFvnV+cg0rtRKHaw=";
}; };
patches = [ patches = [
@ -17,16 +25,16 @@ buildPythonPackage rec {
}) })
]; ];
checkInputs = [ nose ] ++ lib.optional isPy27 mock;
propagatedBuildInputs = [ gitdb ddt ]; propagatedBuildInputs = [ gitdb ddt ];
# Tests require a git repo # Tests require a git repo
doCheck = false; doCheck = false;
pythonImportsCheck = [ "git" ];
meta = { meta = with lib; {
description = "Python Git Library"; description = "Python Git Library";
maintainers = [ ];
homepage = "https://github.com/gitpython-developers/GitPython"; homepage = "https://github.com/gitpython-developers/GitPython";
license = lib.licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
}; };
} }