GNU bug report logs - #53777
[PATCH] add python-posix-ipc

Previous Next

Package: guix-patches;

Reported by: Ian Ressa <ian <at> eonn.xyz>

Date: Fri, 4 Feb 2022 12:16:01 UTC

Severity: normal

Tags: moreinfo, patch

Done: Vagrant Cascadian <vagrant <at> debian.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ian Ressa <ian <at> eonn.xyz>
To: 53777 <at> debbugs.gnu.org
Cc: Ian Ressa <ian <at> eonn.xyz>
Subject: [bug#53777] [PATCH v2] gnu: Add python-posix-ipc
Date: Sun, 15 May 2022 03:30:53 +0000
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 <peter <at> polidoro.io>
 ;;; Copyright © 2022 Wamm K. D. <jaft.r <at> outlook.com>
 ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan <at> gmail.com>
+;;; Copyright © 2022 Ian Ressa <ian <at> eonn.xyz>
 ;;;
 ;;; 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)))
-- 
2.36.0





This bug report was last modified 1 year and 321 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.