From patchwork Mon Mar 11 18:22:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 61675 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4BDBF27BBEC; Mon, 11 Mar 2024 18:28:39 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BB4DD27BBE9 for ; Mon, 11 Mar 2024 18:28:38 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rjkJL-00026t-GO; Mon, 11 Mar 2024 14:23:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rjkJJ-0001sy-U4 for guix-patches@gnu.org; Mon, 11 Mar 2024 14:23:42 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rjkJJ-0007vw-Bh; Mon, 11 Mar 2024 14:23:41 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rjkJe-00041h-2g; Mon, 11 Mar 2024 14:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69736] [PATCH 2/7] gnu: Add python-pypubsub. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: arunisaac@systemreboot.net, lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 11 Mar 2024 18:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69736 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69736@debbugs.gnu.org Cc: Arun Isaac , Arun Isaac , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-Xcc: Arun Isaac , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by 69736-submit@debbugs.gnu.org id=B69736.171018143215417 (code B ref 69736); Mon, 11 Mar 2024 18:24:02 +0000 Received: (at 69736) by debbugs.gnu.org; 11 Mar 2024 18:23:52 +0000 Received: from localhost ([127.0.0.1]:41246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjkJU-00040Z-E1 for submit@debbugs.gnu.org; Mon, 11 Mar 2024 14:23:52 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:54470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjkJN-000402-Ui for 69736@debbugs.gnu.org; Mon, 11 Mar 2024 14:23:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=/L7zEd9R78oSOUjzNHn8W4MVtnHmzzLKY+U5j66HSRs=; b=A1ybuzEb8dHZttghciAoy+cB1o DGbnaFo06jMwfsMIvl2hbcMZMzCAsyorkU+zMIlUJpgZnUdwYOt1IhSYRrhH7mkJfvyLgxo+XS0Mx grsA9AFHbUZesUm0WzD7C8OSDinHjfUx719OAv9HEc1nqaa32mC1PHzX9hsnhI6d3tO/4uriFQTvC w383WpAXFUNPBgSBaehbGUL/IhhOpNiDyfQMvAxrDABgqz7mMZ2gvtlXQySM/W4PnLVI6bWNqw0ws SFgg2Lh8gCaDM7MubXlDIKlyeBO2kzN9Ldd5eo9G0upn8CwglecGbFkcKd2Xm7Lyp7oox9yEi9EBy 80OWOIMQ==; Received: from [192.168.2.1] (port=54074 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.1) (envelope-from ) id 1rjkHB-0007WI-2D; Mon, 11 Mar 2024 18:21:30 +0000 From: Arun Isaac Date: Mon, 11 Mar 2024 18:22:37 +0000 Message-ID: <7296b4c41745399c2ca7991e1e4240326d5ba2eb.1710180345.git.arunisaac@systemreboot.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-pypubsub): New variable. Change-Id: Id8f06bd592b6273cff282aa628f05503a67519b0 --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0c72caeca0..ed9b1c9140 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7768,6 +7768,32 @@ (define-public python-blinker interested parties to subscribe to events, or \"signals\".") (license license:expat))) +(define-public python-pypubsub + (package + (name "python-pypubsub") + (version "4.0.3") + ;; There is no source tarball on PyPI. + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/schollii/pypubsub") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "02j74w28wzmdvxkk8i561ywjgizjifq3hgcl080yj0rvkd3wivlb")))) + (build-system python-build-system) + (home-page "https://github.com/schollii/pypubsub") + (synopsis "Python publish-subscribe library") + (description "@code{python-pypubsub} provides a pure Python +publish-subscribe API to facilitate event-based or message-based architecture +in a single-process application. It is centered on the notion of a topic; +senders publish messages of a given topic, and listeners subscribe to messages +of a given topic, all inside the same process. The package also supports a +variety of advanced features that facilitate debugging and maintaining topics +and messages in larger desktop or server-based applications.") + (license license:bsd-2))) + (define-public pelican (package (name "pelican")