diff options
| author | Marius Bakke <mbakke@fastmail.com> | 2019-05-14 16:07:20 +0200 |
|---|---|---|
| committer | Marius Bakke <mbakke@fastmail.com> | 2019-05-15 00:22:52 +0200 |
| commit | ba2d913192813a8fe57c69c2df19f9db767e174d (patch) | |
| tree | 89f538fad202f1980150c8b0efcf63502619b86d | |
| parent | 556530c95c7ba676000dac6da5c0943f99887eb4 (diff) | |
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.
| -rw-r--r-- | gnu/packages/web.scm | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 52cc91a168b..d9e4cb0ded6 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).") | |||
| 5214 | inspired by Ruby's @code{fakeweb}.") | 5214 | inspired by Ruby's @code{fakeweb}.") |
| 5215 | (license license:expat))) | 5215 | (license license:expat))) |
| 5216 | 5216 | ||
| 5217 | (define-public python2-httpretty | ||
| 5218 | (package | ||
| 5219 | (name "python2-httpretty") | ||
| 5220 | (version "0.8.14") | ||
| 5221 | (source | ||
| 5222 | (origin | ||
| 5223 | (method url-fetch) | ||
| 5224 | (uri (pypi-uri "httpretty" version)) | ||
| 5225 | (sha256 | ||
| 5226 | (base32 | ||
| 5227 | "0vlp5qkyw3pxwwsg7xmdcfh1csvypvaz4m6abida8s4xmjxpdhc3")))) | ||
| 5228 | (build-system python-build-system) | ||
| 5229 | (native-inputs | ||
| 5230 | `(("python-sphinx-rtd-theme" ,python2-sphinx-rtd-theme) | ||
| 5231 | ("python-sphinx" ,python2-sphinx) | ||
| 5232 | ("python-coverage" ,python2-coverage) | ||
| 5233 | ("python-tornado" ,python2-tornado) | ||
| 5234 | ("python-urllib3" ,python2-urllib3) | ||
| 5235 | ("python-sure" ,python2-sure) | ||
| 5236 | ("python-steadymark" ,python2-steadymark) | ||
| 5237 | ("python-requests" ,python2-requests) | ||
| 5238 | ("python-rednose" ,python2-rednose) | ||
| 5239 | ("python-nose-randomly" ,python2-nose-randomly) | ||
| 5240 | ("python-misaka" ,python2-misaka) | ||
| 5241 | ("python-pytest-httpbin" ,python2-pytest-httpbin) | ||
| 5242 | ("python-nose" ,python2-nose))) | ||
| 5243 | (arguments | ||
| 5244 | `(#:tests? #f | ||
| 5245 | ;; Requires mock>=1.3.0 which requires a more up-to-date | ||
| 5246 | ;; python-pbr. After updating these trying to build the | ||
| 5247 | ;; package leads to failures in python-flake8 and other | ||
| 5248 | ;; packages. The cascade of updates and failures this | ||
| 5249 | ;; leads to, seems to not be worth having the test run. | ||
| 5250 | #:python ,python-2 | ||
| 5251 | #:phases | ||
| 5252 | (modify-phases %standard-phases | ||
| 5253 | (add-before 'build 'patch-test-requirements | ||
| 5254 | (lambda* (#:key inputs #:allow-other-keys) | ||
| 5255 | ;; Update requirements from dependecy==version | ||
| 5256 | ;; to dependency>=version | ||
| 5257 | (substitute* "development.txt" | ||
| 5258 | (("==") ">=")) | ||
| 5259 | #t))))) | ||
| 5260 | (home-page "http://github.com/gabrielfalcao/httpretty") | ||
| 5261 | (synopsis "HTTP client mock for Python") | ||
| 5262 | (description "@code{httpretty} is a helper for faking web requests, | ||
| 5263 | inspired by Ruby's @code{fakeweb}.") | ||
| 5264 | (license license:expat))) | ||
| 5265 | |||
| 5266 | (define-public jo | 5217 | (define-public jo |
| 5267 | (package | 5218 | (package |
| 5268 | (name "jo") | 5219 | (name "jo") |
