[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55044] [PATCH 2/8] gnu: Add python-pydispatcher.
From: |
Felix Gruber |
Subject: |
[bug#55044] [PATCH 2/8] gnu: Add python-pydispatcher. |
Date: |
Wed, 20 Apr 2022 17:27:58 +0000 |
* gnu/packages/python-xyz.scm (python-pydispatcher): New variable.
---
gnu/packages/python-xyz.scm | 33 ++++++++++++++++++++++++++++++++-
1 file changed, 32 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9a5d311680..78310e373a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -108,7 +108,7 @@
;;; Copyright © 2021 Simon Streit <simon@netpanic.org>
;;; Copyright © 2021 Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de>
;;; Copyright © 2021 Pradana Aumars <paumars@courrier.dev>
-;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
+;;; Copyright © 2021, 2022 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2021 Sébastien Lerique <sl@eauchat.org>
;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte@mind.be>
;;; Copyright © 2021 ZmnSCPxj <ZmnSCPxj@protonmail.com>
@@ -29534,3 +29534,34 @@ match a given regular expression, or count possible
matches efficiently. It
uses the parsed regular expression, so you get a much more accurate result
than trying to just split strings.")
(license license:asl2.0)))
+
+(define-public python-pydispatcher
+ (package
+ (name "python-pydispatcher")
+ (version "2.0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "PyDispatcher" version))
+ (sha256
+ (base32 "1bswbmhlbqdxlgbxlb6xrlm4k253sg8nvpl1whgsys8p3fg0cw2m"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest")))))))
+ (native-inputs (list python-pytest))
+ (home-page "http://pydispatcher.sourceforge.net")
+ (synopsis "Multi-producer-multi-consumer signal dispatching mechanism")
+ (description "PyDispatcher is an enhanced version of
+Patrick K. O’Brien’s original dispatcher.py module. It provides the
+Python programmer with a robust mechanism for event routing within
+various application contexts.
+
+Included in the package are the robustapply and saferef modules, which
+provide the ability to selectively apply arguments to callable objects
+and to reference instance methods using weak-references.")
+ (license license:bsd-3)))
--
2.30.2
- [bug#55044] [PATCH 0/8] Add python-scrapy., Felix Gruber, 2022/04/20
- [bug#55044] [PATCH 3/8] gnu: Add python-queuelib., Felix Gruber, 2022/04/20
- [bug#55044] [PATCH 1/8] gnu: Add python-sybil., Felix Gruber, 2022/04/20
- [bug#55044] [PATCH 6/8] gnu: Add python-parsel., Felix Gruber, 2022/04/20
- [bug#55044] [PATCH 7/8] gnu: Add python-itemloaders., Felix Gruber, 2022/04/20
- [bug#55044] [PATCH 4/8] gnu: Add python-itemadapter., Felix Gruber, 2022/04/20
- [bug#55044] [PATCH 2/8] gnu: Add python-pydispatcher.,
Felix Gruber <=
- [bug#55044] [PATCH 5/8] gnu: Add python-protego., Felix Gruber, 2022/04/20
- [bug#55044] [PATCH 8/8] gnu: Add python-scrapy., Felix Gruber, 2022/04/20