1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 zope-testing,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "plone-testing";
11 version = "9.0.7";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "plone";
16 repo = "plone.testing";
17 tag = version;
18 hash = "sha256-5DaN0o/EaWwdMvmLW12zdNXJ3p6dowALJ10zrhUT3dA=";
19 };
20
21 build-system = [ setuptools ];
22
23 dependencies = [
24 setuptools
25 zope-testing
26 ];
27
28 pythonImportsCheck = [ "plone.testing" ];
29
30 # Huge amount of testing dependencies (including Zope2)
31 doCheck = false;
32
33 pythonNamespaces = [ "plone" ];
34
35 meta = {
36 description = "Testing infrastructure for Zope and Plone projects";
37 homepage = "https://github.com/plone/plone.testing";
38 changelog = "https://github.com/plone/plone.testing/blob/${src.tag}/CHANGES.rst";
39 license = lib.licenses.bsd3;
40 };
41}