From patchwork Wed Mar 10 09:00:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brendan Tildesley X-Patchwork-Id: 27581 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D77EE27BC51; Wed, 10 Mar 2021 09:03:03 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 574D127BC50 for ; Wed, 10 Mar 2021 09:03:03 +0000 (GMT) Received: from localhost ([::1]:49980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJukA-0004lo-HQ for patchwork@mira.cbaines.net; Wed, 10 Mar 2021 04:03:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJujF-0003dS-Cb for guix-patches@gnu.org; Wed, 10 Mar 2021 04:02:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37163) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJujF-0007Nx-3N for guix-patches@gnu.org; Wed, 10 Mar 2021 04:02:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lJujF-00047N-0J for guix-patches@gnu.org; Wed, 10 Mar 2021 04:02:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#42885] [PATCH 08/27] gnu: Add python-zeroconf. Resent-From: Brendan Tildesley Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 10 Mar 2021 09:02:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42885 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42885@debbugs.gnu.org Received: via spool by 42885-submit@debbugs.gnu.org id=B42885.161536689015513 (code B ref 42885); Wed, 10 Mar 2021 09:02:04 +0000 Received: (at 42885) by debbugs.gnu.org; 10 Mar 2021 09:01:30 +0000 Received: from localhost ([127.0.0.1]:48650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJuig-000428-7r for submit@debbugs.gnu.org; Wed, 10 Mar 2021 04:01:30 -0500 Received: from mout-p-202.mailbox.org ([80.241.56.172]:20394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJuif-00041O-2i for 42885@debbugs.gnu.org; Wed, 10 Mar 2021 04:01:29 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4DwQzl4VyvzQjbj for <42885@debbugs.gnu.org>; Wed, 10 Mar 2021 10:01:23 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot; s=MBO0001; t=1615366881; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1SR+ENwqFk+GvU8/ZMwz8LvQdAQX9FyBwaR+oJzwbkU=; b=aNHSQkCIC0aVQbKQ7tApk0WnuUISQjSmaNB6weJJsa9NQw+axjlr9dlARFEItdQqDJRlCK 6v/F8Dx3If1d4EVv6elwLLi0s1KoFhEWcdAlZ404V6yA8l7jJ/+/iBse/rW1GJccRlC9rs DTAAfWLr4l3wumQM5zk3PQDAxCr24exn/cJ9PG8kT6ycZuiSGoeMKf4SdCa9U7WkrxuTZU CC/yFz0vLk0kLY2MuaS7w0RLniFHfTqLVrOwLCLHZVQPhdExuLk2dXy38wzxZ7bmOBR/tv y2oEiOxgRdsC2KcQgVd3SEG21QrTPcvB/exPYjY4W0CGaKd2Nzq2o4+fOdDiiw== Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter06.heinlein-hosting.de (spamfilter06.heinlein-hosting.de [80.241.56.125]) (amavisd-new, port 10030) with ESMTP id feuCW4bxKdfm for <42885@debbugs.gnu.org>; Wed, 10 Mar 2021 10:01:20 +0100 (CET) From: Brendan Tildesley Date: Wed, 10 Mar 2021 20:00:34 +1100 Message-Id: <20210310090053.21612-8-mail@brendan.scot> In-Reply-To: <20210310090053.21612-1-mail@brendan.scot> References: <20210310090053.21612-1-mail@brendan.scot> MIME-Version: 1.0 X-MBO-SPAM-Probability: X-Rspamd-Score: -1.29 / 15.00 / 15.00 X-Rspamd-Queue-Id: 57B0F1871 X-Rspamd-UID: 20ce72 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-zeroconf): New variable. --- gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f6bb57d518..4ac8b0d926 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -20710,6 +20710,39 @@ by Igor Pavlov.") "Cross-platform network interface and IP address enumeration library") (license license:expat))) +(define-public python-zeroconf + (package + (name "python-zeroconf") + (version "0.28.8") + (source + (origin + (method url-fetch) + (uri (pypi-uri "zeroconf" version)) + (sha256 + (base32 + "0narq8haa3b375vfblbyil77n8bw0wxqnanl91pl0wwwm884mqjb")))) + (build-system python-build-system) + (native-inputs + `(("python-nose" ,python-nose))) + (propagated-inputs + `(("python-ifaddr" ,python-ifaddr))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ ;; Networking isn't available for these tests. + (invoke "nosetests" "-v" + "--exclude" "test_integration_with_listener_ipv6" + "--exclude" "test_launch_and_close_v6_only" + "--exclude" "test_launch_and_close_v4_v6" + "--exclude" "test_launch_and_close")))))) + (home-page "https://github.com/jstasiak/python-zeroconf") + (synopsis "Pure Python mDNS service discovery") + (description + "Pure Python multicast DNS (mDNS) service discovery library (Bonjour/Avahi +compatible).") + (license license:lgpl2.1+))) + (define-public python2-zeroconf (package (name "python2-zeroconf")