From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 6HBbFLrN4GGhmAAAgWs5BA (envelope-from ) for ; Fri, 14 Jan 2022 02:11:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kIXoELrN4GFliQAAauVa8A (envelope-from ) for ; Fri, 14 Jan 2022 02:11:22 +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 0716B2618F for ; Fri, 14 Jan 2022 02:11:22 +0100 (CET) Received: from localhost ([::1]:56378 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8B7h-0006sE-7Z for larch@yhetil.org; Thu, 13 Jan 2022 20:11:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36358) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8B7Q-0006rq-8d for guix-patches@gnu.org; Thu, 13 Jan 2022 20:11:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42005) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8B7O-0002z4-ED for guix-patches@gnu.org; Thu, 13 Jan 2022 20:11:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8B7O-0003rb-1D for guix-patches@gnu.org; Thu, 13 Jan 2022 20:11:02 -0500 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-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=1642122682; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=Hg8b7GdHx3QPO7HOHd4fEMH25vYqGpPVirSHTEFSsmg=; b=WFSKDBwgAkCrwNGLdxl/y9rUkT2TXfZWubfKV7id9o5sRWnGi0OPsBIUXov2qpuH0DL0qB LIqwYbmfIDguVtxkFtySyN935pAOyxx0lSAzXz+sIONxoGc3SPeBJw1HlDIifp+biQAtkf xDR/1MucMT2djaCD6s57biwuMGYCFQcgk/gGqiF5KLEUeWeDtfXArV9yWrOm2wfykYyK4J 5Jt3XwD5DTTN4Qrnf9ZFvDEOlwujWD5Jck+9ARs2D47TE37Is34HnBRnfcgPyN8wzuLV6F yTtLRxtuEJVUm4P5k3LRZJlhbu8Uv9xYAW7eh05UAoCROvPD3a9rd0FGdltjQA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642122682; a=rsa-sha256; cv=none; b=j2IH70rrSBonosnipIxVq8c31BsOnLeepas+i1L0K0GmXGUw7MZ23KFd2iDeBVadjHQG6D feHZ529mDgRCAPr8cN7q5fJuoCzX5NuQOPGGY8HzHUcC27ss4Dtygz1E2jBW2anE+H47yu XRHqS6RXomFSO81djFKicy2rvVjLK/dz9d0P1Ci3H9GxKynh5iBOLvglWWbinZRz/l9ZHd WixDxBjCQBjG6pHz1IQ1MnuBImihDsyTEt43hF+/Zopn8jzo4UHrFSlpYRz3On87T0BmA3 /qzfNw1R02KMPKpt3h/lnoxEAFGvUfXjh+n8T6svOw35euNLFYhQBZkgUlZ7Rg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=rMdxo2Vw; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (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: -1.02 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=rMdxo2Vw; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (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: 0716B2618F X-Spam-Score: -1.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: 39Jb0U5pT183 * 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