behave: 1.2.5 -> 1.2.6

This commit is contained in:
Alex Brandt 2018-03-07 11:03:23 -06:00
parent b8c3a16cd3
commit df9148c2aa

View File

@ -1,23 +1,22 @@
{ stdenv, fetchPypi { stdenv, fetchPypi
, buildPythonApplication, python, pythonAtLeast , buildPythonApplication, isPy27, python, pythonOlder
, mock, nose, pyhamcrest , mock, nose, pathpy, pyhamcrest, pytest
, glibcLocales, parse, parse-type, six , glibcLocales, parse, parse-type, six
, traceback2
}: }:
buildPythonApplication rec { buildPythonApplication rec {
pname = "behave"; pname = "behave";
version = "1.2.5"; version = "1.2.6";
name = "${pname}-${version}"; name = "${pname}-${version}";
disabled = pythonAtLeast "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "81b731ac5187e31e4aad2594944fa914943683a9818320846d037c5ebd6d5d0b"; sha256 = "11hsz365qglvpp1m1w16239c3kiw15lw7adha49lqaakm8kj6rmr";
}; };
checkInputs = [ mock nose pyhamcrest ]; checkInputs = [ mock nose pathpy pyhamcrest pytest ];
buildInputs = [ glibcLocales ]; buildInputs = [ glibcLocales ];
propagatedBuildInputs = [ parse parse-type six ]; propagatedBuildInputs = [ parse parse-type six ] ++ stdenv.lib.optional (pythonOlder "3.0") traceback2;
postPatch = '' postPatch = ''
patchShebangs bin patchShebangs bin
@ -29,7 +28,7 @@ buildPythonApplication rec {
export LANG="en_US.UTF-8" export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8" export LC_ALL="en_US.UTF-8"
nosetests -x pytest test tests
${python.interpreter} bin/behave -f progress3 --stop --tags='~@xfail' features/ ${python.interpreter} bin/behave -f progress3 --stop --tags='~@xfail' features/
${python.interpreter} bin/behave -f progress3 --stop --tags='~@xfail' tools/test-features/ ${python.interpreter} bin/behave -f progress3 --stop --tags='~@xfail' tools/test-features/