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:
Marius Bakke 2022-01-22 00:09:06 +01:00
parent b08151049d
commit 404447b742
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -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")