From debbugs-submit-bounces@debbugs.gnu.org Tue May 18 22:44:32 2021 Received: (at submit) by debbugs.gnu.org; 19 May 2021 02:44:32 +0000 Received: from localhost ([127.0.0.1]:57671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljCCC-00058m-PW for submit@debbugs.gnu.org; Tue, 18 May 2021 22:44:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:43602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljBnz-0004Wh-A6 for submit@debbugs.gnu.org; Tue, 18 May 2021 22:19:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46496) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljBny-0005eT-RQ for guix-patches@gnu.org; Tue, 18 May 2021 22:19:27 -0400 Received: from mout02.posteo.de ([185.67.36.66]:51451) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljBnw-0003FF-6F for guix-patches@gnu.org; Tue, 18 May 2021 22:19:26 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id C72D92400E5 for ; Wed, 19 May 2021 04:19:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1621390759; bh=CbEoLOLqwvRS3SLCOeIVmLM1tlJ+BeN+Zeu+NuZM5Sg=; h=From:To:Subject:Date:From; b=pBcwlSbr4E1T+I24XCQe+VfX/UmPNV2jGKTh7pkzx3OakiXFCxumxva8pHw66fy/8 6Ipv4sJ+K6j7Wq8ctr+/7b2qslwLLZgZZ6/E6h9GDFr1bTCCU0lVXZ18iBVbGzJcl7 qqFLFIWC1B/C0mN3z7j+MUC1NnXym+kOM2kA8t4hsuLR3gkeM/r1fOtf5oV7+zzOpY kOdiO9r196ARLRF/me7St3z2HR7jsPmDzyvJGDMsVSjKa7+4MfPEuZ8eWjFwuDXyDG T3+wlsun5n+Fzdd0co/RCI+q4yDskmuBaYxuyCHuZ7vbZMEqCyuRI+zmAC2yiiUYRD cfuMTei6qS81g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FlGlW0Ntwz9rxF; Wed, 19 May 2021 04:19:19 +0200 (CEST) From: Mekeor Melire To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-domain-connect-dyndns. Date: Wed, 19 May 2021 02:19:17 +0000 Message-ID: <87bl97lb2y.fsf@posteo.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=185.67.36.66; envelope-from=mekeor@posteo.de; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 18 May 2021 22:44:28 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain Hello Guix! It's been long time since my last contribution. (Namely, almost 4 years!) But now I got three little package declarations for you, which can be used to update DNS records of domains from certain domain-providers. For example, I'm using a well known, pretty common German domain-provider and found this python-script to be most comfortable to use. It is based on a new, open standard, called "Domain Connect", developed, used and supported by many common DNS/domain providers (see ). That was just to argue why I think these packages have a value for the public (and not just my private self). See you Mekeor --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-python-domain-connect-dyndns.patch Content-Transfer-Encoding: quoted-printable >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-conne= ct, python-domain-connect-dyndns): New variables. --- gnu/packages/python-web.scm | 103 ++++++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index b7411d21fa..41c8971c8c 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -42,6 +42,7 @@ ;;; Copyright =C2=A9 2020 Giacomo Leidi ;;; Copyright =C2=A9 2021 Ekaitz Zarraga ;;; Copyright =C2=A9 2021 Greg Hogan +;;; Copyright =C2=A9 2021 Mekeor Melire ;;; ;;; This file is part of GNU Guix. ;;; @@ -4066,6 +4067,108 @@ List. Forked from and using the same API as the pu= blicsuffix package.") (define-public python2-publicsuffix2 (package-with-python2 python-publicsuffix2)) =20 +(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 "1nzvw6n702y1v1z5b62lv2rnlqjr3hjpal2750sg8s713fxvxl= zz")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) + (synopsis "Parse the Public Suffix List") + (description "Parse and use a given list of public suffix domains.") + (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 "1xji0svamw961c7zgs1453cw2b9w94mk5qrfvqyb592l6yhmmm= 62")))) + (build-system python-build-system) + (arguments + `(#:tests? #f + #: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 end) + (string-append begin number end "\n")))))))) + (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, whi= ch +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-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 "024wxhfifl14j8s973lg6ls6s80grf9sm417kd2rpy1a90p89dnk")))) + (build-system python-build-system) + (arguments + `(#:tests? #f + #: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 end) + (string-append begin number end "\n")))))))) + (propagated-inputs + `(("python-certifi" ,python-certifi) + ("python-cffi" ,python-cffi) + ("python-chardet" ,python-chardet) + ("python-cryptography" ,python-cryptography) + ("python-dnspython" ,python-dnspython) + ("python-domain-connect" ,python-domain-connect) + ("python-future" ,python-future) + ("python-idna" ,python-idna) + ("python-publicsuffix" ,python-publicsuffix) + ("python-pycparser" ,python-pycparser) + ("python-requests" ,python-requests) + ("python-six" ,python-six) + ("python-urllib3" ,python-urllib3) + ("python-validators" ,python-validators))) + (synopsis "Update DNS record of a domain per Domain Connect standard") + (description "This package provides a client for the open standard +\"Domain Connect\" which can be used to update DNS records of domains.") + (license license:expat))) + (define-public python-werkzeug (package (name "python-werkzeug") --=20 2.30.2 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun May 23 03:34:14 2021 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= To: Mekeor Melire , 48514@debbugs.gnu.org Subject: Re: [bug#48514] [PATCH] gnu: Add python-domain-connect-dyndns. 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-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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-conn [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS X-Debbugs-Envelope-To: 48514 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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-conn [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= 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----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 29 17:11:22 2021 Received: (at 48514) by debbugs.gnu.org; 29 Jun 2021 21:11:22 +0000 Received: from localhost ([127.0.0.1]:55786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyL0r-0002OV-Mh for submit@debbugs.gnu.org; Tue, 29 Jun 2021 17:11:22 -0400 Received: from mout01.posteo.de ([185.67.36.65]:47993) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyKg3-0001qE-TK for 48514@debbugs.gnu.org; Tue, 29 Jun 2021 16:49:53 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 7CB17240029 for <48514@debbugs.gnu.org>; Tue, 29 Jun 2021 22:49:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1624999785; bh=P15UJl8ghxvdlt3yPlvJ7KiJC7qREHj96y+ikKlEEIY=; h=From:To:Cc:Subject:Date:From; b=Lqe1R8WQz0PmhnhQD8p7QRyluj+SJWagnNHFTHhiYKGqo3TR6yiXarNq++EciFBRR OEhqlw3FV0eGrUxT/w21fEC1ymcnEAz33zwKJUtbYDNMLdPLmtyVtMHDGjubJNqeRR IInK0ygyL30S8ZKQqeacAuQrgNe8Qnrn4ZJiLUsVcvWRIDw858W74NPcxS/0IBj0k0 0VGKiOYwO0aS+LjKhVXIw22y1YMtCE4aEO4Tsld4SZauX4V+g66FYFJtXUbrII+lsd C/XibT9XuvRR7kknCBZIyaStoGdKQbKbyFeoqAK+lJ8DpiBTEIgZhSJ/dAkpksSbaQ cOgtPsq8iURgA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4GDxRr2tZzz9rxF; Tue, 29 Jun 2021 22:49:44 +0200 (CEST) References: <87bl97lb2y.fsf@posteo.de> <87im39c39y.fsf@yoctocell.xyz> From: Mekeor Melire To: Xinglu Chen Subject: Re: [bug#48514] [PATCH] gnu: Add python-domain-connect-dyndns. Date: Tue, 29 Jun 2021 20:43:22 +0000 In-reply-to: <87im39c39y.fsf@yoctocell.xyz> Message-ID: <87bl7otmzc.fsf@posteo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 48514 X-Mailman-Approved-At: Tue, 29 Jun 2021 17:11:19 -0400 Cc: 48514@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) Hi and thank you for reviewing the patch! 2021-05-23 / 09:34 / public@yoctocell.xyz: > [[PGP Signed Part:Undecided]] > 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-co= nnect, >> 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 "1nzvw6n702y1v1z5b62lv2rnlqjr3hjpal2750sg8s713fx= vxlzz")))) >> + (build-system python-build-system) >> + (arguments >> + `(#:tests? #f)) > > What=E2=80=99s the reason for disabling the tests? I tried to get the tests working. But I'm not sure how to fix this error: "ImportError: Failed to import test module: domainconnect". The full logs are here: http://ix.io/3rvK It probably originates in this line: https://github.com/Domain-Connect/domainconnect_python/blob/d5a3a2935be36= a61985e0a86eab7e2a6098493d5/domainconnect/tests/test_domainConnect.py#L11 If I understand correctly, the package's tests try to import the package itself (which makes sense). I'm not sure why it does not work though. Any ideas? I will get the other change-requests done after fixing 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 "1xji0svamw961c7zgs1453cw2b9w94mk5qrfvqyb592l6yh= mmm62")))) >> + (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 = end) >> + (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 standar= d") >> + (description "This library provides \"Domain Connect\" for Python, = which >> +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-Pyt= hon") >> + (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 = end) >> + (string-append begin number end "\n")))))))) > > Same as the comment for python-domain-connect. > > otherwise LGTM! > > [[End of PGP Signed Part]] From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 05 17:00:57 2025 Received: (at 48514-done) by debbugs.gnu.org; 5 Feb 2025 22:00:58 +0000 Received: from localhost ([127.0.0.1]:53012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tfnS5-0002yI-NT for submit@debbugs.gnu.org; Wed, 05 Feb 2025 17:00:57 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:57835) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tfnS4-0002ji-3E for 48514-done@debbugs.gnu.org; Wed, 05 Feb 2025 17:00:56 -0500 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-43618283dedso2299955e9.3 for <48514-done@debbugs.gnu.org>; Wed, 05 Feb 2025 14:00:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738792850; x=1739397650; darn=debbugs.gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=0NZs4SP07eFL2AD/SUq6UTO7XRnbWqyQAmpOvWpuFX0=; b=FIZEfKJ54l9PWyAfFmlvT97Me6o7bZnHZWhMnKRuuwayvVgWQFpwqb6Y/ndUeDPlsq bhX5F1YFRwnaGMgMLreB5Qss/XFEqG3h5CCYWEQ01FW1CBl94L34OobU2oFcwq2MNASY zvOzHnFRneHXMkPzfvdzqGuRAgNmlVqmqoGEJKtNlQb1FwN7JOP6uOgOt9ux0dELBjU5 IoSC82gROSE9mJKojbnmGMNA6uSddrlrgU9KB1g1a5UDUazEonWHgC6Kgw87HrtWGrEj 0lF642q7KHwr+HIXvVK/MJ9aLN9iKwWzA74q9+POoRfQuXQWWCW3ZC3+tL5a6WUrZwF4 hfYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738792850; x=1739397650; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=0NZs4SP07eFL2AD/SUq6UTO7XRnbWqyQAmpOvWpuFX0=; b=CdCh7rF3urs5gDFjP1GELtfkezJNTYuzhdHAP6jZrkSWNv1XN8QgqnZspsMSFmYwR8 YG1rgHh5/SIspquEN28KFpfYW2K2W3G7SMU2P982CmxhXNY7h/U3iQZJpoSIAOGtxFVL h5Z/dMvPu4wvIMc4HxPSonQHj6Imya2P7h+x/PPNqnRlrhkQOXOpTPT4BZI68bRs0NDi q2Yoaqw8xVYj/w+9Rjzg4UlvD8tRVow0wmaWtTIFeJ6ZeF5i2Mc/LHEdQFip326EkYKm vS8a86lSFuKUnFwOl3Xvuajv/JFLAIilIX8mf5bu3Z26S1A0fUg8QJTfgLJ/T9gkVKea Cl/g== X-Gm-Message-State: AOJu0YxGjqYbXAWqT3BOA2vJovjWWlQvGeLMOZrKe2VIhR2G8KACJE8u ofttTrlSzuoLYjrC/XSlfynIkLeovV2Vnz3RAhns6FoyX1GcUWugmxUoCPz6 X-Gm-Gg: ASbGncvokd9UCDHT08v0qhVRWKO/XkdmGzfy862ZbG8FWxXtUDHmnnwHLohj2XOp7od 9U4exv2RPmSILiU7njqBFhxOEoEVFQeGEG6PlW+c1xWL7BcRE4OB481ffdiwyUPVK4NnRr0iQG7 Tp+YIg+hILa7gtod543snvQybmnOJC/pmXWF16ghhiuIqSlr5ZsX8GMhD/sG3rYIpDXNLJb1zeQ nXitA5id7L+MYp1BYpQHtN5doKlsOZSgtQX7SnHHFLv0j5l7vieKBEZYopORfRTM0m8SOL5/XIO DwMHM1k5oe8vrm377Y3L+3k0hYr7qKA2uRDKcWk0bIn8NFHySwglPaTDBJjjRKmuLBU= X-Google-Smtp-Source: AGHT+IG+7QAPSRspY2/XZJ+IiSf0zeFUMkNi1iqqNOWUPZXGj0CjMHjjumanPNMsrI9HgEeaYaZYRg== X-Received: by 2002:a05:600c:3511:b0:436:8a6f:b6db with SMTP id 5b1f17b1804b1-4390d55fc9bmr33417105e9.22.1738792849655; Wed, 05 Feb 2025 14:00:49 -0800 (PST) Received: from guxtil (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4390db11264sm33123305e9.35.2025.02.05.14.00.48 for <48514-done@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Feb 2025 14:00:48 -0800 (PST) From: Sharlatan Hellseher To: 48514-done@debbugs.gnu.org Subject: [PATCH] gnu: Add python-domain-connect-dyndns. Date: Wed, 05 Feb 2025 22:00:47 +0000 Message-ID: <87a5b0gigg.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48514-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Hi, Thanks for the patches. I've re-imported them and applied on master as: 9e378b7c4e1 * gnu: Add python-domain-connect-dyndns. 26b022deb98 * gnu: Add python-domain-connect. 55a2baf1271 * gnu: Add python-publicsuffixlist. -- Oleg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmej348ACgkQdtcnv/Ys 0rWcWBAAxZSH8ca5yRIonXYD83sXMYvOTxHkoQw2T0DIIIROS91ozKJ24E0a9Vgj 4khfjSMh0qrPSSrHcFKlW2eySfbcYhVXQIKuzT4ufAEvNO+d2KzYX/BXD8Yv21ry C6lLnbLgbgzhTCTlmN849N6I94lpSoNE+6SxURXyMXURKmJFqIc9lF/3LCZ4OOP5 AwmcIcXLj+DpnyKM6O2xY+ikZp/gWZT2ygDovZWAsYUrOYhcn20YescYgTuS9RDm tPTpUqRMkCnGh2Pd7ENfbfcSOBlJk2PaQ7lqLQiTnD/cTpTlro7RdLPgL6zntOmW K+c6b7D8Y2S1+Xccx6t4oJ1flnvHwVa2xUo2ClTZWWGxRBdgWoeU1VQGtB1l0pKM j0kUHtKwrZdMJNzmEcnm0XpsG6YjsyIujrs4DnOeUnw+QsLxOQj49v28amWf4+J6 oYcg8n6lW2q8I2vaIg6Sc/yfkPGyuei98ZNzk5SZdWUFUbIWcV6UM4kPn2P25jsh BJgmgCFlu/PItABYNR2Qvte+9ClouMGGJCUbqODKMVj3oXtISiXpgZiSORs2djtn JelM4H7Jy791wRxlNx4M06ZpDa2NhjJf+9Q6kZ6ygVIzgd6ipFU6z6tvmJB4eW6p hGJ44TrRNL/dkvFlK3jCGxJAqPgiVdLqs8ZotAzG19EF1TffOA8= =+1Ut -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Jun 15 08:47:14 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 06 Mar 2025 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator