From patchwork Fri Feb 4 04:53:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ian Ressa X-Patchwork-Id: 36990 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 777DB27BBEA; Fri, 4 Feb 2022 14:19:31 +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=-1.9 required=5.0 tests=BAYES_00,FROM_SUSPICIOUS_NTLD, MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 39ABB27BBE9 for ; Fri, 4 Feb 2022 14:19:31 +0000 (GMT) Received: from localhost ([::1]:60524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFzQw-00082h-Dg for patchwork@mira.cbaines.net; Fri, 04 Feb 2022 09:19:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFxVa-0002BG-Kj for guix-patches@gnu.org; Fri, 04 Feb 2022 07:16:18 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36845) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFxVS-0001Qk-7d for guix-patches@gnu.org; Fri, 04 Feb 2022 07:16:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nFxVR-0001V2-OE for guix-patches@gnu.org; Fri, 04 Feb 2022 07:16:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53777] [PATCH] add python-posix-ipc Resent-From: Ian Ressa Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 04 Feb 2022 12:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53777 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53777@debbugs.gnu.org Cc: Ian Ressa X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16439769025662 (code B ref -1); Fri, 04 Feb 2022 12:16:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Feb 2022 12:15:02 +0000 Received: from localhost ([127.0.0.1]:58963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFxUT-0001Sr-ME for submit@debbugs.gnu.org; Fri, 04 Feb 2022 07:15:02 -0500 Received: from lists.gnu.org ([209.51.188.17]:49034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFqld-00074n-0P for submit@debbugs.gnu.org; Fri, 04 Feb 2022 00:04:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFqlc-0004Ng-RE for guix-patches@gnu.org; Fri, 04 Feb 2022 00:04:16 -0500 Received: from mout01.posteo.de ([185.67.36.141]:49175) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFqla-00007a-Pq for guix-patches@gnu.org; Fri, 04 Feb 2022 00:04:16 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id BD253240026 for ; Fri, 4 Feb 2022 05:56:33 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JqjtS5lsHz9rxS; Fri, 4 Feb 2022 05:56:32 +0100 (CET) From: Ian Ressa Date: Fri, 4 Feb 2022 04:53:01 +0000 Message-Id: <20220204045300.1985-1-ian@eonn.xyz> MIME-Version: 1.0 Received-SPF: none client-ip=185.67.36.141; envelope-from=ian@eonn.xyz; helo=mout01.posteo.de X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.999, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 04 Feb 2022 07:15:00 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 04 Feb 2022 09:10:34 -0500 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" X-getmail-retrieved-from-mailbox: Patches Adding python-posix-ipc to gnu/packages/python-xyz.scm --- gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 46419e8ace..53d5588564 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -116,6 +116,7 @@ ;;; Copyright © 2021 Greg Hogan ;;; Copyright © 2022 John Kehayias ;;; Copyright © 2022 Aleksandr Vityazev +;;; Copyright © 2022 Ian Ressa ;;; ;;; This file is part of GNU Guix. ;;; @@ -28926,3 +28927,34 @@ (define-public python-types-dataclasses "This packages provides a collection of library stubs for Python, with static types.") (license license:asl2.0))) + +(define-public python-posix-ipc + (package + (name "python-posix-ipc") + (version "1.0.5") + (source (origin + (method url-fetch) + (uri (pypi-uri "posix_ipc" version)) + (sha256 + (base32 "15wbxf67y17g04i3f3vjw9zjbvlvqqk9q1x0ya1y7apl5k7b3pbc")))) + (build-system python-build-system) + (arguments + `(#:modules ((guix build python-build-system) + ((guix build gnu-build-system) #:prefix gnu:) + (guix build utils)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'support-cross-compilation + (lambda _ + (substitute* "prober.py" + (("cc") ,(cc-for-target))) + #t))))) + (home-page "http://semanchuk.com/philip/posix_ipc/") + (synopsis + "POSIX IPC primitives (semaphores, shared memory and message +queues) for Python") + (description + "The Python extension module posix_ipc gives Python access to +POSIX inter-process semaphores, shared memory and message queues on systems +that support the POSIX Realtime Extensions a.k.a. POSIX 1003.1b-1993.") + (license license:bsd-3)))