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

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).