python311Packages.setuptoolsTrial: remove pytest-runner
This commit is contained in:
@@ -1,38 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, virtualenv
|
||||
, pytest-runner
|
||||
, pytest-virtualenv
|
||||
, pythonOlder
|
||||
, twisted
|
||||
, pathlib2
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "setuptools_trial";
|
||||
pname = "setuptools-trial";
|
||||
version = "0.6.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "14220f8f761c48ba1e2526f087195077cf54fad7098b382ce220422f0ff59b12";
|
||||
pname = "setuptools_trial";
|
||||
inherit version;
|
||||
hash = "sha256-FCIPj3YcSLoeJSbwhxlQd89U+tcJizgs4iBCLw/1mxI=";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest virtualenv pytest-runner pytest-virtualenv ];
|
||||
propagatedBuildInputs = [ twisted pathlib2 ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i '12,$d' tests/test_main.py
|
||||
'';
|
||||
propagatedBuildInputs = [
|
||||
twisted
|
||||
];
|
||||
|
||||
# Couldn't get tests working
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"setuptools_trial"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Setuptools plugin that makes unit tests execute with trial instead of pyunit.";
|
||||
description = "Setuptools plugin that makes unit tests execute with trial instead of pyunit";
|
||||
homepage = "https://github.com/rutsky/setuptools-trial";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ ryansydnor ];
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user