From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2FcQLoLPA2IKXwAAgWs5BA (envelope-from ) for ; Wed, 09 Feb 2022 15:28:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kJBfKoLPA2JMRgAAauVa8A (envelope-from ) for ; Wed, 09 Feb 2022 15:28:18 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CB48613CB9 for ; Wed, 9 Feb 2022 15:28:17 +0100 (CET) Received: from localhost ([::1]:34516 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHnxA-0003EG-V5 for larch@yhetil.org; Wed, 09 Feb 2022 09:28:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHnRA-0004Pw-MZ for guix-patches@gnu.org; Wed, 09 Feb 2022 08:55:12 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56361) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHnR0-0006ZX-9G for guix-patches@gnu.org; Wed, 09 Feb 2022 08:55:10 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHnQz-0007xf-U7 for guix-patches@gnu.org; Wed, 09 Feb 2022 08:55:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53777] [PATCH] add python-posix-ipc Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Feb 2022 13:55:01 +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: patch To: Ian Ressa , 53777@debbugs.gnu.org Cc: Ian Ressa Received: via spool by 53777-submit@debbugs.gnu.org id=B53777.164441486230545 (code B ref 53777); Wed, 09 Feb 2022 13:55:01 +0000 Received: (at 53777) by debbugs.gnu.org; 9 Feb 2022 13:54:22 +0000 Received: from localhost ([127.0.0.1]:50258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHnQH-0007wU-9r for submit@debbugs.gnu.org; Wed, 09 Feb 2022 08:54:22 -0500 Received: from h178-251-242-94.cust.a3fiber.se ([178.251.242.94]:45564 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHnQE-0007wC-5V for 53777@debbugs.gnu.org; Wed, 09 Feb 2022 08:54:15 -0500 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yoctocell.xyz; s=mail; t=1644414845; bh=G9SL9FKDpzGdNoW2cM/DZKTIw3VQx6ZPUsQbDgf9/1M=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=P3lKc+eReRxILwubm+eiRUS2qSLQP/1AoVLLt5xancR/DvYvJA47URmZlfKUIDd1X yO7v5RaORnno2M0HCQxcuC0JMiVksdYk1r+xqo0glTjZtNVaF5sJ3JHNDhA3PsOXdE QxTF4G5n7ll9L6vfMENMhh+cGvu/rxZwNGOvpIh4= In-Reply-To: <20220204045300.1985-1-ian@eonn.xyz> References: <20220204045300.1985-1-ian@eonn.xyz> Date: Wed, 09 Feb 2022 14:54:04 +0100 Message-ID: <87o83gw3gj.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644416898; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=G9SL9FKDpzGdNoW2cM/DZKTIw3VQx6ZPUsQbDgf9/1M=; b=ArcCHP3Vk4B5FbgBfq7HN+Qr2GrK7JiekghgmzoNuaNiiLtNaX3FuU05f8/isWM+J9eqO5 npB/hW1jYUfHIAlkR6Ekg/7/CKL/FW5WJJfTl7jcz+IlZQo+Hz3OzbsMmdUzFu+LApHU9W VtK2p3302qRlb5pHna1BPdGwqiTjEq0iYA+l0hnr9viQO+cRQm1C9++H2JK777yPRxrzaS RQD5nb1+pTR8CL0ElTFfjoLj/IokPILQ/hOaCSL7K1sHQfnKijgvdhFIcOkI76dtQLNg7A myQ+WCrVfwmFHgX+6ohZTMWdx7hdjlnfwLAbhJUofaqfbGStMB02gvvjEavfVg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644416898; a=rsa-sha256; cv=none; b=giPImT84QlC8gSev9SiskCDHx0EIj+J1rEOlVDx4Lyf1nk+pVRtlapaV1ljNRLtw4X6q3O Jw8V26fxZyYwU70vu10PW7GnTPEkQh7Wzc+vUWTojk6+rRbR0vk/iZWDnuiWDIYpj1YTdf BWzjysCSgGV/v2NCmb9V1r9N7dj9ACqAx56YuhMqoo8b/0faWCD7fjwrAM8a/ndXX3Qonl ku4zveV3bV1iFItSiGbBfcg6p/RgUtTs4QE/ruOumZH8ilhKspgXuR6GP1z2Q7VvYnfgAq YUBkL314oH9i0QFjbnGRIIJZpgBJABajRF5SOVBJwQk/IGEd10wlYNi/RLL0cg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=P3lKc+eR; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=P3lKc+eR; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: CB48613CB9 X-Spam-Score: -4.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: LfOhZO4H4E7f --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 =C2=A9 2021 Greg Hogan > ;;; Copyright =C2=A9 2022 John Kehayias > ;;; Copyright =C2=A9 2022 Aleksandr Vityazev > +;;; Copyright =C2=A9 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, w= ith > 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 "15wbxf67y17g04i3f3vjw9zjbvlvqqk9q1x0ya1y7apl5k7b= 3pbc")))) > + (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 =E2=80=98#:modules=E2=80=99 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 syst= ems > +that support the POSIX Realtime Extensions a.k.a. POSIX 1003.1b-1993.") > + (license license:bsd-3))) > --=20 > 2.34.0 The rest LGTM! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmIDx3wVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x53cUQAL1GdDI/KlOUjNu5lN15ldv4u6HG LXaUOPVSaqf16JilcLYPWuPer9C0ISrbqRCMgHrAleveMhJn7eB4EYoBfUiHHOr+ sRQWzof7sXvYrdm4X6ANWfwl4/IlHcs99DaoKUYwVkueVFg+9Mgi0XO5ve2LxneM yHP+eBB9tPXuXPVhFy9dN+HM0nTrYr4h4/Bsqaz13I6ecc9pQqPhUH6ygW8qSGgz dq2ueMhZgqFxK/hntLkihH+/KnPDgyNNd32sS6PquStyQkl+ebAxkQy61RhmSm0I 4a7LbGaad1uscSwZydjCaP1gmGT7Rl6zUMkDMkwzx5F+jCs23ySqCTd539i3FyNp u9W+/jWSKrHl7ccn8hl7vSqmY2tMuS62YzDfyUssmJ77FqIU1dZemd1+DSfcgEyl S8bCC6W497uw631WW9pkL6U6li+2fP8K/8SsRMcKEApfMjCZId6ML0DOPgkIgJTt enmgP1otX+A+iPOeiSLCyFewW6M4ifun+EkELT+oYmAw1h9p/OtVxDpnZmCYIW7o F4IYJM1Z86ctS4VT5oUxz0tXGizCOSkLrPqG2Ybi57en5rBDl8DssflIag8D7Jke mC3PjwdIB6iORBuf/XRtM+asDkonHw15HigvvPISkk3wEQ4M7+apXbJ8cbqieeV9 B5RfxPpWMiy9jh9z =NFpE -----END PGP SIGNATURE----- --=-=-=--