python.pkgs.pathpy: improve expression
This commit is contained in:
parent
ede54f9144
commit
256deeb33e
|
@ -2,8 +2,8 @@
|
|||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools_scm
|
||||
, pytestrunner
|
||||
, pytest
|
||||
, pytest-flake8
|
||||
, glibcLocales
|
||||
, packaging
|
||||
, isPy27
|
||||
|
@ -14,14 +14,13 @@
|
|||
buildPythonPackage rec {
|
||||
pname = "path.py";
|
||||
version = "11.5.0";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b6687a532a735a2d79a13e92bdb31cb0971abe936ea0fa78bcb47faf4372b3cb";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytestrunner glibcLocales packaging ];
|
||||
checkInputs = [ pytest pytest-flake8 glibcLocales packaging ];
|
||||
buildInputs = [ setuptools_scm ];
|
||||
propagatedBuildInputs = [
|
||||
importlib-metadata
|
||||
|
@ -37,9 +36,7 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
checkPhase = ''
|
||||
# Ignore pytest configuration
|
||||
rm pytest.ini
|
||||
# ignore performance test which may fail when the system is under load
|
||||
py.test -v -k 'not TestPerformance' test_path.py
|
||||
py.test -v -k 'not TestPerformance'
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue