Merge pull request #259207 from fabaff/tank-utility-bump

python311Packages.tank-utility: 1.4.1 -> 1.5.0
This commit is contained in:
Nick Cao 2023-10-05 14:30:43 -04:00 committed by GitHub
commit 3531a07aa0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "tank-utility"; pname = "tank-utility";
version = "1.4.1"; version = "1.5.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -20,16 +20,10 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "krismolendyke"; owner = "krismolendyke";
repo = pname; repo = pname;
rev = version; rev = "refs/tags/${version}";
hash = "sha256-2cxAaSyreIzQzCUtiolEV7JbGFKL8Mob3337J0jlMsU="; hash = "sha256-h9y3X+FSzSFt+bd/chz+x0nocHaKZ8DvreMxAYMs8/E=";
}; };
postPatch = ''
# urllib3[secure] is not picked-up
substituteInPlace setup.py \
--replace "urllib3[secure]" "urllib3"
'';
propagatedBuildInputs = [ propagatedBuildInputs = [
requests requests
urllib3 urllib3
@ -49,6 +43,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Library for the Tank Utility API"; description = "Library for the Tank Utility API";
homepage = "https://github.com/krismolendyke/tank-utility"; homepage = "https://github.com/krismolendyke/tank-utility";
changelog = "https://github.com/krismolendyke/tank-utility/blob/${version}/HISTORY.rst";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };