From patchwork Sun May 15 03:30:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ian Ressa X-Patchwork-Id: 39294 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 467E227BBE9; Sun, 15 May 2022 05:54:54 +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=-1.9 required=5.0 tests=BAYES_00,FROM_SUSPICIOUS_NTLD, MAILING_LIST_MULTI,SPF_HELO_PASS 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 C60E227BBEA for ; Sun, 15 May 2022 05:54:53 +0100 (BST) Received: from localhost ([::1]:52760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nq6HM-0006RG-UO for patchwork@mira.cbaines.net; Sun, 15 May 2022 00:54:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nq6Fa-0005fM-RY for guix-patches@gnu.org; Sun, 15 May 2022 00:53:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54135) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nq6Fa-0005lt-H4 for guix-patches@gnu.org; Sun, 15 May 2022 00:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nq6Fa-0003ET-BE for guix-patches@gnu.org; Sun, 15 May 2022 00:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#53777] [PATCH v2] gnu: Add python-posix-ipc References: <20220204045300.1985-1-ian@eonn.xyz> In-Reply-To: <20220204045300.1985-1-ian@eonn.xyz> Resent-From: Ian Ressa Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 May 2022 04:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53777 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo patch To: 53777@debbugs.gnu.org Cc: Ian Ressa Received: via spool by 53777-submit@debbugs.gnu.org id=B53777.165259036112352 (code B ref 53777); Sun, 15 May 2022 04:53:02 +0000 Received: (at 53777) by debbugs.gnu.org; 15 May 2022 04:52:41 +0000 Received: from localhost ([127.0.0.1]:48021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nq6FC-0003D4-VK for submit@debbugs.gnu.org; Sun, 15 May 2022 00:52:41 -0400 Received: from mout01.posteo.de ([185.67.36.141]:44765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nq4yD-00010Z-PG for 53777@debbugs.gnu.org; Sat, 14 May 2022 23:31:17 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 7D16B240026 for <53777@debbugs.gnu.org>; Sun, 15 May 2022 05:30:55 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4L17FV12N6z6tm9; Sun, 15 May 2022 05:30:53 +0200 (CEST) From: Ian Ressa Date: Sun, 15 May 2022 03:30:53 +0000 Message-Id: <20220515033053.13824-1-ian@eonn.xyz> MIME-Version: 1.0 X-Mailman-Approved-At: Sun, 15 May 2022 00:52:37 -0400 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" X-getmail-retrieved-from-mailbox: Patches Sorry, I really dropped the ball on this one. This patch is against a newer python-xyz.scm and fixes the issues listed. --- 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 020f078dee..d6486291d3 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -121,6 +121,7 @@ ;;; Copyright © 2022 Peter Polidoro ;;; Copyright © 2022 Wamm K. D. ;;; Copyright © 2022 Jai Vetrivelan +;;; Copyright © 2022 Ian Ressa ;;; ;;; This file is part of GNU Guix. ;;; @@ -31150,3 +31151,28 @@ (define-public python-deepmerge "The @code{deep-merge} Python library provides a toolset to deeply merge nested data structures in Python like lists and dictionaries.") (license license:expat))) + +(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 + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'support-cross-compilation + (lambda _ + (substitute* "prober.py" + (("cc") ,(cc-for-target)))))))) + (home-page "https://semanchuk.com/philip/posix_ipc/") + (synopsis "POSIX IPC primitives 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)))