From 17f61f92018795d025b8789829297a2405f56132 Mon Sep 17 00:00:00 2001 From: natsukium Date: Wed, 1 Jan 2025 14:01:07 +0900 Subject: [PATCH] python312Packages.plone-testing: 9.0.1 -> 9.0.3 Diff: https://github.com/plone/plone.testing/compare/9.0.1...9.0.3 --- .../python-modules/plone-testing/default.nix | 26 ++++++++++++------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/plone-testing/default.nix b/pkgs/development/python-modules/plone-testing/default.nix index daa68e31afa1..85d9be0ef40b 100644 --- a/pkgs/development/python-modules/plone-testing/default.nix +++ b/pkgs/development/python-modules/plone-testing/default.nix @@ -1,33 +1,41 @@ { lib, buildPythonPackage, - fetchPypi, - six, + fetchFromGitHub, zope-testing, setuptools, }: buildPythonPackage rec { - pname = "plone.testing"; - version = "9.0.1"; + pname = "plone-testing"; + version = "9.0.3"; + pyproject = true; - src = fetchPypi { - inherit pname version; - hash = "sha256-xdzm4LG/W5ziYXaXbCOfQbZYZvaUUih3lWhkLzWqeUc="; + src = fetchFromGitHub { + owner = "plone"; + repo = "plone.testing"; + tag = version; + hash = "sha256-EjKKwLUBhzjtk3stHkdUDsteXQGJcrwdu9EEA4FFK1w="; }; - propagatedBuildInputs = [ - six + build-system = [ setuptools ]; + + dependencies = [ setuptools zope-testing ]; + pythonImportsCheck = [ "plone.testing" ]; + # Huge amount of testing dependencies (including Zope2) doCheck = false; + pythonNamespaces = [ "plone" ]; + meta = { description = "Testing infrastructure for Zope and Plone projects"; homepage = "https://github.com/plone/plone.testing"; + changelog = "https://github.com/plone/plone.testing/blob/${src.tag}/CHANGES.rst"; license = lib.licenses.bsd3; }; }