python3Packages.pytest-cases: 3.6.4 -> 3.6.5
This commit is contained in:
parent
9f43d5d313
commit
d320d0b5ff
1 changed files with 9 additions and 4 deletions
|
@ -10,12 +10,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pytest-cases";
|
pname = "pytest-cases";
|
||||||
version = "3.6.4";
|
version = "3.6.5";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-m2oxE7q46TWadhZgpwTAHKep5ZN9LG1VNCRJkPz5W1E=";
|
sha256 = "sha256-JZfQI6dgYFHWUbCMuHD78eBi9svoV5zkX887V9xFLNw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -32,7 +34,8 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.cfg --replace "pytest-runner" ""
|
substituteInPlace setup.cfg \
|
||||||
|
--replace "pytest-runner" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Tests have dependencies (pytest-harvest, pytest-steps) which
|
# Tests have dependencies (pytest-harvest, pytest-steps) which
|
||||||
|
@ -40,7 +43,9 @@ buildPythonPackage rec {
|
||||||
# makefun, pytest-*) have circular dependecies.
|
# makefun, pytest-*) have circular dependecies.
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [ "pytest_cases" ];
|
pythonImportsCheck = [
|
||||||
|
"pytest_cases"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Separate test code from test cases in pytest";
|
description = "Separate test code from test cases in pytest";
|
||||||
|
|
Loading…
Reference in a new issue