[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/08: gnu: python-djangorestframework: Rename to python-django-rest-fra
From: |
guix-commits |
Subject: |
08/08: gnu: python-djangorestframework: Rename to python-django-rest-framework. |
Date: |
Fri, 17 Dec 2021 13:08:57 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 3399c29b8fe936f756752c3a206a10845288250e
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri Dec 17 17:05:58 2021 +0100
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.
---
gnu/packages/django.scm | 10 +++++++---
gnu/packages/mail.scm | 2 +-
gnu/packages/patchutils.scm | 2 +-
3 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 2c9fdab..38af702 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -31,6 +31,7 @@
#: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 @@ your code.")
(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 @@ Django projects, which allows association of a number of
tags with any
@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 @@ Django projects, which allows association of a number of
tags with any
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")
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 5a1f535..d6f2796 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -3477,7 +3477,7 @@ which sends emails to HyperKitty, the official Mailman3
web archiver.")
python-django-haystack
python-django-mailman3
python-django-q
- python-djangorestframework
+ python-django-rest-framework
python-flufl-lock
python-mailmanclient
python-mistune-next
diff --git a/gnu/packages/patchutils.scm b/gnu/packages/patchutils.scm
index 0dd7e04..9ac10dc 100644
--- a/gnu/packages/patchutils.scm
+++ b/gnu/packages/patchutils.scm
@@ -460,7 +460,7 @@ if __name__ == \"__main__\":
python-psycopg2
python-mysqlclient
python-django-filter
- python-djangorestframework
+ python-django-rest-framework
python-django-debug-toolbar))
(synopsis "Web based patch tracking system")
(description
- branch master updated (d080368 -> 3399c29), guix-commits, 2021/12/17
- 01/08: gnu: grfcodec: Fix build with GCC 10., guix-commits, 2021/12/17
- 03/08: gnu: python-graph-tool: Build with Cairomm 1.14., guix-commits, 2021/12/17
- 02/08: gnu: Remove unneeded uses of custom GCC versions., guix-commits, 2021/12/17
- 04/08: gnu: python-graph-tool: Remove input labels., guix-commits, 2021/12/17
- 05/08: gnu: libime: Update to 1.0.10., guix-commits, 2021/12/17
- 07/08: gnu: python-django-rest-framework: Update to 3.13.1., guix-commits, 2021/12/17
- 06/08: gnu: python-django: Add 4.0., guix-commits, 2021/12/17
- 08/08: gnu: python-djangorestframework: Rename to python-django-rest-framework.,
guix-commits <=