From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gNhnMKqciGE3LAEAgWs5BA (envelope-from ) for ; Mon, 08 Nov 2021 04:42:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id kDMkLKqciGGUcgAA1q6Kng (envelope-from ) for ; Mon, 08 Nov 2021 03:42:34 +0000 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 6AA6E30365 for ; Mon, 8 Nov 2021 04:42:34 +0100 (CET) Received: from [::1] (port=59188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mjvYH-0003U6-H5 for larch@yhetil.org; Sun, 07 Nov 2021 22:42:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjvXm-0003Tq-Ub for guix-patches@gnu.org; Sun, 07 Nov 2021 22:42:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44007) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mjvXm-0006k8-H0 for guix-patches@gnu.org; Sun, 07 Nov 2021 22:42:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mjvXm-0007VD-F3 for guix-patches@gnu.org; Sun, 07 Nov 2021 22:42:02 -0500 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-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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636342954; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=eyXFIN0kU09qXNt81byKP1y4mDnmcViO9ZPWhf+Iqpw=; b=DeN+LpjcetyurFeClllG68aY5lX34iCDiuc5+K3iqc4YqLFnmHYSMiNVMCM2W3r1Ln+oPW KY3c9aAsXdbrV1EXHTlSLjuMqwxl0yvGJAQnZwu6AhChUsx7FR5Z2a05k/7uW3ZzKF8/Ec ZrvojMyX9AGZP/spbIBHdyynr5i62DBpockxifM59P4KYEbz6/ukbGZVN/s+nEJSoiTCH1 zMk4UvxScN/kOW140rpCH/qkKvI1pWAcHO+Um73GTRbxgSmGtKnDob9rbUbKtJYOh519Qy MOC282IzgTjp/EaohNZrgDATx4OLpZNSzZNxC+20DvILAUGWGuMVaFrymNZ5Ng== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636342954; a=rsa-sha256; cv=none; b=uX4410iLo6LjK4XtRIxuB2gr3UQdbT56oyYgsASwjgRmuPt8rPHqLFIT7qNBRd0htqnWVU TTVk1Qh4wGI9moqPxyrpjjRtzwu2pGSgdEwzl4HSLHI86mD355tpZGQAjbcwp8WKgHGTEQ 8Y9PLPZR4hQHKrTub6SsZcdYTibmKTwjKPdH3AHeTfLtCjX8XUWsx9KOTt1HqHL9lihfwK /3BxApx87q42KyxjNJQoJorCyHpS8XXmOf2jihK4H7qUzoPOxevBe0QTincuqGTe/+GL5J OYyk7p754JdrDPrN9pFG664oFnGt9wvgHLt3PYnNPfm4m2/I2ZZ8TDYf/TYL2g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=pz+1yQwW; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=pz+1yQwW; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 6AA6E30365 X-Spam-Score: 3.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: 006nvKh6+5mv * 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