Merge pull request #297824 from fabaff/gto-bump

python311Packages.gto: 1.7.0 -> 1.7.1
This commit is contained in:
Fabian Affolter 2024-03-22 08:22:04 +01:00 committed by GitHub
commit a94c8098cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "gto"; pname = "gto";
version = "1.7.0"; version = "1.7.1";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -32,14 +32,14 @@ buildPythonPackage rec {
owner = "iterative"; owner = "iterative";
repo = "gto"; repo = "gto";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-dovCItMhPKRSPfbTzM5dbz8hdygqrLdUi6gS4+G10ks="; hash = "sha256-fUi+/PW05EvgTnoEv1Im1BjZ07VzpZhyW0EjhLUqJGI=";
}; };
postPatch = '' postPatch = ''
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace ', "setuptools_scm_git_archive==1.4.1"' "" --replace-fail ', "setuptools_scm_git_archive==1.4.1"' ""
substituteInPlace setup.cfg \ substituteInPlace setup.cfg \
--replace " --cov=gto --cov-report=term-missing --cov-report=xml" "" --replace-fail " --cov=gto --cov-report=term-missing --cov-report=xml" ""
''; '';
nativeBuildInputs = [ nativeBuildInputs = [
@ -88,10 +88,10 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Module for Git Tag Operations"; description = "Module for Git Tag Operations";
mainProgram = "gto";
homepage = "https://github.com/iterative/gto"; homepage = "https://github.com/iterative/gto";
changelog = "https://github.com/iterative/gto/releases/tag/${version}"; changelog = "https://github.com/iterative/gto/releases/tag/${version}";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
mainProgram = "gto";
}; };
} }