python3Packages.jaraco.collections: 3.5.1 -> 3.5.2
This commit is contained in:
parent
d3b07e4801
commit
f1c11ecfc8
1 changed files with 32 additions and 10 deletions
|
@ -1,23 +1,45 @@
|
||||||
{ buildPythonPackage, fetchPypi, setuptools-scm
|
{ lib
|
||||||
, six, jaraco_classes, jaraco_text
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, setuptools-scm
|
||||||
|
, jaraco_classes
|
||||||
|
, jaraco_text
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "jaraco.collections";
|
pname = "jaraco.collections";
|
||||||
version = "3.5.1";
|
version = "3.5.2";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
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" ];
|
pythonNamespaces = [ "jaraco" ];
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
buildInputs = [ setuptools-scm ];
|
|
||||||
propagatedBuildInputs = [ six jaraco_classes jaraco_text ];
|
|
||||||
|
|
||||||
# break dependency cycle
|
pythonImportsCheck = [ "jaraco.collections" ];
|
||||||
patchPhase = ''
|
|
||||||
sed -i "/'jaraco.text',/d" setup.py
|
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; [ ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue