pythonPackages.pymystem3: skip tests py2
This commit is contained in:
parent
0cde253727
commit
dd235efed0
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
|
, isPy3k
|
||||||
, requests
|
, requests
|
||||||
, flake8
|
, flake8
|
||||||
, mock
|
, mock
|
||||||
|
@ -19,6 +20,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
propagatedBuildInputs = [ requests ];
|
propagatedBuildInputs = [ requests ];
|
||||||
checkInputs = [ flake8 mock pytest ];
|
checkInputs = [ flake8 mock pytest ];
|
||||||
|
doCheck = isPy3k; # fails on linting
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i 's#^_mystem_info = .*#_mystem_info = ["${mystem}/bin", "${mystem}/bin/mystem"]#' pymystem3/constants.py
|
sed -i 's#^_mystem_info = .*#_mystem_info = ["${mystem}/bin", "${mystem}/bin/mystem"]#' pymystem3/constants.py
|
||||||
|
|
Loading…
Reference in New Issue