python.pkgs: rename pytestflakes to pytest-flakes

to follow naming guideline
This commit is contained in:
Frederik Rietdijk 2019-02-16 09:02:30 +01:00
parent 9dc262c659
commit 6f0555b030
7 changed files with 12 additions and 12 deletions

View File

@ -1,5 +1,5 @@
{ buildPythonPackage, stdenv, pyyaml, pytest, enum34 { buildPythonPackage, stdenv, pyyaml, pytest, enum34
, pytestpep8, pytestflakes, fetchFromGitHub, isPy3k, lib, glibcLocales , pytestpep8, pytest-flakes, fetchFromGitHub, isPy3k, lib, glibcLocales
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -23,7 +23,7 @@ buildPythonPackage rec {
LC_ALL="en_US.UTF-8"; LC_ALL="en_US.UTF-8";
checkInputs = [ pyyaml pytestpep8 pytestflakes pytest glibcLocales ]; checkInputs = [ pyyaml pytestpep8 pytest-flakes pytest glibcLocales ];
checkPhase = '' checkPhase = ''
py.test py.test

View File

@ -7,7 +7,7 @@
, sphinx , sphinx
, flake8 , flake8
, pytestpep8 , pytestpep8
, pytestflakes , pytest-flakes
, pytestcov , pytestcov
, pytestcache , pytestcache
, pytestrunner , pytestrunner
@ -31,7 +31,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ python-utils ]; propagatedBuildInputs = [ python-utils ];
nativeBuildInputs = [ pytestrunner ]; nativeBuildInputs = [ pytestrunner ];
checkInputs = [ checkInputs = [
pytest sphinx flake8 pytestpep8 pytestflakes pytestcov pytest sphinx flake8 pytestpep8 pytest-flakes pytestcov
pytestcache freezegun pytestcache freezegun
]; ];
# ignore tests on the nix wrapped setup.py and don't flake .eggs directory # ignore tests on the nix wrapped setup.py and don't flake .eggs directory

View File

@ -13,7 +13,7 @@
, pytestcache , pytestcache
, pytestcov , pytestcov
, covCore , covCore
, pytestflakes , pytest-flakes
, pytestpep8 , pytestpep8
, sphinx , sphinx
, mock , mock
@ -35,7 +35,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ httplib2 oauth oauth2 semantic-version ]; propagatedBuildInputs = [ httplib2 oauth oauth2 semantic-version ];
checkInputs = [ checkInputs = [
flask httpretty oauthlib pyflakes pytest pytestcache pytestcov covCore flask httpretty oauthlib pyflakes pytest pytestcache pytestcov covCore
pytestflakes pytestpep8 sphinx mock chalice pytest-flakes pytestpep8 sphinx mock chalice
]; ];
src = fetchPypi { src = fetchPypi {

View File

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, pytest, pytestflakes, pytestpep8, tox }: { stdenv, buildPythonPackage, fetchPypi, pytest, pytest-flakes, pytestpep8, tox }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pytest-quickcheck"; pname = "pytest-quickcheck";
version = "0.8.3"; version = "0.8.3";
@ -9,7 +9,7 @@ buildPythonPackage rec {
}; };
buildInputs = [ pytest ]; buildInputs = [ pytest ];
propagatedBuildInputs = [ pytestflakes pytestpep8 tox ]; propagatedBuildInputs = [ pytest-flakes pytestpep8 tox ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
license = licenses.asl20; license = licenses.asl20;

View File

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, pytest, pytestrunner, pytestcov, pytestflakes, pytestpep8, sphinx, six }: { lib, buildPythonPackage, fetchPypi, pytest, pytestrunner, pytestcov, pytest-flakes, pytestpep8, sphinx, six }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "python-utils"; pname = "python-utils";
@ -14,7 +14,7 @@ buildPythonPackage rec {
rm tests/*.pyc rm tests/*.pyc
''; '';
checkInputs = [ pytest pytestrunner pytestcov pytestflakes pytestpep8 sphinx ]; checkInputs = [ pytest pytestrunner pytestcov pytest-flakes pytestpep8 sphinx ];
checkPhase = '' checkPhase = ''
py.test tests py.test tests

View File

@ -17,7 +17,7 @@ pythonPackages.buildPythonApplication rec {
}; };
checkInputs = with pythonPackages; [ checkInputs = with pythonPackages; [
pytest pytestflakes webtest mock pytest pytest-flakes webtest mock
devpi-server tox devpi-server tox
sphinx wheel git mercurial detox sphinx wheel git mercurial detox
setuptools setuptools

View File

@ -1542,7 +1542,7 @@ in {
pytest-flake8 = callPackage ../development/python-modules/pytest-flake8 { }; pytest-flake8 = callPackage ../development/python-modules/pytest-flake8 { };
pytestflakes = callPackage ../development/python-modules/pytest-flakes { }; pytest-flakes = callPackage ../development/python-modules/pytest-flakes { };
pytest-isort = callPackage ../development/python-modules/pytest-isort { }; pytest-isort = callPackage ../development/python-modules/pytest-isort { };