mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-09 12:49:45 -05:00
gnu: Deprecate python-flask-restplus.
* gnu/packages/python-web.scm (python-flask-restplus): Define as deprecated alias for PYTHON-FLASK-RESTX, as noted on its home page.
This commit is contained in:
parent
b08151049d
commit
404447b742
1 changed files with 3 additions and 33 deletions
|
@ -3466,39 +3466,6 @@ (define-public python-flask-sqlalchemy
|
|||
"This package adds SQLAlchemy support to your Flask application.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public python-flask-restplus
|
||||
(package
|
||||
(name "python-flask-restplus")
|
||||
(version "0.9.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "flask-restplus" version))
|
||||
(sha256
|
||||
(base32
|
||||
"11his6ii5brpkhld0d5bwzjjw4q3vmplpd6fmgzjrvvklsbk0cf4"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f)) ; FIXME: 35/882 tests failing.
|
||||
;; #:phases
|
||||
;; (modify-phases %standard-phases
|
||||
;; (replace 'check
|
||||
;; (lambda _
|
||||
;; (invoke "nosetests")
|
||||
;; #t)))))
|
||||
(propagated-inputs
|
||||
(list python-aniso8601 python-flask python-jsonschema python-pytz
|
||||
python-six))
|
||||
(native-inputs
|
||||
(list python-tzlocal python-blinker python-nose python-rednose))
|
||||
(home-page "https://github.com/noirbizarre/flask-restplus")
|
||||
(synopsis "Framework for documented API development with Flask")
|
||||
(description "This package provides a framework for API development with
|
||||
the Flask web framework in Python. It is similar to package
|
||||
@code{python-flask-restful} but supports the @code{python-swagger}
|
||||
documentation builder.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-flask-restful-swagger
|
||||
(package
|
||||
(name "python-flask-restful-swagger")
|
||||
|
@ -5638,6 +5605,9 @@ (define-public python-flask-restx
|
|||
Swagger.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public python-flask-restplus
|
||||
(deprecated-package "python-flask-restplus" python-flask-restx))
|
||||
|
||||
(define-public python-flask-socketio
|
||||
(package
|
||||
(name "python-flask-socketio")
|
||||
|
|
Loading…
Reference in a new issue