From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CAVzKrIFqmANdgEAgWs5BA (envelope-from ) for ; Sun, 23 May 2021 09:35:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 4IEdJrIFqmDfHwAAB5/wlQ (envelope-from ) for ; Sun, 23 May 2021 07:35:14 +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 9F359B54F for ; Sun, 23 May 2021 09:35:11 +0200 (CEST) Received: from localhost ([::1]:49008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lkidh-0000yx-6P for larch@yhetil.org; Sun, 23 May 2021 03:35:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkida-0000yj-87 for guix-patches@gnu.org; Sun, 23 May 2021 03:35:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57209) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lkida-0004Ln-0Y for guix-patches@gnu.org; Sun, 23 May 2021 03:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lkidZ-00025P-T0 for guix-patches@gnu.org; Sun, 23 May 2021 03:35:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48514] [PATCH] gnu: Add python-domain-connect-dyndns. References: <87bl97lb2y.fsf@posteo.de> Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 23 May 2021 07:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mekeor Melire , 48514@debbugs.gnu.org Received: via spool by 48514-submit@debbugs.gnu.org id=B48514.16217552547963 (code B ref 48514); Sun, 23 May 2021 07:35:01 +0000 Received: (at 48514) by debbugs.gnu.org; 23 May 2021 07:34:14 +0000 Received: from localhost ([127.0.0.1]:40522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lkico-00024N-18 for submit@debbugs.gnu.org; Sun, 23 May 2021 03:34:14 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:42080 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lkicl-000246-AI for 48514@debbugs.gnu.org; Sun, 23 May 2021 03:34:13 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1621755243; bh=2F/0JU+C7PqORqyfcAGBJuTDdPzZNL83P2Zpnm23bYg=; h=From:To:Subject:In-Reply-To:Date; b=OQfq8CZG+miVCz7+ihuF/TRfJSw41n500h6+a12iLthfuSlWowuPCTXbCWJDLweBP 5jzGv1Sx7QJrI0Dz4EeMKn/4NPAuM4sEl4a39aJ/2DVow96XEpM731tME3gosRV1Dw 04oQfAheII1xAVBTgCgVub5b5o64Dhxbf73gX3tM= In-Reply-To: <87bl97lb2y.fsf@posteo.de> Date: Sun, 23 May 2021 09:34:01 +0200 Message-ID: <87im39c39y.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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=1621755314; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=kkBbENtwzaDW6n9IwfusvNHNy448lG7D0haB/WfYoIs=; b=NTOr69V6eobQZ9Bpi0UhPyNqAEmMJyIMQC2ZSEy9l3vdDJ0cr2LmuqMmUrt6FgR4qsahmQ Q8VAfm1qQKl5241h0n3m6tERpDA1MAEKwKgQzM36OS5sJFzpYvyLBhnp8wHW20rOvrD0Ir zppLHeNODD1/rBRwK7wQbJush9ENQ7XrES+fJfcDe69z49me3CSgNvNogDtxqVODmfnBNi x3ki5PynWcyRmz6MSUBYQGXbdxUjG8jZ6oQQzRrcjikGLnUR1SSjjhgdP1N6NlIyaz5bFD k5qWkTTm2EIXAwAs70wvQiVKt4+Nm5bWYRW74NbRsn4rE1edF+QMEK5G+OB5kg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621755314; a=rsa-sha256; cv=none; b=oRleQ5MVQKQFyNZsFGc2QQffJ3gYr9KxYzLou9hVOUCUXqBAEUx0SyqzqfjxiGIa64OBmh GQkpIhBj07OV0kqAMShS8NVwmvns0pVrqzht7kHZcHB0hfRaDiX3zGsLPo0CBQVv/HQCGA /WVrfilPBpUxeJ1EAZVeXvlrm+qLhuM7X19SZppgA9gJpxa5hlEdg7BqOgM+LLTEEgRGa4 KrATgm3uVnMwZrpinFo6zAAubq04hXrUmWjmKrKIOC0ESpzXxz+fIv+YvyIogO/Zamxc2f wU+qWR+IuyRnYtn/ktbVNhtD15KdG3dQ08Kz5fXEIYOkA+XP1CUJIqcK8NJpIA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=OQfq8CZG; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (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.44 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=OQfq8CZG; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (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: 9F359B54F X-Spam-Score: -3.44 X-Migadu-Scanner: scn1.migadu.com X-TUID: YHrhNcW5/OHD --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, May 19 2021, Mekeor Melire wrote: > From 488d77b3a6542598264ba964a723cf2c7d6e646f Mon Sep 17 00:00:00 2001 > From: Mekeor Melire > Date: Wed, 19 May 2021 03:45:08 +0200 > Subject: [PATCH] gnu: Add python-domain-connect-dyndns. > > * gnu/packages/python-web.scm (python-publicsuffixlist, python-domain-con= nect, > python-domain-connect-dyndns): New variables. This should be split into three separate commits, you can use the etc/committer.scm script to automatically create commits for unstaged changes. > +(define-public python-publicsuffixlist > + (package > + (name "python-publicsuffixlist") > + (version "0.7.7") > + (home-page "https://github.com/ko-zu/psl") > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url home-page) > + (commit "bff8d6a87b6bd3f6894e9211a9ee3c995ccfdcfc"))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "1nzvw6n702y1v1z5b62lv2rnlqjr3hjpal2750sg8s713fxv= xlzz")))) > + (build-system python-build-system) > + (arguments > + `(#:tests? #f)) What=E2=80=99s the reason for disabling the tests? > + (synopsis "Parse the Public Suffix List") > + (description "Parse and use a given list of public suffix domains.") The description should contain one or more full sentences. > + (license license:mpl2.0))) > + > +(define-public python-domain-connect > + (package > + (name "python-domain-connect") > + (version "0.0.9") > + (home-page "https://github.com/Domain-Connect/domainconnect_python") > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url home-page) > + (commit (string-append "v" version)))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "1xji0svamw961c7zgs1453cw2b9w94mk5qrfvqyb592l6yhm= mm62")))) > + (build-system python-build-system) > + (arguments > + `(#:tests? #f Same as above (why are tests disabled?). > + #:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'only-single-number-versions > + (lambda _ > + (substitute* '("setup.py" "requirements.txt") > + (("(.*)([0-9]+)\\.[0-9]+\\.[0-9]+(.*)" all begin number e= nd) > + (string-append begin number end "\n")))))))) Is the newline necessary? > + (propagated-inputs > + `(("python-cffi" ,python-cffi) > + ("python-cryptography" ,python-cryptography) > + ("python-dnspython" ,python-dnspython) > + ("python-future" ,python-future) > + ("python-publicsuffix" ,python-publicsuffix) > + ("python-publicsuffixlist" ,python-publicsuffixlist) > + ("python-pycparser" ,python-pycparser) > + ("python-six" ,python-six))) > + (synopsis "Update DNS record of a domain per Domain Connect standard= ") > + (description "This library provides \"Domain Connect\" for Python, w= hich > +can be used to update DNS records of domains.") > + (license license:expat))) > + > +(define-public python-domain-connect-dyndns > + (package > + (name "python-domain-connect-dyndns") > + (version "0.0.9") > + (home-page "https://github.com/Domain-Connect/DomainConnectDDNS-Pyth= on") > + (source > + (origin > + (method git-fetch) > + (uri > + (git-reference > + (url home-page) > + (commit (string-append "v" version)))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "024wxhfifl14j8s973lg6ls6s80grf9sm417kd2rpy1a90p89dnk"))= )) > + (build-system python-build-system) > + (arguments > + `(#:tests? #f Same as the comment for python-domain-connect. > + #:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'only-single-number-versions > + (lambda _ > + (substitute* '("setup.py" "requirements.txt") > + (("(.*)([0-9]+)\\.[0-9]+\\.[0-9]+(.*)" all begin number e= nd) > + (string-append begin number end "\n")))))))) Same as the comment for python-domain-connect. otherwise LGTM! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmCqBWoVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5omkP/Rq4kBbNMlXVzZJvI/024mKQ+UhV KWcuKNfaEeDZUrEP5wDFhGRl5aHA91Be14AZOeloDSYI6YXbyf1po1jL1CR1XKNa W7o1xllnQ4tNIEdOiQb7Fb5VhuIwSRoWT+jqQBIck+ImobpeZJg0s+fDW9b2y3ov c6yB3eT+QPppll5G3ayKgii3JDmOH4+ZTrCn5euKnwfOrplWu1X9NlOqb4bY4zEQ jYPt6qWdnzYn5L+M39I/rdFoDoTcdQPCNA96aNfkjR76CsHlneUtdLLRgkpxK4NO 6sMLs5SamPF8CSh9+Rn5NhuKC+TwfrM1D4ublQrPWfuZ1L1k7OOonye15r5xhK+T IsaA23RTTf03/tLWUb6SvmE3xQbwVfJFwp98ehFx9pGN/ynn4fYhXCcEmFmL3lUX WuOou8UzkB5pfm9OJIT2cpPJ9Qp6PTgYfE9526BOVq+2bPvrQ8f5Ji5bg5VLub0M zBSTVG/X0RwK1zyhZUXCDrST2HYstf+i5MopOaI/4xhCYulJlWXGOdbtCy1XQNj9 iLrE3DyYEuTzbsqBgyfjp5R/Z4Sx4ZbvSKBRC/C+XAke5Xko9BOHeSenzdbKwNNd b9eVhJ+udsG3cZZex95XGo4inr7U97c9bblVEIPvl3VdYGzCnQmCGeHy352e1EFG iC6ekRCqGoi1t2ss =vD7+ -----END PGP SIGNATURE----- --=-=-=--