[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/08: gnu: python-httplib2: Update to 0.15.0.
From: |
guix-commits |
Subject: |
02/08: gnu: python-httplib2: Update to 0.15.0. |
Date: |
Mon, 20 Mar 2023 12:34:02 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 0f4800e93a944373726053ba26a2b477d696db24
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 20 11:18:29 2023 +0200
gnu: python-httplib2: Update to 0.15.0.
* gnu/packages/python-web.scm (python-httplib2): Update to 0.15.0.
[source]: Download using git.
[arguments]: Add a phase to adjust the test package version
requirements.
[native-inputs]: Add python-flake8, python-future, python-mock,
python-pytest, python-pytest-cov, python-pytest-forked,
python-pytest-randomly, python-pytest-timeout, python-pytest-xdist,
python-six.
[home-page]: Switch to new upstream homepage.
---
gnu/packages/python-web.scm | 35 +++++++++++++++++++++++++++++------
1 file changed, 29 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 8a73c929a1..c9f6cfd265 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
-;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner
<efraim@flashner.co.il>
+;;; Copyright © 2015-2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Christopher Baines <mail@cbaines.net>
;;; Copyright © 2016, 2017 Danny Milosavljevic <dannym+a@scratchpost.org>
;;; Copyright © 2013, 2014, 2015, 2016, 2020 Andreas Enge <andreas@enge.fr>
@@ -964,16 +964,39 @@ over a different origin than that of the web
application.")
(define-public python-httplib2
(package
(name "python-httplib2")
- (version "0.9.2")
+ (version "0.15.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "httplib2" version))
+ ;; Tests not included in the release tarball.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/httplib2/httplib2")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "126rsryvw9vhbf3qmsfw9lf4l4xm2srmgs439lgma4cpag4s3ay3"))))
+ "11bis23xqbl6aa5m5yswwcf6zn4j24lyi7bfskd31h4zb368ggsj"))))
(build-system python-build-system)
- (home-page "https://github.com/jcgregorio/httplib2")
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'adjust-test-requirements
+ (lambda _
+ (substitute* "requirements-test.txt"
+ (("==") ">=")))))))
+ (native-inputs
+ (list python-flake8
+ python-future
+ python-mock
+ python-pytest
+ python-pytest-cov
+ python-pytest-forked
+ python-pytest-randomly
+ python-pytest-timeout
+ python-pytest-xdist
+ python-six))
+ (home-page "https://github.com/httplib2/httplib2")
(synopsis "Comprehensive HTTP client library")
(description
"A comprehensive HTTP client library supporting many features left out of
- branch master updated (5dcbe80da8 -> f80215c7c4), guix-commits, 2023/03/20
- 02/08: gnu: python-httplib2: Update to 0.15.0.,
guix-commits <=
- 01/08: gnu: zig: Increase max-silent-time., guix-commits, 2023/03/20
- 05/08: gnu: Add python-google-auth-1., guix-commits, 2023/03/20
- 04/08: gnu: Add python-google-auth-httplib2., guix-commits, 2023/03/20
- 06/08: gnu: Add python-google-api-core-1., guix-commits, 2023/03/20
- 08/08: gnu: python-google-api-client: Update to 1.12.8., guix-commits, 2023/03/20
- 03/08: gnu: Add python-uritemplate-3., guix-commits, 2023/03/20
- 07/08: gnu: python-googleapis-common-protos: Update to 1.56.4., guix-commits, 2023/03/20