summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-09-21 17:43:17 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:49 +0100
commit388eb14f441d5cde3a22526446da190ce9080dee (patch)
tree816d208945207203ef7b3978476228ddca64db73 /gnu/packages/python-web.scm
parent58212eea69c91c235abf14e4ead9a559a07a685c (diff)
gnu: Add python-zope-dottedname.
* gnu/packages/python-web.scm (python-zope-dottedname): New variable. Change-Id: I10b77975606e99b76b39c93bf13a7c09144cac25 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm25
1 files changed, 25 insertions, 0 deletions
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")