diff options
| author | Marius Bakke <marius@gnu.org> | 2022-01-22 00:09:06 +0100 |
|---|---|---|
| committer | Marius Bakke <marius@gnu.org> | 2022-01-22 10:23:01 +0100 |
| commit | 404447b74282524947e8415251f0274c52074ba3 (patch) | |
| tree | 2de06935da544363a178a35c6b3c69fa92a3d91a /gnu/packages/python-web.scm | |
| parent | b08151049d5a0324adedad03a78825fc400dd627 (diff) | |
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.
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 36 |
1 files changed, 3 insertions, 33 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 0954a72310c..232d6f01378 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm | |||
| @@ -3466,39 +3466,6 @@ applications.") | |||
| 3466 | "This package adds SQLAlchemy support to your Flask application.") | 3466 | "This package adds SQLAlchemy support to your Flask application.") |
| 3467 | (license license:bsd-3))) | 3467 | (license license:bsd-3))) |
| 3468 | 3468 | ||
| 3469 | (define-public python-flask-restplus | ||
| 3470 | (package | ||
| 3471 | (name "python-flask-restplus") | ||
| 3472 | (version "0.9.2") | ||
| 3473 | (source | ||
| 3474 | (origin | ||
| 3475 | (method url-fetch) | ||
| 3476 | (uri (pypi-uri "flask-restplus" version)) | ||
| 3477 | (sha256 | ||
| 3478 | (base32 | ||
| 3479 | "11his6ii5brpkhld0d5bwzjjw4q3vmplpd6fmgzjrvvklsbk0cf4")))) | ||
| 3480 | (build-system python-build-system) | ||
| 3481 | (arguments | ||
| 3482 | '(#:tests? #f)) ; FIXME: 35/882 tests failing. | ||
| 3483 | ;; #:phases | ||
| 3484 | ;; (modify-phases %standard-phases | ||
| 3485 | ;; (replace 'check | ||
| 3486 | ;; (lambda _ | ||
| 3487 | ;; (invoke "nosetests") | ||
| 3488 | ;; #t))))) | ||
| 3489 | (propagated-inputs | ||
| 3490 | (list python-aniso8601 python-flask python-jsonschema python-pytz | ||
| 3491 | python-six)) | ||
| 3492 | (native-inputs | ||
| 3493 | (list python-tzlocal python-blinker python-nose python-rednose)) | ||
| 3494 | (home-page "https://github.com/noirbizarre/flask-restplus") | ||
| 3495 | (synopsis "Framework for documented API development with Flask") | ||
| 3496 | (description "This package provides a framework for API development with | ||
| 3497 | the Flask web framework in Python. It is similar to package | ||
| 3498 | @code{python-flask-restful} but supports the @code{python-swagger} | ||
| 3499 | documentation builder.") | ||
| 3500 | (license license:expat))) | ||
| 3501 | |||
| 3502 | (define-public python-flask-restful-swagger | 3469 | (define-public python-flask-restful-swagger |
| 3503 | (package | 3470 | (package |
| 3504 | (name "python-flask-restful-swagger") | 3471 | (name "python-flask-restful-swagger") |
| @@ -5638,6 +5605,9 @@ decorators and tools to describe your API and expose its documentation properly | |||
| 5638 | Swagger.") | 5605 | Swagger.") |
| 5639 | (license license:bsd-3))) | 5606 | (license license:bsd-3))) |
| 5640 | 5607 | ||
| 5608 | (define-public python-flask-restplus | ||
| 5609 | (deprecated-package "python-flask-restplus" python-flask-restx)) | ||
| 5610 | |||
| 5641 | (define-public python-flask-socketio | 5611 | (define-public python-flask-socketio |
| 5642 | (package | 5612 | (package |
| 5643 | (name "python-flask-socketio") | 5613 | (name "python-flask-socketio") |
