python310Packages.soupsieve: document circular dependency, cleanup

This commit is contained in:
Sandro Jäckel 2022-06-02 15:19:35 +02:00 committed by Jonathan Ringer
parent a40d0cbc5b
commit 1d5ed925d5
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -1,8 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, beautifulsoup4
, isPy3k
, backports_functools_lru_cache
}:
@ -16,21 +14,18 @@ buildPythonPackage rec {
sha256 = "b8d49b1cd4f037c7082a9683dfa1801aa2597fb11c3a1155b7a5b94829b4f1f9";
};
checkPhase = ''
py.test
'';
checkInputs = [ pytest beautifulsoup4 ];
propagatedBuildInputs = lib.optional (!isPy3k) backports_functools_lru_cache;
# Circular test dependency on beautifulsoup4
# Circular dependency on beautifulsoup4
doCheck = false;
meta = {
description = "A CSS4 selector implementation for Beautiful Soup";
license = lib.licenses.mit;
homepage = "https://github.com/facelessuser/soupsieve";
};
# Circular dependency on beautifulsoup4
# pythonImportsCheck = [ "soupsieve" ];
meta = with lib; {
description = "A CSS4 selector implementation for Beautiful Soup";
license = licenses.mit;
homepage = "https://github.com/facelessuser/soupsieve";
maintainers = with maintainers; [ ];
};
}