python3Packages.jaraco.collections: 3.5.1 -> 3.5.2

This commit is contained in:
Martin Weinelt 2022-07-16 12:59:13 +02:00
parent d3b07e4801
commit f1c11ecfc8

View File

@ -1,23 +1,45 @@
{ buildPythonPackage, fetchPypi, setuptools-scm
, six, jaraco_classes, jaraco_text
{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
, jaraco_classes
, jaraco_text
}:
buildPythonPackage rec {
pname = "jaraco.collections";
version = "3.5.1";
version = "3.5.2";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "b04f00bd4b3c4fc4ba5fe1baf8042c0efd192b13e386830ea23fff77bb69dc88";
sha256 = "sha256-ByuT6zX55IUISFdVU05mo07xzISvKR/Sfzm0TUwN0sM=";
};
postPatch = ''
# break dependency cycle
sed -i "/'jaraco.text',/d" setup.cfg
'';
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
jaraco_classes
jaraco_text
];
pythonNamespaces = [ "jaraco" ];
doCheck = false;
buildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ six jaraco_classes jaraco_text ];
# break dependency cycle
patchPhase = ''
sed -i "/'jaraco.text',/d" setup.py
'';
pythonImportsCheck = [ "jaraco.collections" ];
meta = with lib; {
description = "Models and classes to supplement the stdlib 'collections' module";
homepage = "https://github.com/jaraco/jaraco.collections";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}