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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 53777 in the body.
You can then email your comments to 53777 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#53777; Package guix-patches. (Fri, 04 Feb 2022 12:16:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ian Ressa <ian <at> eonn.xyz>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 04 Feb 2022 12:16:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ian Ressa <ian <at> eonn.xyz>
To: guix-patches <at> gnu.org
Cc: Ian Ressa <ian <at> eonn.xyz>
Subject: [PATCH] add python-posix-ipc
Date: Fri,  4 Feb 2022 04:53:01 +0000
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 <code <at> greghogan.com>
 ;;; Copyright © 2022 John Kehayias <john.kehayias <at> protonmail.com>
 ;;; Copyright © 2022 Aleksandr Vityazev <avityazev <at> posteo.org>
+;;; Copyright © 2022 Ian Ressa <ian <at> eonn.xyz>
 ;;;
 ;;; 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)))
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#53777; Package guix-patches. (Wed, 09 Feb 2022 13:55:01 GMT) Full text and rfc822 format available.

Message #8 received at 53777 <at> debbugs.gnu.org (full text, mbox):

From: Xinglu Chen <public <at> yoctocell.xyz>
To: Ian Ressa <ian <at> eonn.xyz>, 53777 <at> debbugs.gnu.org
Cc: Ian Ressa <ian <at> eonn.xyz>
Subject: Re: [bug#53777] [PATCH] add python-posix-ipc
Date: Wed, 09 Feb 2022 14:54:04 +0100
[Message part 1 (text/plain, inline)]
Hi,

Ian schrieb am Freitag der 04. Februar 2022 um 04:53 GMT:

> 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 <code <at> greghogan.com>
>  ;;; Copyright © 2022 John Kehayias <john.kehayias <at> protonmail.com>
>  ;;; Copyright © 2022 Aleksandr Vityazev <avityazev <at> posteo.org>
> +;;; Copyright © 2022 Ian Ressa <ian <at> eonn.xyz>
>  ;;;
>  ;;; 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))

Nothing from (guix build gnu-build-system) seems to be used.  I think
you can drop the ‘#:modules’ arguments all together.

> +       #:phases
> +       (modify-phases %standard-phases
> +         (add-after 'unpack 'support-cross-compilation
> +           (lambda _
> +             (substitute* "prober.py"
> +               (("cc") ,(cc-for-target)))
> +             #t)))))

Phases no longer have to return #f.


> +    (home-page "http://semanchuk.com/philip/posix_ipc/")

The page supports HTTPS too, so it should be used instead of plain HTTP.

> +    (synopsis
> +     "POSIX IPC primitives (semaphores, shared memory and message
> +queues) for Python")

The things in parenthesis are also mentioned in the description, so I
think you can drop them to make the synopsis a bit shorter.

> +    (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.34.0

The rest LGTM!
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#53777; Package guix-patches. (Sun, 06 Mar 2022 21:38:01 GMT) Full text and rfc822 format available.

Message #11 received at 53777 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Ian Ressa <ian <at> eonn.xyz>
Cc: 53777 <at> debbugs.gnu.org, Xinglu Chen <public <at> yoctocell.xyz>
Subject: Re: bug#53777: [PATCH] add python-posix-ipc
Date: Sun, 06 Mar 2022 22:37:25 +0100
Hello Ian,

Did you have a chance to address Xinglu’s comments below?

Thanks in advance!

Ludo’.

Xinglu Chen <public <at> yoctocell.xyz> skribis:

> Hi,
>
> Ian schrieb am Freitag der 04. Februar 2022 um 04:53 GMT:
>
>> 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 <code <at> greghogan.com>
>>  ;;; Copyright © 2022 John Kehayias <john.kehayias <at> protonmail.com>
>>  ;;; Copyright © 2022 Aleksandr Vityazev <avityazev <at> posteo.org>
>> +;;; Copyright © 2022 Ian Ressa <ian <at> eonn.xyz>
>>  ;;;
>>  ;;; 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))
>
> Nothing from (guix build gnu-build-system) seems to be used.  I think
> you can drop the ‘#:modules’ arguments all together.
>
>> +       #:phases
>> +       (modify-phases %standard-phases
>> +         (add-after 'unpack 'support-cross-compilation
>> +           (lambda _
>> +             (substitute* "prober.py"
>> +               (("cc") ,(cc-for-target)))
>> +             #t)))))
>
> Phases no longer have to return #f.
>
>
>> +    (home-page "http://semanchuk.com/philip/posix_ipc/")
>
> The page supports HTTPS too, so it should be used instead of plain HTTP.
>
>> +    (synopsis
>> +     "POSIX IPC primitives (semaphores, shared memory and message
>> +queues) for Python")
>
> The things in parenthesis are also mentioned in the description, so I
> think you can drop them to make the synopsis a bit shorter.
>
>> +    (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.34.0
>
> The rest LGTM!




Added tag(s) moreinfo. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 29 Mar 2022 09:53:01 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#53777; Package guix-patches. (Sun, 15 May 2022 04:53:02 GMT) Full text and rfc822 format available.

Message #16 received at 53777 <at> debbugs.gnu.org (full text, mbox):

From: Ian Ressa <ian <at> eonn.xyz>
To: 53777 <at> debbugs.gnu.org
Cc: Ian Ressa <ian <at> eonn.xyz>
Subject: [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





Reply sent to Vagrant Cascadian <vagrant <at> debian.org>:
You have taken responsibility. (Fri, 01 Sep 2023 22:33:01 GMT) Full text and rfc822 format available.

Notification sent to Ian Ressa <ian <at> eonn.xyz>:
bug acknowledged by developer. (Fri, 01 Sep 2023 22:33:01 GMT) Full text and rfc822 format available.

Message #21 received at 53777-done <at> debbugs.gnu.org (full text, mbox):

From: Vagrant Cascadian <vagrant <at> debian.org>
To: Ian Ressa <ian <at> eonn.xyz>, 53777-done <at> debbugs.gnu.org
Subject: Re: [bug#53777] [PATCH] add python-posix-ipc
Date: Fri, 01 Sep 2023 15:32:28 -0700
[Message part 1 (text/plain, inline)]
On 2022-02-04, Ian Ressa wrote:
> Adding python-posix-ipc to gnu/packages/python-xyz.scm

python-posix-ipc was added in:

b12da85668c40be322204e1ca04fb70b4d709411 gnu: Add python-posix-ipc.

Marking as done.

live well,
  vagrant
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 30 Sep 2023 11:24:28 GMT) Full text and rfc822 format available.

This bug report was last modified 207 days ago.

Previous Next


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