python: MechanicalSoup: 0.8.0 -> 0.9.0.post4

This commit is contained in:
Frederik Rietdijk 2017-12-30 12:24:38 +01:00
parent ba07bcd774
commit d4642a05cb
1 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
{ fetchPypi, buildPythonPackage, lib { fetchPypi, buildPythonPackage, lib
, requests, beautifulsoup4, six , requests, beautifulsoup4, six, lxml
, pytestrunner, requests-mock, pytestcov, pytest , pytestrunner, requests-mock, pytestcov, pytest
}: }:
@ -7,23 +7,23 @@
buildPythonPackage rec { buildPythonPackage rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
pname = "MechanicalSoup"; pname = "MechanicalSoup";
version = "0.8.0"; version = "0.9.0.post4";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "38a6ca35428196be94f87f8f036ee4a88b1418d1f77e5634ad92acfaa22c28da"; sha256 = "ce8f822afbc9bef1499be417e8d5deecd0cd32606420165700e89477955f03ab";
}; };
checkInputs = [ pytest pytestrunner requests-mock pytestcov ]; checkInputs = [ pytest pytestrunner requests-mock pytestcov ];
propagatedBuildInputs = [ requests beautifulsoup4 six ]; propagatedBuildInputs = [ lxml requests beautifulsoup4 six ];
# Requires network # Requires network
doCheck = false; doCheck = false;
postPatch = '' postPatch = ''
# Is in setup_requires but not used in setup.py... # Is in setup_requires but not used in setup.py...
substituteInPlace setup.py --replace "'pytest-runner'," "" substituteInPlace setup.py --replace "'pytest-runner'" ""
''; '';
meta = with lib; { meta = with lib; {