Paste number 308215: delayed and unbound

Paste number 308215: delayed and unbound
Pasted by: paroneayea
When:6 years, 5 months ago
Share:Tweet this! |
Paste contents:
Raw Source | XML | Display As
(define-public python-paste
    (name "python-paste")
    (version "2.0.2")

       (method url-fetch)
       (uri (pypi-uri "Paste" version))
       (patches (list (search-patch
    (build-system python-build-system)
     `(("python-nose" ,python-nose)))
     `(;; Uses pkg_resources provided by setuptools internally.
       ("python-setuptools" ,python-setuptools)
       ("python-six" ,python-six)))
     '(;; 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 "")
     "Python web development tools, focusing on WSGI")
     "Paste provides a variety of web development tools and middleware which
can be nested together to build web applications.  Paste's design closely
follows ideas flowing from WSGI (Web Standard Gateway Interface).")
    (license license:expat)
    (properties `((python2-variant . ,(delay python2-paste))))))

(define-public python2-paste
    (inherit (strip-python2-variant
              (package-with-python2 python-paste)))
     ;; Tests are back for Python 2!
     `(#:tests? #t
       ,@(package-arguments python-paste)))))

;; error:
;;   ERROR: Unbound variable: python2-paste

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.