summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-05-14 16:07:20 +0200
committerMarius Bakke <mbakke@fastmail.com>2019-05-15 00:22:52 +0200
commitba2d913192813a8fe57c69c2df19f9db767e174d (patch)
tree89f538fad202f1980150c8b0efcf63502619b86d /gnu
parent556530c95c7ba676000dac6da5c0943f99887eb4 (diff)
downloadpatches-ba2d913192813a8fe57c69c2df19f9db767e174d.tar
patches-ba2d913192813a8fe57c69c2df19f9db767e174d.tar.gz
gnu: Remove python2-httpretty.
This package is severely out of date compared to its Python 3 counterpart and difficult to upgrade. Since it has no dependents in Guix and Python 2 is officially deprecated by the end of this year, just remove it. * gnu/packages/web.scm (python2-httpretty): Remove variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/web.scm49
1 files changed, 0 insertions, 49 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 52cc91a168..d9e4cb0ded 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5214,55 +5214,6 @@ message stream (in a web server that is per connection).")
inspired by Ruby's @code{fakeweb}.")
(license license:expat)))
-(define-public python2-httpretty
- (package
- (name "python2-httpretty")
- (version "0.8.14")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "httpretty" version))
- (sha256
- (base32
- "0vlp5qkyw3pxwwsg7xmdcfh1csvypvaz4m6abida8s4xmjxpdhc3"))))
- (build-system python-build-system)
- (native-inputs
- `(("python-sphinx-rtd-theme" ,python2-sphinx-rtd-theme)
- ("python-sphinx" ,python2-sphinx)
- ("python-coverage" ,python2-coverage)
- ("python-tornado" ,python2-tornado)
- ("python-urllib3" ,python2-urllib3)
- ("python-sure" ,python2-sure)
- ("python-steadymark" ,python2-steadymark)
- ("python-requests" ,python2-requests)
- ("python-rednose" ,python2-rednose)
- ("python-nose-randomly" ,python2-nose-randomly)
- ("python-misaka" ,python2-misaka)
- ("python-pytest-httpbin" ,python2-pytest-httpbin)
- ("python-nose" ,python2-nose)))
- (arguments
- `(#:tests? #f
- ;; Requires mock>=1.3.0 which requires a more up-to-date
- ;; python-pbr. After updating these trying to build the
- ;; package leads to failures in python-flake8 and other
- ;; packages. The cascade of updates and failures this
- ;; leads to, seems to not be worth having the test run.
- #:python ,python-2
- #:phases
- (modify-phases %standard-phases
- (add-before 'build 'patch-test-requirements
- (lambda* (#:key inputs #:allow-other-keys)
- ;; Update requirements from dependecy==version
- ;; to dependency>=version
- (substitute* "development.txt"
- (("==") ">="))
- #t)))))
- (home-page "http://github.com/gabrielfalcao/httpretty")
- (synopsis "HTTP client mock for Python")
- (description "@code{httpretty} is a helper for faking web requests,
-inspired by Ruby's @code{fakeweb}.")
- (license license:expat)))
-
(define-public jo
(package
(name "jo")