pythonPackages.pydocstyle: depend on pathlib for python<3.4 only
This commit is contained in:
parent
ca09d1b303
commit
d90fa004b4
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
|
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k, pythonOlder
|
||||||
, snowballstemmer, six, configparser
|
, snowballstemmer, six, configparser
|
||||||
, pytest, pytestpep8, mock, pathlib }:
|
, pytest, pytestpep8, mock, pathlib }:
|
||||||
|
|
||||||
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ snowballstemmer six ] ++ lib.optional (!isPy3k) configparser;
|
propagatedBuildInputs = [ snowballstemmer six ] ++ lib.optional (!isPy3k) configparser;
|
||||||
|
|
||||||
checkInputs = [ pytest pytestpep8 mock pathlib ];
|
checkInputs = [ pytest pytestpep8 mock ] ++ lib.optional (pythonOlder "3.4") pathlib;
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
# test_integration.py installs packages via pip
|
# test_integration.py installs packages via pip
|
||||||
|
Loading…
x
Reference in New Issue
Block a user