gnu: python-paste: Update to 2.0.3.

* gnu/packages/python.scm (python-paste): Update to 2.0.3.
[arguments]: Re-enable tests.  They now pass even on Python 3.
[properties]: Remove.
(python2-paste): Use package-with-python2 directly now.
This commit is contained in:
Tobias Geerinckx-Rice 2017-01-24 14:34:49 +01:00
parent 46e110cca5
commit ba1731dac5
No known key found for this signature in database
GPG key ID: 91CCDB9B48541B99

View file

@ -9026,14 +9026,14 @@ (define-public python2-pastedeploy
(define-public python-paste (define-public python-paste
(package (package
(name "python-paste") (name "python-paste")
(version "2.0.2") (version "2.0.3")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "Paste" version)) (uri (pypi-uri "Paste" version))
(sha256 (sha256
(base32 (base32
"16dsv9qi0r4qsrsb6dilpq2rx0fnglvh36flzywcdnm2jg43mb5d")) "062jk0nlxf6lb2wwj6zc20rlvrwsnikpkh90y0dn8cjch93s6ii3"))
(patches (search-patches "python-paste-remove-website-test.patch" (patches (search-patches "python-paste-remove-website-test.patch"
"python-paste-remove-timing-test.patch")))) "python-paste-remove-timing-test.patch"))))
(build-system python-build-system) (build-system python-build-system)
@ -9041,12 +9041,6 @@ (define-public python-paste
`(("python-nose" ,python-nose))) `(("python-nose" ,python-nose)))
(propagated-inputs (propagated-inputs
`(("python-six" ,python-six))) `(("python-six" ,python-six)))
(arguments
'(;; Tests don't pass on Python 3, but work fine on Python 2.
;; (As of 2.0.2, Python 3 support in Paste is presently a bit broken,
;; but is usable enough for the minimal amount it's used in MediaGoblin
;; still... things should be better by the next Paste release.)
#:tests? #f))
(home-page "http://pythonpaste.org") (home-page "http://pythonpaste.org")
(synopsis (synopsis
"Python web development tools, focusing on WSGI") "Python web development tools, focusing on WSGI")
@ -9054,18 +9048,10 @@ (define-public python-paste
"Paste provides a variety of web development tools and middleware which "Paste provides a variety of web development tools and middleware which
can be nested together to build web applications. Paste's design closely can be nested together to build web applications. Paste's design closely
follows ideas flowing from WSGI (Web Standard Gateway Interface).") follows ideas flowing from WSGI (Web Standard Gateway Interface).")
(license license:expat) (license license:expat)))
(properties `((python2-variant . ,(delay python2-paste))))))
(define-public python2-paste (define-public python2-paste
(let ((paste (package-with-python2 (package-with-python2 python-paste))
(strip-python2-variant python-paste))))
(package
(inherit paste)
(arguments
;; Tests are back for Python 2!
`(#:tests? #t
,@(package-arguments paste))))))
(define-public python-pastescript (define-public python-pastescript
(package (package