From unknown Sat Aug 09 09:35:56 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51676] [PATCH] gnu: Add python-miniupnpc Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Nov 2021 03:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51676 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51676@debbugs.gnu.org Cc: Stephen Paul Weber X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163634288528793 (code B ref -1); Mon, 08 Nov 2021 03:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Nov 2021 03:41:25 +0000 Received: from localhost ([127.0.0.1]:55553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjvXB-0007UK-GA for submit@debbugs.gnu.org; Sun, 07 Nov 2021 22:41:25 -0500 Received: from lists.gnu.org ([209.51.188.17]:60824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjvX9-0007UC-43 for submit@debbugs.gnu.org; Sun, 07 Nov 2021 22:41:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjvX8-0003Rj-U4 for guix-patches@gnu.org; Sun, 07 Nov 2021 22:41:22 -0500 Received: from singpolyma.net ([192.99.233.116]:38779) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjvX7-0006Fp-8w for guix-patches@gnu.org; Sun, 07 Nov 2021 22:41:22 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id CCBDB48616B9; Mon, 8 Nov 2021 03:41:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1636342879; bh=D4EhLWkX/PkAbg9mf56WPTvlB4NWK6XIM3NoF9m+1yw=; h=From:To:Cc:Subject:Date:From; b=pz+1yQwWa6oL/cCt4eZs94g5lH4aQEFbje3Go2IKUzHp4sdoKqYNebVL/wztVOVhT SW5b42yWmRRBX3I6Cvodxh7pKhQZQk8OoJUCfcZnvTxCpPT67w0+B6EK+bZWUL7Vay xnX96veWzMhZgeW5luYafEMPsQrVCa9gt2Tscj3M= From: Stephen Paul Weber Date: Sun, 7 Nov 2021 22:41:17 -0500 Message-Id: <20211108034117.69082-1-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=192.99.233.116; envelope-from=singpolyma@singpolyma.net; helo=singpolyma.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/python-xyz.scm (python-miniupnpc): New variable. --- gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8ba72170c0..558e104cf1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3093,6 +3093,42 @@ server.") "@code{pafy} is a python library to retrieve YouTube content and metadata.") (license license:lgpl3+))) +(define-public python-miniupnpc + (package + (name "python-miniupnpc") + (version "2.2.3") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/miniupnp/miniupnp") + (commit "36a65e3d841d4e85904fed690c0b755d5b380043"))) + (file-name + (git-file-name name version)) + (sha256 + (base32 "0h7smsp1fnwsmgg3n70813ln9j5y20g61x25s4kn91vzkbbq9188")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'subdir + (lambda _ + (chdir "miniupnpc") + (setenv "CC" ,(cc-for-target)) + (substitute* "Makefile" + (("SH = /bin/sh") (string-append "SH = " (which "bash")))) + #t))))) + (inputs + `(("python" ,python))) ; We are building a Python extension. + (native-inputs + `(("which" ,which))) + (synopsis "UPnP client for Python") + (description "A client library for Python programs to set up port forwards +using UPnP.") + (home-page "http://miniupnp.free.fr") + (license license:bsd-3))) + (define-public python2-funcsigs (package (name "python2-funcsigs") -- 2.30.2 From unknown Sat Aug 09 09:35:56 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51676] [PATCH] gnu: Add python-miniupnpc Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 17 Nov 2021 15:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51676 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Stephen Paul Weber Cc: 51676@debbugs.gnu.org Received: via spool by 51676-submit@debbugs.gnu.org id=B51676.16371632015047 (code B ref 51676); Wed, 17 Nov 2021 15:34:02 +0000 Received: (at 51676) by debbugs.gnu.org; 17 Nov 2021 15:33:21 +0000 Received: from localhost ([127.0.0.1]:33512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnMw5-0001JK-IM for submit@debbugs.gnu.org; Wed, 17 Nov 2021 10:33:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnMw4-0001J4-1k for 51676@debbugs.gnu.org; Wed, 17 Nov 2021 10:33:20 -0500 Received: from [2001:470:142:3::e] (port=35958 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 1mnMvy-00078B-K1; Wed, 17 Nov 2021 10:33:14 -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=jroMaMZ48RS+9Q8rGe/TPToyLuInnZHYC0cmjWCqS0Q=; b=LGmv65iI0tJFMhka2Zei I0ip2nDt/vdE8ggZ6ysnGKumNR3RrHo2pIB6o2KzlV5Doh7D2HInSEMFLXbBkvsmg+RECPENfUTMO V/3a+HWGAz1VI913sIyROovv259CyP1tot2WdFrVg3/nhBr5Cb6fD7AHZgBripT+kogcPwsvpcnon iIn1KtGNPidEkzxTgMTmQrE3+oRG+YU6tdLstfkW3/Vt3ebLZLhrL4SHOLamGjd15uZe03rKflXNG KhBRCnRdnpm5ag9aPMoH6tH69qxI/oQZY/88NaNufIKs2pmRLc+4JOhG7yAKpXzFleheb7hY6DDF3 zYIPZ+9sfGlhcw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:50883 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnMvy-0002CS-C2; Wed, 17 Nov 2021 10:33:14 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20211108034117.69082-1-singpolyma@singpolyma.net> Date: Wed, 17 Nov 2021 16:33:12 +0100 In-Reply-To: <20211108034117.69082-1-singpolyma@singpolyma.net> (Stephen Paul Weber's message of "Sun, 7 Nov 2021 22:41:17 -0500") Message-ID: <87fsruvltz.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-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Stephen, Stephen Paul Weber skribis: > * gnu/packages/python-xyz.scm (python-miniupnpc): New variable. [...] > + (version "2.2.3") > + (source > + (origin > + (method git-fetch) > + (uri > + (git-reference > + (url "https://github.com/miniupnp/miniupnp") > + (commit "36a65e3d841d4e85904fed690c0b755d5b380043"))) This commit: --8<---------------cut here---------------start------------->8--- $ (cd /tmp/miniupnp/; git checkout 36a65e3d841d4e85904fed690c0b755d5b380043= ; git describe) La posici=C3=B3 de HEAD anterior era 2df8120 miniupnpc version 2.2.3 HEAD ara =C3=A9s a 36a65e3 miniupnpc/Changelog.txt: VERSION 2.2.3 miniupnpd_2_1-574-g36a65e3 --8<---------------cut here---------------end--------------->8--- =E2=80=A6 does not match the tag for 2.2.3: --8<---------------cut here---------------start------------->8--- $ (cd /tmp/miniupnp/; git checkout miniupnpc_2_2_3; git log |head -1) La posici=C3=B3 de HEAD anterior era 36a65e3 miniupnpc/Changelog.txt: VERSI= ON 2.2.3 HEAD ara =C3=A9s a 2df8120 miniupnpc version 2.2.3 commit 2df8120326ed4246e049a7a6de707539604cd514 --8<---------------cut here---------------end--------------->8--- > + (description "A client library for Python programs to set up port fo= rwards > +using UPnP.") Please make it a full sentence, as per: https://guix.gnu.org/manual/en/html_node/Synopses-and-Descriptions.html Could you send an updated patch that addresses these two issues? Thanks, Ludo=E2=80=99. From unknown Sat Aug 09 09:35:56 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51676] [PATCH v2] gnu: Add python-miniupnpc References: <20211108034117.69082-1-singpolyma@singpolyma.net> In-Reply-To: <20211108034117.69082-1-singpolyma@singpolyma.net> Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Jan 2022 01:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51676 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51676@debbugs.gnu.org Cc: Stephen Paul Weber Received: via spool by 51676-submit@debbugs.gnu.org id=B51676.164212260214742 (code B ref 51676); Fri, 14 Jan 2022 01:11:01 +0000 Received: (at 51676) by debbugs.gnu.org; 14 Jan 2022 01:10:02 +0000 Received: from localhost ([127.0.0.1]:34908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8B6P-0003pb-Hf for submit@debbugs.gnu.org; Thu, 13 Jan 2022 20:10:01 -0500 Received: from singpolyma.net ([192.99.233.116]:50309) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8B6N-0003pQ-2i for 51676@debbugs.gnu.org; Thu, 13 Jan 2022 20:10:00 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 3DE564861708; Fri, 14 Jan 2022 01:09:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642122598; bh=qJ6VfVkoBNiKlgUzhfqLImuAfUO9YCxsJ1J53ogtNa4=; h=From:To:Cc:Subject:Date:From; b=rMdxo2VwqDSVBrnJXfoYTwY5HeBz+1jlMhQjndl5VQg2gMTlJn/XLnnBI4r6mM0Fi 3o596gtKtdiENcjDQLlmwHLQszrjHvTv1al6jU/rAIRWJQQCGcskZiUNxq03/3/Puc lfJbSOxR+WnE2Sx94CWnGAW/cTo+owtSwZd0I86Y= From: Stephen Paul Weber Date: Thu, 13 Jan 2022 20:09:54 -0500 Message-Id: <20220114010954.28886-1-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-xyz.scm (python-miniupnpc): New variable. --- gnu/packages/python-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0091165d37..0ad5dfd85c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3150,6 +3150,40 @@ server.") "@code{pafy} is a python library to retrieve YouTube content and metadata.") (license license:lgpl3+))) +(define-public python-miniupnpc + (package + (name "python-miniupnpc") + (version "2.2.3") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/miniupnp/miniupnp") + (commit "miniupnpc_2_2_3"))) + (file-name + (git-file-name name version)) + (sha256 + (base32 "0h7smsp1fnwsmgg3n70813ln9j5y20g61x25s4kn91vzkbbq9188")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'subdir + (lambda _ + (chdir "miniupnpc") + (setenv "CC" ,(cc-for-target)) + (substitute* "Makefile" + (("SH = /bin/sh") (string-append "SH = " (which "bash")))) + #t))))) + (inputs (list python)) ; We are building a Python extension. + (native-inputs (list which)) + (synopsis "UPnP client for Python") + (description "Miniupnpc is a client library for Python programs to set up +port forwards using UPnP.") + (home-page "http://miniupnp.free.fr") + (license license:bsd-3))) + (define-public python2-funcsigs (package (name "python2-funcsigs") -- 2.30.2 From unknown Sat Aug 09 09:35:56 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51676] [PATCH v2] gnu: Add python-miniupnpc Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Feb 2022 14:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51676 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Stephen Paul Weber , 51676@debbugs.gnu.org Cc: Stephen Paul Weber Received: via spool by 51676-submit@debbugs.gnu.org id=B51676.164441567831957 (code B ref 51676); Wed, 09 Feb 2022 14:08:01 +0000 Received: (at 51676) by debbugs.gnu.org; 9 Feb 2022 14:07:58 +0000 Received: from localhost ([127.0.0.1]:50272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHndW-0008JN-B1 for submit@debbugs.gnu.org; Wed, 09 Feb 2022 09:07:58 -0500 Received: from h178-251-242-94.cust.a3fiber.se ([178.251.242.94]:45858 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHndU-0008J4-E0 for 51676@debbugs.gnu.org; Wed, 09 Feb 2022 09:07:57 -0500 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yoctocell.xyz; s=mail; t=1644415668; bh=J6pcVbIV7RFJ10CqdvewcZSj8ewa1xJ3Cg0dwUmePd0=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=FluEnTpYJ4DsEG69cpM5vsPzz4zBeHgvq3fVF06XDHN8gmUonTLXuXiB4U0QhrzVi D7OjN0ANu/mU6si2VDWRvugeuAkVRcVtZalNhuGxJky73EFd2fNRwrPo6woHNj0qcg g/1gLnPjlRJ5HBVwQtKssUxv7R/o9jUw7xjDPW+M= In-Reply-To: <20220114010954.28886-1-singpolyma@singpolyma.net> References: <20211108034117.69082-1-singpolyma@singpolyma.net> <20220114010954.28886-1-singpolyma@singpolyma.net> Date: Wed, 09 Feb 2022 15:07:47 +0100 Message-ID: <87leykw2to.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.5 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Stephen schrieb am Donnerstag der 13. Januar 2022 um 20:09 -05: > * gnu/packages/python-xyz.scm (python-miniupnpc): New variable. > --- > gnu/packages/python-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ > 1 file changed, 34 insertions(+) > > diff --git a/gnu/pa [...] Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -0.0 T_SCC_BODY_TEXT_LINE No description available. 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.5 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Stephen schrieb am Donnerstag der 13. Januar 2022 um 20:09 -05: > * gnu/packages/python-xyz.scm (python-miniupnpc): New variable. > --- > gnu/packages/python-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ > 1 file changed, 34 insertions(+) > > diff --git a/gnu/pa [...] Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -0.0 T_SCC_BODY_TEXT_LINE No description available. -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Stephen schrieb am Donnerstag der 13. Januar 2022 um 20:09 -05: > * gnu/packages/python-xyz.scm (python-miniupnpc): New variable. > --- > gnu/packages/python-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ > 1 file changed, 34 insertions(+) > > diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm > index 0091165d37..0ad5dfd85c 100644 > --- a/gnu/packages/python-xyz.scm > +++ b/gnu/packages/python-xyz.scm > @@ -3150,6 +3150,40 @@ server.") > "@code{pafy} is a python library to retrieve YouTube content and me= tadata.") > (license license:lgpl3+))) >=20=20 > +(define-public python-miniupnpc > + (package > + (name "python-miniupnpc") > + (version "2.2.3") > + (source > + (origin > + (method git-fetch) > + (uri > + (git-reference > + (url "https://github.com/miniupnp/miniupnp") > + (commit "miniupnpc_2_2_3"))) The version should not be hard-coded. You could use =E2=80=98string-replace-substring=E2=80=99 from (ice-9 string-fun). (string-replace-substring version "." "_") > + (file-name > + (git-file-name name version)) > + (sha256 > + (base32 "0h7smsp1fnwsmgg3n70813ln9j5y20g61x25s4kn91vzkbbq9188"))= )) I am getting a hash mismatch =2D-8<---------------cut here---------------start------------->8--- expected hash: 0h7smsp1fnwsmgg3n70813ln9j5y20g61x25s4kn91vzkbbq9188 actual hash: 03q1rlzvfzm15g1bfw2zqzavlsyaypnaf2k3cz6ha7k5rirkdy0l =2D-8<---------------cut here---------------end--------------->8--- > + (build-system python-build-system) > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'subdir > + (lambda _ > + (chdir "miniupnpc") > + (setenv "CC" ,(cc-for-target)) > + (substitute* "Makefile" > + (("SH =3D /bin/sh") (string-append "SH =3D " (which "bash= ")))) Nitpick: Could we just match on /bin/sh? > + #t))))) Phases don=E2=80=99t have to return #t. > + (inputs (list python)) ; We are building a Python extension. > + (native-inputs (list which)) > + (synopsis "UPnP client for Python") > + (description "Miniupnpc is a client library for Python programs to s= et up > +port forwards using UPnP.") Acronyms should be expanded at least once, see =E2=80=9C17.4.4 Synopses and Descriptions=E2=80=9D in the manual. @acronym{UPnP, Universal Plug and Play} --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmIDyrMVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5KGIP+wXuD49xoeuQF+Xlcasj8HSVj5t1 f44WVoOHof1PddzKgq2eYDCaCXKtWOhhZb4tnjoStk+CLVPh6hmyjJYyt9wFGiVB Bpi19oVMRlH8XX68XgYNnL9Kov5LL33RoRIO8wCJeuY9MTUzZMbAewGaCBTGuyNO wUNCBIjFF7d9ShkNfzFMpoeLaDczTJ8XafNvg5q9HJCnTwn0r6MAYnL87KqCIjet 3uB5ewP4e252jIaUGvUzbgYXsQ5VwtNcWqM7aVVS+BLbTBRWXYeRnXWha95YUhvh RPrDe11wIYRQoUrvaze69TadW7UIre4MLhFYRaY65qjbzPn5VYd98lT80Eo9Po1A u/mPary9Jw2D40UYQeT8dpp6s1IubQjYj1YO4B0orfIKdSGMeAMI596Z7gg+jIuX iSOYgq6zyO7BvGwtcvsYcIXR4Q3Cpuo1BtzeKA4yPnNogXObbSNDWe+NFMU3QExu L+F8vWRv+L6InyA7hc0xpN9E+f4bIC5G0JDLoqe6FD2zkpPJLAscCvFbcZtoMgTM BE67pbJL8qvzcm/T3Bk78nqEA5iVy7o7s/6E1Mz+CqiEVGxFT7ePNtxSceWYmimE +aCnnVbtOXlUKA6LxIbT8PCYhI4AYPBHHCvZIGrPGqZCNW/vR37V6+9F8tGvez70 2DxPxgKt6OT64Rbq =jz/g -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 09 09:35:56 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51676] [PATCH v3] gnu: Add python-miniupnpc References: <20211108034117.69082-1-singpolyma@singpolyma.net> In-Reply-To: <20211108034117.69082-1-singpolyma@singpolyma.net> Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Feb 2022 14:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51676 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51676@debbugs.gnu.org Cc: Stephen Paul Weber Received: via spool by 51676-submit@debbugs.gnu.org id=B51676.164441864115447 (code B ref 51676); Wed, 09 Feb 2022 14:58:01 +0000 Received: (at 51676) by debbugs.gnu.org; 9 Feb 2022 14:57:21 +0000 Received: from localhost ([127.0.0.1]:52314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHoPJ-000414-L7 for submit@debbugs.gnu.org; Wed, 09 Feb 2022 09:57:21 -0500 Received: from singpolyma.net ([192.99.233.116]:54877) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHoPH-00040u-Rr for 51676@debbugs.gnu.org; Wed, 09 Feb 2022 09:57:20 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id F1BFF4861743; Wed, 9 Feb 2022 14:57:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1644418638; bh=Uo5jQBLjOUNcb6eT44NqOVjwupY9rG7PBbfo68+icqs=; h=From:To:Cc:Subject:Date:From; b=H8fBEyiEg+oe+mlPuZuBSBoFRuQfWAMkClX9e68g++qI/X6AFRCkw8Sx/PAb2SmpB LlGRW53uamFx9tLKe+H4o7bL1HznOWICKZ52fUyNrO8aEOrC4wGyRTOJYm8+mjGHP/ kOQikoyvRkQ3nAHUHngCcDiQX9ODjx0H480tfTxA= From: Stephen Paul Weber Date: Wed, 9 Feb 2022 09:57:08 -0500 Message-Id: <20220209145708.31704-1-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-xyz.scm (python-miniupnpc): New variable. --- gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 537a2eef35..dccaa7b103 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3156,6 +3156,41 @@ server.") "@code{pafy} is a python library to retrieve YouTube content and metadata.") (license license:lgpl3+))) +(define-public python-miniupnpc + (package + (name "python-miniupnpc") + (version "2.2.3") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/miniupnp/miniupnp") + (commit + (string-append + "miniupnpc_" (string-replace-substring version "." "_"))))) + (file-name + (git-file-name name version)) + (sha256 + (base32 "03q1rlzvfzm15g1bfw2zqzavlsyaypnaf2k3cz6ha7k5rirkdy0l")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'subdir + (lambda _ + (chdir "miniupnpc") + (setenv "CC" ,(cc-for-target)) + (substitute* "Makefile" + (("/bin/sh") (which "bash")))))))) + (inputs (list python)) ; We are building a Python extension. + (native-inputs (list which)) + (synopsis "UPnP client for Python") + (description "Miniupnpc is a client library for Python programs to set up +port forwards using @acronym{UPnP, Universal Plug and Play}.") + (home-page "http://miniupnp.free.fr") + (license license:bsd-3))) + (define-public python2-funcsigs (package (name "python2-funcsigs") -- 2.30.2 From unknown Sat Aug 09 09:35:56 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Stephen Paul Weber Subject: bug#51676: closed (Re: [bug#51676] [PATCH v3] gnu: Add python-miniupnpc) Message-ID: References: <87bkz7pylt.fsf@nicolasgoaziou.fr> <20211108034117.69082-1-singpolyma@singpolyma.net> X-Gnu-PR-Message: they-closed 51676 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 51676@debbugs.gnu.org Date: Tue, 15 Feb 2022 22:14:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1644963242-1833-1" This is a multi-part message in MIME format... ------------=_1644963242-1833-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #51676: [PATCH] gnu: Add python-miniupnpc which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 51676@debbugs.gnu.org. --=20 51676: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D51676 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1644963242-1833-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 51676-done) by debbugs.gnu.org; 15 Feb 2022 22:13:45 +0000 Received: from localhost ([127.0.0.1]:46687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nK64u-0000St-J3 for submit@debbugs.gnu.org; Tue, 15 Feb 2022 17:13:44 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:47469) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nK64t-0000Sf-HP for 51676-done@debbugs.gnu.org; Tue, 15 Feb 2022 17:13:44 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 9E08020003; Tue, 15 Feb 2022 22:13:36 +0000 (UTC) From: Nicolas Goaziou To: Stephen Paul Weber Subject: Re: [bug#51676] [PATCH v3] gnu: Add python-miniupnpc References: <20211108034117.69082-1-singpolyma@singpolyma.net> <20220209145708.31704-1-singpolyma@singpolyma.net> Date: Tue, 15 Feb 2022 23:13:34 +0100 In-Reply-To: <20220209145708.31704-1-singpolyma@singpolyma.net> (Stephen Paul Weber's message of "Wed, 9 Feb 2022 09:57:08 -0500") Message-ID: <87bkz7pylt.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 51676-done Cc: 51676-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Stephen Paul Weber writes: > * gnu/packages/python-xyz.scm (python-miniupnpc): New variable. I removed `which' native-inputs, used G-expressions, and `search-input-files' instead of `which' function. Applied. Thank you Regards, -- Nicolas Goaziou ------------=_1644963242-1833-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 8 Nov 2021 03:41:25 +0000 Received: from localhost ([127.0.0.1]:55553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjvXB-0007UK-GA for submit@debbugs.gnu.org; Sun, 07 Nov 2021 22:41:25 -0500 Received: from lists.gnu.org ([209.51.188.17]:60824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjvX9-0007UC-43 for submit@debbugs.gnu.org; Sun, 07 Nov 2021 22:41:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjvX8-0003Rj-U4 for guix-patches@gnu.org; Sun, 07 Nov 2021 22:41:22 -0500 Received: from singpolyma.net ([192.99.233.116]:38779) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjvX7-0006Fp-8w for guix-patches@gnu.org; Sun, 07 Nov 2021 22:41:22 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id CCBDB48616B9; Mon, 8 Nov 2021 03:41:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1636342879; bh=D4EhLWkX/PkAbg9mf56WPTvlB4NWK6XIM3NoF9m+1yw=; h=From:To:Cc:Subject:Date:From; b=pz+1yQwWa6oL/cCt4eZs94g5lH4aQEFbje3Go2IKUzHp4sdoKqYNebVL/wztVOVhT SW5b42yWmRRBX3I6Cvodxh7pKhQZQk8OoJUCfcZnvTxCpPT67w0+B6EK+bZWUL7Vay xnX96veWzMhZgeW5luYafEMPsQrVCa9gt2Tscj3M= From: Stephen Paul Weber To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-miniupnpc Date: Sun, 7 Nov 2021 22:41:17 -0500 Message-Id: <20211108034117.69082-1-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=192.99.233.116; envelope-from=singpolyma@singpolyma.net; helo=singpolyma.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Stephen Paul Weber X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/python-xyz.scm (python-miniupnpc): New variable. --- gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8ba72170c0..558e104cf1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3093,6 +3093,42 @@ server.") "@code{pafy} is a python library to retrieve YouTube content and metadata.") (license license:lgpl3+))) +(define-public python-miniupnpc + (package + (name "python-miniupnpc") + (version "2.2.3") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/miniupnp/miniupnp") + (commit "36a65e3d841d4e85904fed690c0b755d5b380043"))) + (file-name + (git-file-name name version)) + (sha256 + (base32 "0h7smsp1fnwsmgg3n70813ln9j5y20g61x25s4kn91vzkbbq9188")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'subdir + (lambda _ + (chdir "miniupnpc") + (setenv "CC" ,(cc-for-target)) + (substitute* "Makefile" + (("SH = /bin/sh") (string-append "SH = " (which "bash")))) + #t))))) + (inputs + `(("python" ,python))) ; We are building a Python extension. + (native-inputs + `(("which" ,which))) + (synopsis "UPnP client for Python") + (description "A client library for Python programs to set up port forwards +using UPnP.") + (home-page "http://miniupnp.free.fr") + (license license:bsd-3))) + (define-public python2-funcsigs (package (name "python2-funcsigs") -- 2.30.2 ------------=_1644963242-1833-1--