2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
isPyPy,
|
|
|
|
setuptools,
|
|
|
|
pytestCheckHook,
|
2024-01-02 11:29:13 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zope-testing";
|
|
|
|
version = "5.0.1";
|
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "zope.testing";
|
|
|
|
inherit version;
|
|
|
|
hash = "sha256-6HzQ2NZmVzza8TOBare5vuyAGmSoZZXBnLX+mS7z1kk=";
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ setuptools ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
doCheck = !isPyPy;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pytestFlagsArray = [ "src/zope/testing/tests.py" ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "zope.testing" ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonNamespaces = [ "zope" ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Zope testing helpers";
|
2024-06-05 15:53:02 +00:00
|
|
|
homepage = "https://github.com/zopefoundation/zope.testing";
|
2024-01-02 11:29:13 +00:00
|
|
|
changelog = "https://github.com/zopefoundation/zope.testing/blob/${version}/CHANGES.rst";
|
|
|
|
license = licenses.zpl21;
|
2024-07-27 06:49:29 +00:00
|
|
|
maintainers = [ ];
|
2024-01-02 11:29:13 +00:00
|
|
|
};
|
|
|
|
}
|