From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QL57MMcpJWKguQAAgWs5BA (envelope-from ) for ; Sun, 06 Mar 2022 22:38:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kDogKccpJWKVMAEAG6o9tA (envelope-from ) for ; Sun, 06 Mar 2022 22:38:15 +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 415141987B for ; Sun, 6 Mar 2022 22:38:15 +0100 (CET) Received: from localhost ([::1]:38454 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nQyZx-0003Fj-Vw for larch@yhetil.org; Sun, 06 Mar 2022 16:38:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQyZm-0003DE-22 for guix-patches@gnu.org; Sun, 06 Mar 2022 16:38:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57965) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nQyZl-0001OA-Pz for guix-patches@gnu.org; Sun, 06 Mar 2022 16:38:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nQyZl-0001EH-Mz for guix-patches@gnu.org; Sun, 06 Mar 2022 16:38:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53777] [PATCH] add python-posix-ipc Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Mar 2022 21:38: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 Cc: 53777@debbugs.gnu.org, Xinglu Chen Received: via spool by 53777-submit@debbugs.gnu.org id=B53777.16466026654702 (code B ref 53777); Sun, 06 Mar 2022 21:38:01 +0000 Received: (at 53777) by debbugs.gnu.org; 6 Mar 2022 21:37:45 +0000 Received: from localhost ([127.0.0.1]:51862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQyZO-0001Df-9o for submit@debbugs.gnu.org; Sun, 06 Mar 2022 16:37:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57016) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQyZK-0001DO-4H for 53777@debbugs.gnu.org; Sun, 06 Mar 2022 16:37:37 -0500 Received: from [2001:470:142:3::e] (port=57856 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQyZD-0001IE-Lb; Sun, 06 Mar 2022 16:37:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=XcXjyt9lcKeepFbk5ooTLa2sgQbm0VsHZA8yc4GdtgM=; b=D9NdgxU3sS5HqhsDAuZf TmX6zvKVMgWVYuVqIdr6ZPEwdvZkNsyNCSKGOtWMuXbgROm11GxfMqWyO7b0L1J7+SP3avLp2NBbx ZWO5BqJf0bDmEz6U5SPC0oPBGFme8Im3e8y+cDEoxkE4g30ca1QhliiqTiWTF7bgyyxMpuujU5FFP 3dNCBbowByZPbwW819MkoFP9fdjg8jc6WvNDEkKZnZpGpAYvCybCkQT0+pkorj57cOlvuX4PLzuB7 qtWOVLMd+hfUh4P5f/ooPgyBm1wh52Rh05dwML/9yfIiZ0oyunxyKLUOmeBF+x1872Mc2yYCNtEFR PTLnK/KRJuQBSA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:50154 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQyZD-0005wd-6J; Sun, 06 Mar 2022 16:37:27 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20220204045300.1985-1-ian@eonn.xyz> <87o83gw3gj.fsf@yoctocell.xyz> Date: Sun, 06 Mar 2022 22:37:25 +0100 In-Reply-To: <87o83gw3gj.fsf@yoctocell.xyz> (Xinglu Chen's message of "Wed, 09 Feb 2022 14:54:04 +0100") Message-ID: <871qzekbje.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=1646602695; 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: content-transfer-encoding:content-transfer-encoding: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=XcXjyt9lcKeepFbk5ooTLa2sgQbm0VsHZA8yc4GdtgM=; b=Q4nNlOZaQX0/3cwriA/bK6oHTnTbG8ukWkPKzxtvTXID2cS+oAG7wm/yof0ICdGkTJHLUm VSuvf/6eIJe3SDmTz1kt1V/a8uJGInroQ8wYY8IEe/D17zKoGbIxbNdIbtssFb8Iw0vrLA yjRy5pCIGkGiNZEKrrUbqDUeHuqj18V0qICKYyLRHvYjS3i469g2CEppr3RyolmTBtwqCA hgZWEFJsETZucmkN5TTpIvsSAuN+hkySf8Nu9XXE8yeL1wM+LP7R86KmOeahol9P2q4a7O /bFggQfm5YmCzY2ok4Qr0d/EKqcg56gBthBnvc1rVfPImRkGESvaFs4+beGDjQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646602695; a=rsa-sha256; cv=none; b=qfWxxbaMWUkeZaX16Jjwo+c3MDjdMGw0A1C5I/UXK0uzw1QTIyIf0LX368mr1+6lPgs/RT bcyjMG6km62IiiRXB2EwInU4UnJTF49riwtXhAGCc3QfDkOqk024lw0fHpGC8v3/N3ICMU trRf3lSNWwv/5Qb771V59VZK7qI9Is7g0fX1rp5/NbGwpQiAOp7UJmXDW1T88eXAu39G9e LOJWdQBw13oCakum7JVqK06lZoqgtYYJQP1mPN96XUSeA7ebKlTLCtnbNMcMtqPyHqkd2w +HmH7FEYYaIdD8cl6su3+ej/dhzs1DywuvWbg7jlp2tHg/ALGdAGPXHRjihI4A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=D9NdgxU3; dmarc=pass (policy=none) header.from=gnu.org; 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.63 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=D9NdgxU3; dmarc=pass (policy=none) header.from=gnu.org; 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: 415141987B X-Spam-Score: -4.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: fXZfHTuMkeRG Hello Ian, Did you have a chance to address Xinglu=E2=80=99s comments below? Thanks in advance! Ludo=E2=80=99. Xinglu Chen 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 =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, = 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 "15wbxf67y17g04i3f3vjw9zjbvlvqqk9q1x0ya1y7apl5k7= b3pbc")))) >> + (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 sys= tems >> +that support the POSIX Realtime Extensions a.k.a. POSIX 1003.1b-1993.") >> + (license license:bsd-3))) >> --=20 >> 2.34.0 > > The rest LGTM!