unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#31820] [PATCH 1/4] gnu: Add python-requests-file.
@ 2018-06-13 23:25 Clément Lassieur
  2018-06-13 23:25 ` [bug#31823] [PATCH 2/4] gnu: Add python-tldextract Clément Lassieur
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Clément Lassieur @ 2018-06-13 23:25 UTC (permalink / raw)
  To: 31820

* gnu/packages/python.scm (python-requests-file, python2-requests-file): New
variables.
---
 gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 88bbf3b7e..4b1ea91ae 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -53,6 +53,7 @@
 ;;; Copyright © 2016, 2018 Tomáš Čech <sleep_walker@gnu.org>
 ;;; Copyright © 2018 Nicolas Goaziou <mail@nicolasgoaziou.fr>
 ;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -13631,3 +13632,29 @@ introspection.")
 
 (define-public python2-fasteners
   (package-with-python2 python-fasteners))
+
+(define-public python-requests-file
+  (package
+    (name "python-requests-file")
+    (version "1.4.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "requests-file" version))
+       (sha256
+        (base32
+         "1yp2jaxg3v86pia0q512dg3hz6s9y5vzdivsgrba1kds05ial14g"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-requests" ,python-requests)
+       ("python-six" ,python-six)))
+    (home-page
+     "https://github.com/dashea/requests-file")
+    (synopsis "File transport adapter for Requests")
+    (description
+     "Requests-File is a transport adapter for use with the Requests Python
+library to allow local filesystem access via file:// URLs.")
+    (license license:asl2.0)))
+
+(define-public python2-requests-file
+  (package-with-python2 python-requests-file))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#31823] [PATCH 2/4] gnu: Add python-tldextract.
  2018-06-13 23:25 [bug#31820] [PATCH 1/4] gnu: Add python-requests-file Clément Lassieur
@ 2018-06-13 23:25 ` Clément Lassieur
  2018-06-13 23:25 ` [bug#31822] [PATCH 3/4] gnu: Add python-pynamecheap Clément Lassieur
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Clément Lassieur @ 2018-06-13 23:25 UTC (permalink / raw)
  To: 31823

* gnu/packages/python.scm (python-tldextract, python2-tldextract): New
variables.
---
 gnu/packages/python.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4b1ea91ae..21201cc8d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13658,3 +13658,36 @@ library to allow local filesystem access via file:// URLs.")
 
 (define-public python2-requests-file
   (package-with-python2 python-requests-file))
+
+(define-public python-tldextract
+  (package
+    (name "python-tldextract")
+    (version "2.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "tldextract" version))
+       (sha256
+        (base32
+         "1d5s8v6kpsgazyahflhji1cfdcf89rv7l7z55v774bhzvcjp2y99"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-responses" ,python-responses)))
+    (propagated-inputs
+     `(("python-idna" ,python-idna)
+       ("python-requests" ,python-requests)
+       ("python-requests-file" ,python-requests-file)))
+    (home-page
+     "https://github.com/john-kurkowski/tldextract")
+    (synopsis
+     "Separate the TLD from the registered domain and subdomains of a URL")
+    (description
+     "TLDExtract accurately separates the TLD from the registered domain and
+subdomains of a URL, using the Public Suffix List.  By default, this includes
+the public ICANN TLDs and their exceptions.  It can optionally support the
+Public Suffix List's private domains as well.")
+    (license license:bsd-3)))
+
+(define-public python2-tldextract
+  (package-with-python2 python-tldextract))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#31822] [PATCH 3/4] gnu: Add python-pynamecheap.
  2018-06-13 23:25 [bug#31820] [PATCH 1/4] gnu: Add python-requests-file Clément Lassieur
  2018-06-13 23:25 ` [bug#31823] [PATCH 2/4] gnu: Add python-tldextract Clément Lassieur
@ 2018-06-13 23:25 ` Clément Lassieur
  2018-06-13 23:25 ` [bug#31821] [PATCH 4/4] gnu: Add python-dns-lexicon Clément Lassieur
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Clément Lassieur @ 2018-06-13 23:25 UTC (permalink / raw)
  To: 31822

* gnu/packages/python.scm (python-pynamecheap, python2-pynamecheap): New
variables.
---
 gnu/packages/python.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 21201cc8d..c09b00609 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13691,3 +13691,28 @@ Public Suffix List's private domains as well.")
 
 (define-public python2-tldextract
   (package-with-python2 python-tldextract))
+
+(define-public python-pynamecheap
+  (package
+    (name "python-pynamecheap")
+    (version "0.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "PyNamecheap" version))
+       (sha256
+        (base32
+         "0wkbwz208j8nfrsmzmclvxg22ymknn0mlz76wbdza9k2bx2zja6l"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-requests" ,python-requests)))
+    (home-page
+     "https://github.com/Bemmu/PyNamecheap")
+    (synopsis
+     "Namecheap API client in Python")
+    (description
+     "PyNamecheap is a Namecheap API client in Python.")
+    (license license:expat)))
+
+(define-public python2-pynamecheap
+  (package-with-python2 python-pynamecheap))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#31821] [PATCH 4/4] gnu: Add python-dns-lexicon.
  2018-06-13 23:25 [bug#31820] [PATCH 1/4] gnu: Add python-requests-file Clément Lassieur
  2018-06-13 23:25 ` [bug#31823] [PATCH 2/4] gnu: Add python-tldextract Clément Lassieur
  2018-06-13 23:25 ` [bug#31822] [PATCH 3/4] gnu: Add python-pynamecheap Clément Lassieur
@ 2018-06-13 23:25 ` Clément Lassieur
  2018-06-13 23:30 ` [bug#31820] [PATCH 1/4] gnu: Add python-requests-file Clément Lassieur
  2018-06-14  1:36 ` Leo Famulari
  4 siblings, 0 replies; 7+ messages in thread
From: Clément Lassieur @ 2018-06-13 23:25 UTC (permalink / raw)
  To: 31821

* gnu/packages/python.scm (python-dns-lexicon, python2-dns-lexicon): New
variables.
---
 gnu/packages/python.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c09b00609..72e8d9292 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13716,3 +13716,36 @@ Public Suffix List's private domains as well.")
 
 (define-public python2-pynamecheap
   (package-with-python2 python-pynamecheap))
+
+(define-public python-dns-lexicon
+  (package
+    (name "python-dns-lexicon")
+    (version "2.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "dns-lexicon" version))
+       (sha256
+        (base32
+         "0jdn3ns71bsybr7njgsqr9xlxsqh7zh6phn4ld0liazqdn2l5f6m"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f))                    ;requires internet access
+    (propagated-inputs
+     `(("python-future" ,python-future)
+       ("python-pynamecheap" ,python-pynamecheap)
+       ("python-requests" ,python-requests)
+       ("python-tldextract" ,python-tldextract)
+       ("python-urllib3" ,python-urllib3)))
+    (home-page "https://github.com/AnalogJ/lexicon")
+    (synopsis
+     "Manipulate DNS records on various DNS providers")
+    (description
+     "Lexicon provides a way to manipulate DNS records on multiple DNS
+providers in a standardized way.  It has a CLI but it can also be used as a
+Python library.  It was designed to be used in automation, specifically with
+Let's Encrypt.")
+    (license license:expat)))
+
+(define-public python2-dns-lexicon
+  (package-with-python2 python-dns-lexicon))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#31820] [PATCH 1/4] gnu: Add python-requests-file.
  2018-06-13 23:25 [bug#31820] [PATCH 1/4] gnu: Add python-requests-file Clément Lassieur
                   ` (2 preceding siblings ...)
  2018-06-13 23:25 ` [bug#31821] [PATCH 4/4] gnu: Add python-dns-lexicon Clément Lassieur
@ 2018-06-13 23:30 ` Clément Lassieur
  2018-06-14  1:36 ` Leo Famulari
  4 siblings, 0 replies; 7+ messages in thread
From: Clément Lassieur @ 2018-06-13 23:30 UTC (permalink / raw)
  To: 31820

I forgot to put the patches under the same debbugs id, sorry about that.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [bug#31820] [PATCH 1/4] gnu: Add python-requests-file.
  2018-06-13 23:25 [bug#31820] [PATCH 1/4] gnu: Add python-requests-file Clément Lassieur
                   ` (3 preceding siblings ...)
  2018-06-13 23:30 ` [bug#31820] [PATCH 1/4] gnu: Add python-requests-file Clément Lassieur
@ 2018-06-14  1:36 ` Leo Famulari
  2018-06-14  6:24   ` bug#31820: " Clément Lassieur
  4 siblings, 1 reply; 7+ messages in thread
From: Leo Famulari @ 2018-06-14  1:36 UTC (permalink / raw)
  To: Clément Lassieur; +Cc: 31820

[-- Attachment #1: Type: text/plain, Size: 1964 bytes --]

On Thu, Jun 14, 2018 at 01:25:48AM +0200, Clément Lassieur wrote:
> * gnu/packages/python.scm (python-requests-file, python2-requests-file): New
> variables.

The patch series LGTM, thanks! Remember to close all the debbugs tickets
:)

> ---
>  gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
> 
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 88bbf3b7e..4b1ea91ae 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -53,6 +53,7 @@
>  ;;; Copyright © 2016, 2018 Tomáš Čech <sleep_walker@gnu.org>
>  ;;; Copyright © 2018 Nicolas Goaziou <mail@nicolasgoaziou.fr>
>  ;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
> +;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -13631,3 +13632,29 @@ introspection.")
>  
>  (define-public python2-fasteners
>    (package-with-python2 python-fasteners))
> +
> +(define-public python-requests-file
> +  (package
> +    (name "python-requests-file")
> +    (version "1.4.3")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "requests-file" version))
> +       (sha256
> +        (base32
> +         "1yp2jaxg3v86pia0q512dg3hz6s9y5vzdivsgrba1kds05ial14g"))))
> +    (build-system python-build-system)
> +    (propagated-inputs
> +     `(("python-requests" ,python-requests)
> +       ("python-six" ,python-six)))
> +    (home-page
> +     "https://github.com/dashea/requests-file")
> +    (synopsis "File transport adapter for Requests")
> +    (description
> +     "Requests-File is a transport adapter for use with the Requests Python
> +library to allow local filesystem access via file:// URLs.")
> +    (license license:asl2.0)))
> +
> +(define-public python2-requests-file
> +  (package-with-python2 python-requests-file))
> -- 
> 2.17.1
> 
> 
> 
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#31820: [PATCH 1/4] gnu: Add python-requests-file.
  2018-06-14  1:36 ` Leo Famulari
@ 2018-06-14  6:24   ` Clément Lassieur
  0 siblings, 0 replies; 7+ messages in thread
From: Clément Lassieur @ 2018-06-14  6:24 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 31820-done

Leo Famulari <leo@famulari.name> writes:

> On Thu, Jun 14, 2018 at 01:25:48AM +0200, Clément Lassieur wrote:
>> * gnu/packages/python.scm (python-requests-file, python2-requests-file): New
>> variables.
>
> The patch series LGTM, thanks! Remember to close all the debbugs tickets
> :)


Pushed, thank you for the review!  Yes I'll close them :-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-06-14  6:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-13 23:25 [bug#31820] [PATCH 1/4] gnu: Add python-requests-file Clément Lassieur
2018-06-13 23:25 ` [bug#31823] [PATCH 2/4] gnu: Add python-tldextract Clément Lassieur
2018-06-13 23:25 ` [bug#31822] [PATCH 3/4] gnu: Add python-pynamecheap Clément Lassieur
2018-06-13 23:25 ` [bug#31821] [PATCH 4/4] gnu: Add python-dns-lexicon Clément Lassieur
2018-06-13 23:30 ` [bug#31820] [PATCH 1/4] gnu: Add python-requests-file Clément Lassieur
2018-06-14  1:36 ` Leo Famulari
2018-06-14  6:24   ` bug#31820: " Clément Lassieur

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).