unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Thompson <dthompson2@worcester.edu>
To: guix-devel@gnu.org
Subject: [PATCH 04/31] gnu: Add python2-requests.
Date: Fri,  5 Sep 2014 11:18:10 -0400	[thread overview]
Message-ID: <1409930317-13220-4-git-send-email-dthompson2@worcester.edu> (raw)
In-Reply-To: <1409930317-13220-1-git-send-email-dthompson2@worcester.edu>

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index f591605..35fcc2a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1048,3 +1048,29 @@ is useful for verifying HTTP requests.")
 
 (define-public python2-certifi
   (package-with-python2 python-certifi))
+
+(define-public python2-requests
+  (package
+    (name "python2-requests")
+    (version "2.4.0")
+    (source (origin
+             (method url-fetch)
+             (uri
+              (string-append
+               "https://pypi.python.org/packages/source/r/requests/requests-"
+               version ".tar.gz"))
+             (sha256
+              (base32
+               "0gknlfx1wakrrm1zi8gi03x2lzj4dsns0vjw0nsmgqvkphyf01vh"))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-setuptools" ,python-setuptools)
+       ("python-certifi" ,python-certifi)))
+    (arguments `(#:tests? #f ; no tests
+                 #:python ,python-2))
+    (home-page "http://python-requests.org/")
+    (synopsis "Python HTTP library")
+    (description
+     "Requests is an Apache2 Licensed HTTP library, written in Python, for
+human beings.")
+    (license asl2.0)))
-- 
2.0.1

  parent reply	other threads:[~2014-09-05 15:19 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-05 15:18 [PATCH 01/31] gnu: Add python-exif-read David Thompson
2014-09-05 15:18 ` [PATCH 02/31] gnu: Add python-pyld David Thompson
2014-09-05 19:52   ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 03/31] gnu: Add python-certifi David Thompson
2014-09-05 19:57   ` Ludovic Courtès
2014-09-05 20:00     ` David Thompson
2014-09-05 15:18 ` David Thompson [this message]
2014-09-05 19:59   ` [PATCH 04/31] gnu: Add python2-requests Ludovic Courtès
2014-09-05 15:18 ` [PATCH 05/31] gnu: Add python-jsonschema David Thompson
2014-09-05 19:53   ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 06/31] gnu: Add python-unidecode David Thompson
2014-09-05 20:11   ` Ludovic Courtès
2014-09-05 22:25     ` David Thompson
2014-09-05 15:18 ` [PATCH 07/31] gnu: Add python-mimeparse David Thompson
2014-09-05 20:08   ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 08/31] gnu: Add python-extras David Thompson
2014-09-05 20:08   ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 09/31] gnu: Add python-nose David Thompson
2014-09-05 20:00   ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 10/31] gnu: Add python-unittest2 David Thompson
2014-09-05 20:00   ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 11/31] gnu: Add python-py David Thompson
2014-09-05 20:02   ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 12/31] gnu: Add python-pytest David Thompson
2014-09-05 20:04   ` Ludovic Courtès
2014-09-05 20:05   ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 13/31] gnu: Add python-scripttest David Thompson
2014-09-05 20:08   ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 14/31] gnu: Add python-testtools David Thompson
2014-09-05 20:03   ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 15/31] gnu: Add python-testscenarios David Thompson
2014-09-05 20:12   ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 16/31] gnu: Add python-testresources David Thompson
2014-09-05 20:03   ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 17/31] gnu: Add python-subunit David Thompson
2014-09-05 20:04   ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 18/31] gnu: Add python-fixtures David Thompson
2014-09-05 20:05   ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 19/31] gnu: Add python-testrepository David Thompson
2014-09-05 20:08   ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 20/31] gnu: Add python-discover David Thompson
2014-09-05 20:10   ` Ludovic Courtès
2014-09-06  1:00     ` David Thompson
2014-09-05 15:18 ` [PATCH 21/31] gnu: Add python-pyjwt David Thompson
2014-09-05 20:06   ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 22/31] gnu: Add python-pycrypto David Thompson
2014-09-05 18:55   ` Eric Bavier
2014-09-05 19:08     ` David Thompson
2014-09-05 19:48       ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 23/31] gnu: Add python-oauthlib David Thompson
2014-09-05 20:04   ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 24/31] gnu: Add python-itsdangerous David Thompson
2014-09-05 20:06   ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 25/31] gnu: Add python-virtualenv David Thompson
2014-09-05 20:06   ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 26/31] gnu: Add python-pip David Thompson
2014-09-05 20:07   ` Ludovic Courtès
2014-09-06  3:16     ` David Thompson
2014-09-05 15:18 ` [PATCH 27/31] gnu: Add python-markupsafe David Thompson
2014-09-05 20:12   ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 28/31] gnu: Add python-jinja2 David Thompson
2014-09-05 20:05   ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 29/31] gnu: Add python-docutils David Thompson
2014-09-05 15:18 ` [PATCH 30/31] gnu: Add python-pygments David Thompson
2014-09-05 20:13   ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 31/31] gnu: Add python-sphinx David Thompson
2014-09-05 20:13   ` Ludovic Courtès
2014-09-05 19:52 ` [PATCH 01/31] gnu: Add python-exif-read Ludovic Courtès
2014-09-05 20:10   ` David Thompson
2014-09-05 21:33     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1409930317-13220-4-git-send-email-dthompson2@worcester.edu \
    --to=dthompson2@worcester.edu \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).