From 404447b74282524947e8415251f0274c52074ba3 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sat, 22 Jan 2022 00:09:06 +0100 Subject: 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. --- gnu/packages/python-web.scm | 36 +++--------------------------------- 1 file changed, 3 insertions(+), 33 deletions(-) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 0954a72310..232d6f0137 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -3466,39 +3466,6 @@ applications.") "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 @@ decorators and tools to describe your API and expose its documentation properly 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") -- cgit v1.2.3