unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: guix-devel@gnu.org
Subject: Re: [PATCH 03/10] gnu: python-requests: Update to 2.8.1.
Date: Mon, 7 Dec 2015 21:26:44 +0200	[thread overview]
Message-ID: <20151207212644.48c4a5e9@debian-netbook> (raw)
In-Reply-To: <1449153811-32039-4-git-send-email-efraim@flashner.co.il>


[-- Attachment #1.1: Type: text/plain, Size: 2151 bytes --]

On Thu,  3 Dec 2015 16:43:24 +0200
Efraim Flashner <efraim@flashner.co.il> wrote:

> * gnu/packages/python.scm (python-requests): Update to 2.8.1.
> [native-inputs]: Move python-setuptools here.
> [inputs]: Add python-py, python-pytest, python-pytest-cov, python-wheel.
> [arguments]: Enable tests.
> ---
>  gnu/packages/python.scm | 19 ++++++++++---------
>  1 file changed, 10 insertions(+), 9 deletions(-)
> 
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index b110921..8084831 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -2192,21 +2192,22 @@ compatible install in a way that is very close to the on-disk format.")
>  (define-public python-requests
>    (package
>      (name "python-requests")
> -    (version "2.8.0")
> +    (version "2.8.1")
>      (source (origin
>               (method url-fetch)
> -             (uri
> -              (string-append
> -               "https://pypi.python.org/packages/source/r/requests/requests-"
> -               version ".tar.gz"))
> +             (uri (pypi-uri "requests" version))
>               (sha256
>                (base32
> -               "0yrvj8hfnabrdxds59w6d6887sn5j0jlgpmcq04lk4k0kdc07w5j"))))
> +               "0ny2nr1sqr4hcn3903ghmh7w2yni8shlfv240a8c9p6wyidqvzl4"))))
>      (build-system python-build-system)
> +    (native-inputs
> +     `(("python-setuptools" ,python-setuptools)))
>      (inputs
> -     `(("python-setuptools" ,python-setuptools)
> -       ("python-certifi" ,python-certifi)))
> -    (arguments `(#:tests? #f)) ; no tests
> +     `(("python-certifi" ,python-certifi)
> +       ("python-py" ,python-py)
> +       ("python-pytest" ,python-pytest)
> +       ("python-pytest-cov" ,python-pytest-cov)
> +       ("python-wheel" ,python-wheel)))
>      (home-page "http://python-requests.org/")
>      (synopsis "Python HTTP library")
>      (description



-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0003-gnu-python-requests-Update-to-2.8.1.patch --]
[-- Type: text/x-patch, Size: 2026 bytes --]

From be148f5b00d667ceeade4c71d67534116152750b Mon Sep 17 00:00:00 2001
From: Efraim Flashner <efraim@flashner.co.il>
Date: Mon, 23 Nov 2015 17:58:07 +0200
Subject: [PATCH 03/10] gnu: python-requests: Update to 2.8.1.

* gnu/packages/python.scm (python-requests): Update to 2.8.1.
[native-inputs]: Move python-setuptools here.
[inputs]: Remove python-certifi.
[propagated-inputs]: Add python-py, python-pytest, python-pytest-cov,
python-wheel.
[arguments]: Enable tests.
---
 gnu/packages/python.scm | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 442270c..0f3e3e7 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2195,21 +2195,21 @@ compatible install in a way that is very close to the on-disk format.")
 (define-public python-requests
   (package
     (name "python-requests")
-    (version "2.8.0")
+    (version "2.8.1")
     (source (origin
              (method url-fetch)
-             (uri
-              (string-append
-               "https://pypi.python.org/packages/source/r/requests/requests-"
-               version ".tar.gz"))
+             (uri (pypi-uri "requests" version))
              (sha256
               (base32
-               "0yrvj8hfnabrdxds59w6d6887sn5j0jlgpmcq04lk4k0kdc07w5j"))))
+               "0ny2nr1sqr4hcn3903ghmh7w2yni8shlfv240a8c9p6wyidqvzl4"))))
     (build-system python-build-system)
-    (inputs
-     `(("python-setuptools" ,python-setuptools)
-       ("python-certifi" ,python-certifi)))
-    (arguments `(#:tests? #f)) ; no tests
+    (native-inputs
+     `(("python-setuptools" ,python-setuptools)))
+    (propagated-inputs
+     `(("python-py" ,python-py)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-wheel" ,python-wheel)))
     (home-page "http://python-requests.org/")
     (synopsis "Python HTTP library")
     (description
-- 
2.6.2


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2015-12-07 19:30 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-03 14:43 [PATCH 00/10] git-annex special-remote hubiC support Efraim Flashner
2015-12-03 14:43 ` [PATCH 01/10] gnu: Add python-pytest-cov Efraim Flashner
2015-12-03 22:25   ` Ricardo Wurmus
2015-12-07 19:25     ` Efraim Flashner
2015-12-11 14:03       ` Ricardo Wurmus
2015-12-17 19:02         ` Efraim Flashner
2015-12-20 13:43           ` Ricardo Wurmus
2015-12-27 10:14             ` Efraim Flashner
2015-12-30 14:10               ` Ricardo Wurmus
2015-12-30 20:36                 ` Efraim Flashner
2015-12-30 20:45                   ` Ricardo Wurmus
2015-12-31 11:28                     ` Mathieu Lirzin
2015-12-31 11:32                       ` Ricardo Wurmus
2016-01-04 15:56               ` Ludovic Courtès
2015-12-03 14:43 ` [PATCH 02/10] gnu: Add python-wheel Efraim Flashner
2015-12-07 19:26   ` Efraim Flashner
2015-12-11 14:07     ` Ricardo Wurmus
2015-12-27 10:13       ` Efraim Flashner
2016-01-04 16:01         ` Ludovic Courtès
2015-12-03 14:43 ` [PATCH 03/10] gnu: python-requests: Update to 2.8.1 Efraim Flashner
2015-12-07 19:26   ` Efraim Flashner [this message]
2015-12-11 14:08     ` Ricardo Wurmus
2015-12-03 14:43 ` [PATCH 04/10] gnu: Add python-keystoneclient Efraim Flashner
2015-12-07 19:26   ` Efraim Flashner
2015-12-11 14:15     ` Ricardo Wurmus
2015-12-27 10:13       ` Efraim Flashner
2016-01-04 16:00         ` Ludovic Courtès
2016-01-04 16:33         ` Ricardo Wurmus
2015-12-03 14:43 ` [PATCH 05/10] gnu: Add python2-futures Efraim Flashner
2015-12-07 19:27   ` Efraim Flashner
2015-12-11 14:17     ` Ricardo Wurmus
2015-12-27 10:15       ` Efraim Flashner
2016-01-04 15:57         ` Ludovic Courtès
2015-12-03 14:43 ` [PATCH 06/10] gnu: Add python-swiftclient Efraim Flashner
2015-12-07 19:27   ` Efraim Flashner
2015-12-11 14:22     ` Ricardo Wurmus
2015-12-27 10:14       ` Efraim Flashner
2016-01-04 16:03         ` Ludovic Courtès
2015-12-03 14:43 ` [PATCH 07/10] gnu: Add python-rauth Efraim Flashner
2015-12-03 19:26   ` Efraim Flashner
2015-12-04  9:53   ` Ricardo Wurmus
2015-12-07 19:27     ` Efraim Flashner
2015-12-11 14:23       ` Ricardo Wurmus
2015-12-27 10:15         ` Efraim Flashner
2016-01-04 16:04           ` Ludovic Courtès
2015-12-03 14:43 ` [PATCH 08/10] gnu: Add python-pyasn1-modules Efraim Flashner
2015-12-07 19:28   ` Efraim Flashner
2015-12-11 14:29     ` Ricardo Wurmus
2015-12-27 10:13       ` Efraim Flashner
2016-01-04 16:04         ` Ludovic Courtès
2015-12-03 14:43 ` [PATCH 09/10] gnu: Add python2-functools32 Efraim Flashner
2015-12-04 10:00   ` Ricardo Wurmus
2015-12-07 19:28     ` Efraim Flashner
2015-12-11 14:30       ` Ricardo Wurmus
2015-12-27 10:12         ` Efraim Flashner
2015-12-30 14:11           ` Ricardo Wurmus
2016-01-04 16:05             ` Ludovic Courtès
2015-12-03 14:43 ` [PATCH 10/10] gnu: Add git-annex-remote-hubic Efraim Flashner
2015-12-04  9:57   ` Ricardo Wurmus
2015-12-07 19:30     ` Efraim Flashner

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=20151207212644.48c4a5e9@debian-netbook \
    --to=efraim@flashner.co.il \
    --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).