gnu: python-djangorestframework: Rename to python-django-rest-framework.
* gnu/packages/django.scm (python-djangorestframework): Define as deprecated alias for ... (python-django-rest-framework): ... this new variable. (python-django-filter)[native-inputs]: Adjust accordingly. * gnu/packages/mail.scm (python-hyperkitty)[propagated-inputs]: Likewise. * gnu/packages/patchutils.scm (patchwork)[propagated-inputs]: Likewise.
This commit is contained in:
parent
7d2550c3ff
commit
3399c29b8f
|
@ -31,6 +31,7 @@ (define-module (gnu packages django)
|
|||
#:use-module (guix download)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module (guix build-system python)
|
||||
#:use-module (guix deprecation)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages base)
|
||||
#:use-module (gnu packages compression)
|
||||
|
@ -457,7 +458,7 @@ (define-public python-django-filter
|
|||
(lambda _
|
||||
(invoke "python" "runtests.py"))))))
|
||||
(native-inputs
|
||||
(list python-django python-djangorestframework
|
||||
(list python-django python-django-rest-framework
|
||||
python-django-crispy-forms python-mock))
|
||||
(home-page "https://django-filter.readthedocs.io/en/latest/")
|
||||
(synopsis "Reusable Django application to filter querysets dynamically")
|
||||
|
@ -1011,9 +1012,9 @@ (define-public python-django-tagging
|
|||
@code{Model} instance and makes retrieval of tags simple.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public python-djangorestframework
|
||||
(define-public python-django-rest-framework
|
||||
(package
|
||||
(name "python-djangorestframework")
|
||||
(name "python-django-rest-framework")
|
||||
(version "3.13.1")
|
||||
(source
|
||||
(origin
|
||||
|
@ -1047,6 +1048,9 @@ (define-public python-djangorestframework
|
|||
provides features like a Web-browsable API and authentication policies.")
|
||||
(license license:bsd-2)))
|
||||
|
||||
(define-public python-djangorestframework
|
||||
(deprecated-package "python-djangorestframework" python-django-rest-framework))
|
||||
|
||||
(define-public python-django-sekizai
|
||||
(package
|
||||
(name "python-django-sekizai")
|
||||
|
|
|
@ -3477,7 +3477,7 @@ (define-public python-hyperkitty
|
|||
python-django-haystack
|
||||
python-django-mailman3
|
||||
python-django-q
|
||||
python-djangorestframework
|
||||
python-django-rest-framework
|
||||
python-flufl-lock
|
||||
python-mailmanclient
|
||||
python-mistune-next
|
||||
|
|
|
@ -460,7 +460,7 @@ (define pythonpath
|
|||
python-psycopg2
|
||||
python-mysqlclient
|
||||
python-django-filter
|
||||
python-djangorestframework
|
||||
python-django-rest-framework
|
||||
python-django-debug-toolbar))
|
||||
(synopsis "Web based patch tracking system")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue