From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qDlALglDYGJWHAEAbAwnHQ (envelope-from ) for ; Wed, 20 Apr 2022 19:29:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GAQ+LQlDYGLFHAAAG6o9tA (envelope-from ) for ; Wed, 20 Apr 2022 19:29:45 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 58FB529817 for ; Wed, 20 Apr 2022 19:29:45 +0200 (CEST) Received: from localhost ([::1]:36628 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhE9A-0000HI-I0 for larch@yhetil.org; Wed, 20 Apr 2022 13:29:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhE8W-0007PQ-1x for guix-patches@gnu.org; Wed, 20 Apr 2022 13:29:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53465) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhE8V-0003Ci-Q0 for guix-patches@gnu.org; Wed, 20 Apr 2022 13:29:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhE8V-0006JW-NF for guix-patches@gnu.org; Wed, 20 Apr 2022 13:29:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55044] [PATCH 2/8] gnu: Add python-pydispatcher. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 20 Apr 2022 17:29:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55044 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55044@debbugs.gnu.org Cc: Felix Gruber Received: via spool by 55044-submit@debbugs.gnu.org id=B55044.165047571624158 (code B ref 55044); Wed, 20 Apr 2022 17:29:03 +0000 Received: (at 55044) by debbugs.gnu.org; 20 Apr 2022 17:28:36 +0000 Received: from localhost ([127.0.0.1]:47337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhE7x-0006H6-Oj for submit@debbugs.gnu.org; Wed, 20 Apr 2022 13:28:36 -0400 Received: from mout01.posteo.de ([185.67.36.65]:48071) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhE7t-0006GO-EN for 55044@debbugs.gnu.org; Wed, 20 Apr 2022 13:28:28 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 99B06240027 for <55044@debbugs.gnu.org>; Wed, 20 Apr 2022 19:28:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1650475699; bh=fCxblpGhjBGRxtBGGXGShwCZ2lPXy4Lw6xChqZ/1EGA=; h=From:To:Cc:Subject:Date:From; b=P6KDELp8DeMUyUZoSI6Xz0tl9IzgFZTMz9oJF0EF/1N9gLXW/0OABc2R/1V2UnSoX 2TQxqnZkbkTuQw285SXeeBEEzTsvrPSX8CU8xQCH3AptxU802n2TvuUGfp3/ogLv6H 0Q3HEkzYZlD/D7nSD/Qz9ig4jpKr2xr2kH/RblMwnZwLTs1aIFWDUWOjJs6zOGHdC2 XrvcwryJ59KXBi33P2Zx9lpdhH2S40SqM/rUYKLf2+EQ83pchGFJ41zyTzwH+C7e4Z Jg+stqvGNqLENqTjQ1UQgBB6mW6jD37A/L5+SDE4AnZc24No7jsRhk1tsIOVW80Nak 99c+H8d7fIMgw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Kk71G6ph1z9rxW; Wed, 20 Apr 2022 19:28:18 +0200 (CEST) From: Felix Gruber Date: Wed, 20 Apr 2022 17:27:58 +0000 Message-Id: <20220420172804.8849-2-felgru@posteo.net> In-Reply-To: <20220420172518.8609-1-felgru@posteo.net> References: <20220420172518.8609-1-felgru@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650475785; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=1KBjDplzuCLdyHmynSDTf5iIasF7QkrG3YVWWBD2Gdw=; b=TKXa2rL5yiimWX9umVKbIZZ92diKFby4gm/ZIvFllAhG4Fw+6HQR/OaUpO5ITGxPqbyetC 7VPz2pvZ9NfSAWOMlID/Y8HoAfQuDJSOxFaGmoAIpZ0nex3HXcWa31Ss3YXMx/QOx+2WwN 9X/8FTUHvZmdL+tFkQxg+dczKi/CN3ogR0thkYpAVgQKe0YAOe78cwLBKMsPYq+s9xR+QZ 7aHW2hjYSvZQGEIfFUM5NPM1Qe05dy0IllsfVFLbK/HThnjBcEKMH8lDybpsLLSLB7czT3 4UGU4T+k07ffbudcuxsOZP3/YoSAneD4FX6iVmgZD9lKRcv8G6e+hLMZIeLlYw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650475785; a=rsa-sha256; cv=none; b=fAVsAOazqDBP8nUxqu2+o+HJRluIs/j1Unt0oIqhjMrJbY0CUt96mgUoS1v/ZpwmsgoGdh GM9y2JHNigmt32OFUe7cMyuZvpdGf6B6EfO68CUtY4mB5/UH2BR/xrCeMabZQDhKTOk2/z YLqKCVkIG7YlzdpN9IQWmeUV8m5OAitGQCIKFAUw8u9E7MO1PPTC2T2k0Se4hc5Rj27hO8 bXgmbkYy8W67bqS73hMLc9HK4sTX9jkblRTC1ahWP2wL53t2Gs6ddcNI9Wwd8N5BNvjfc5 AEehf6D6ajdQvcqVsXyOwkS/qVHrLFmRfS1IUGziNSIXVD5lRH9M9ZAq3fNPZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=P6KDELp8; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.76 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=P6KDELp8; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 58FB529817 X-Spam-Score: 6.76 X-Migadu-Scanner: scn1.migadu.com X-TUID: 0TaKy8PucLzm * 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 ;;; Copyright © 2021 Daniel Meißner ;;; Copyright © 2021 Pradana Aumars -;;; Copyright © 2021 Felix Gruber +;;; Copyright © 2021, 2022 Felix Gruber ;;; Copyright © 2021 Sébastien Lerique ;;; Copyright © 2021 Raphaël Mélotte ;;; Copyright © 2021 ZmnSCPxj @@ -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