python.pkgs.soupsieve: init at 1.7.3

This commit is contained in:
Frederik Rietdijk 2019-02-14 11:07:35 +01:00
parent b3febfb850
commit 54941b106e
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, beautifulsoup4
, isPy3k
, backports_functools_lru_cache
}:
buildPythonPackage rec {
pname = "soupsieve";
version = "1.7.3";
src = fetchPypi {
inherit pname version;
sha256 = "87db12ae79194f0ff9808d2b1641c4f031ae39ffa3cab6b907ea7c1e5e5ed445";
};
checkPhase = ''
py.test
'';
checkInputs = [ pytest beautifulsoup4 ];
propagatedBuildInputs = lib.optional (!isPy3k) backports_functools_lru_cache;
# Circular test dependency on beautifulsoup4
doCheck = false;
meta = {
description = "A CSS4 selector implementation for Beautiful Soup";
license = lib.licenses.mit;
homepage = https://github.com/facelessuser/soupsieve;
};
}

View File

@ -4453,6 +4453,8 @@ in {
sorl_thumbnail = callPackage ../development/python-modules/sorl_thumbnail { }; sorl_thumbnail = callPackage ../development/python-modules/sorl_thumbnail { };
soupsieve = callPackage ../development/python-modules/soupsieve { };
sphinx_rtd_theme = callPackage ../development/python-modules/sphinx_rtd_theme { }; sphinx_rtd_theme = callPackage ../development/python-modules/sphinx_rtd_theme { };
sphinxcontrib-blockdiag = callPackage ../development/python-modules/sphinxcontrib-blockdiag { }; sphinxcontrib-blockdiag = callPackage ../development/python-modules/sphinxcontrib-blockdiag { };