From 388eb14f441d5cde3a22526446da190ce9080dee Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 21 Sep 2025 17:43:17 +0200 Subject: gnu: Add python-zope-dottedname. * gnu/packages/python-web.scm (python-zope-dottedname): New variable. Change-Id: I10b77975606e99b76b39c93bf13a7c09144cac25 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-web.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index bc3b470b131..05be4561135 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -4489,6 +4489,31 @@ supporting C extension) from both Python 3.2 and Python 3.3. The fork adds support for the @code{noload} operations used by @code{zodb}.") (license (list license:psfl license:zpl2.1)))) +(define-public python-zope-dottedname + (package + (name "python-zope-dottedname") + (version "7.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zopefoundation/zope.dottedname") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0h7a637zsl1a3f0rpb2nw41mzxv0pqyj8ahn6h60n2c1px912rbd")))) + (build-system pyproject-build-system) + (arguments + (list #:test-backend #~'custom + #:test-flags #~(list "src/zope/dottedname/tests.py"))) + (native-inputs (list python-setuptools)) + (home-page "https://zopedottedname.readthedocs.io") + (synopsis "Resolver for Python dotted names") + (description + "This package provides a @code{resolve()} function that resolves strings +containing dotted names into the appropriate Python object.") + (license license:zpl2.1))) + (define-public python-zope-event (package (name "python-zope-event") -- cgit v1.3