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 WEzFBC3bA2LO0QAAgWs5BA (envelope-from ) for ; Wed, 09 Feb 2022 16:18:05 +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 EEQKAS3bA2IwGQAAauVa8A (envelope-from ) for ; Wed, 09 Feb 2022 16:18:05 +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 9212720A23 for ; Wed, 9 Feb 2022 16:18:04 +0100 (CET) Received: from localhost ([::1]:48332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHojL-00039c-FE for larch@yhetil.org; Wed, 09 Feb 2022 10:18:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHoPy-0000i0-6T for guix-patches@gnu.org; Wed, 09 Feb 2022 09:58:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58419) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHoPx-00041g-T6 for guix-patches@gnu.org; Wed, 09 Feb 2022 09:58:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHoPx-00042F-PV for guix-patches@gnu.org; Wed, 09 Feb 2022 09:58:01 -0500 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-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=1644419884; 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=vSE4U/xWLZpvMWpsoUJ2opgPMZzAIFpk+jv+2Esb0qU=; b=W0ZYTuNvQ1QHLdgp2QkYKLUcoA14AhQW4V6fQDz1DLPTKv5hzwY8bbWBj03QuluQj3E81e Gpj89lH2SHYq+XoxQYltE/2pcugirEy3XevQMEvFh+tdt8eaRWjcgpBkQ7+W/fiUnPjA8x mBTnoc446Nr30p7rUDVbgqrMKL5kESKM5oe+hQZYNKnkiGVaZC3Jt1TzD0fiiZEZAYxm8A OYDn5AsTaGiCCPBa5EkdwDFP/urwXUZxucxq747vnRS1hfRBCwGdLo1mMltDPsmH8DjQug H2uSpfDPZ0bNoh41OlsfvZ7u7ewiTy2SoWjHEop0veFyihohQzzLt/KbUI6BQw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644419884; a=rsa-sha256; cv=none; b=TKXU63Lz8o/gbZAfaXTPZkJ5DIVcdTizYhA4WneWyFnCZKZnjh1w6sKD4tzpM1YaoKW2vR jaBJpN+JN5Tmf4+PfHN58ukmc8DKo8RMWBUOVs9CvheBQJxwY7vu+ErQP61KWYvd+W4lIG zlr+30OfAKX/qYiBxs8IronoKsUO41xYgP+4vxEY2MIZf09NRfgh7tkiT9BoEt5qcmCDOJ RYXavmROlpw1P/JUNy+N+pHNYC0OAxNysLvCotTHgIf7/X6hIeK9YlSYe0tJ2NAqnJ7e5x rD1WLWLsL7u+oMbZ81n76MhrCSGFAji2XvNpQD/1nuLvCqklv5aUuOeeCMfm/g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=H8fBEyiE; 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.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=H8fBEyiE; 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: 9212720A23 X-Spam-Score: -1.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: b6OqbgTX/Cj1 * 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