From patchwork Wed Jul 3 15:07:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 65878 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 5574827BBEA; Wed, 3 Jul 2024 16:08:38 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SORTED_RECIPS,SPF_HELO_PASS, URIBL_BLOCKED autolearn=no 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 DA90327BBE2 for ; Wed, 3 Jul 2024 16:08:37 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sP1ab-0006PE-E3; Wed, 03 Jul 2024 11:08:09 -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 1sP1aZ-0006Mz-Fb for guix-patches@gnu.org; Wed, 03 Jul 2024 11:08:07 -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 1sP1aZ-0004By-5n; Wed, 03 Jul 2024 11:08:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sP1aU-000468-GV; Wed, 03 Jul 2024 11:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69736] [PATCH v2 1/6] gnu: Add python-pypubsub. References: In-Reply-To: Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: arunisaac@systemreboot.net, jgart@dismail.de, lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, guix-patches@gnu.org Resent-Date: Wed, 03 Jul 2024 15:08: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 , jgart , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour X-Debbugs-Original-Xcc: Arun Isaac , jgart , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour Received: via spool by 69736-submit@debbugs.gnu.org id=B69736.172001926715577 (code B ref 69736); Wed, 03 Jul 2024 15:08:02 +0000 Received: (at 69736) by debbugs.gnu.org; 3 Jul 2024 15:07:47 +0000 Received: from localhost ([127.0.0.1]:40073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sP1aE-000436-LK for submit@debbugs.gnu.org; Wed, 03 Jul 2024 11:07:47 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:48670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sP1aB-00042u-PV for 69736@debbugs.gnu.org; Wed, 03 Jul 2024 11:07:44 -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: 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:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=BFLsaT0SLPg4aMW4VrqZ8K4rGBxv/+sGo5iKxW6LCK4=; b=dWv6mkWoUQzFoHh8tat7UZEdZx wS5WPr5Kq26OlQfzEEwjEqg50S/FKhV0+qfT68DM0Q2Zsp7SBGa1kP4tJmRxPd8IWQW4afz/tUaBr 0IgUq7ssz62rLScYQaaDhX5+VvQSgKi85fuBQlme/fZH6N4GGusvJsoQOUO7mLjbf023Oyr+2yhty /B80W8+tyig/ErzT4HmgKrwO/eqYxZfbYzeHdsYQ+50c+rWNFxKn0OuApfa5bvC6jwPTrLbxxK+oA amFWjY3IQzv0B5KTgd/Qf/N+StTwbdpVg0wKO7AbWa0gqafe7gtqqIc+TE9zFx1lpnk0Q2jaw7gqa hNRfZlQg==; Received: from [192.168.2.1] (port=40016 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 1sP1WF-0005KA-0o; Wed, 03 Jul 2024 16:03:39 +0100 From: Arun Isaac Date: Wed, 3 Jul 2024 16:07:17 +0100 Message-ID: X-Mailer: git-send-email 2.45.2 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(+) base-commit: 4b3a553ca5ba5ac190739309eb5f7aa8170cf2a8 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 36f75b4b40..328750b38b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8214,6 +8214,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")