[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
41/57: gnu: Deprecate python-django-jsonfield.
From: |
guix-commits |
Subject: |
41/57: gnu: Deprecate python-django-jsonfield. |
Date: |
Tue, 22 Sep 2020 12:43:41 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 6673d1b58b8f46c1236a3484f44d7afd82e37a0f
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri Sep 11 17:59:16 2020 +0200
gnu: Deprecate python-django-jsonfield.
* gnu/packages/django.scm (python-django-jsonfield): Rewrite in terms of
DEPRECATED-PACKAGE with PYTHON-DJANGO as the replacement.
---
gnu/packages/django.scm | 28 ++--------------------------
1 file changed, 2 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 7f7b96b..943958f 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -592,33 +592,9 @@ provides certain advantages over the builtin Jinja2
backend in Django, for
example, explicit calls to callables from templates and better performance.")
(license license:bsd-3)))
+;; JSONField is now built-in to Django, obsoleting this package.
(define-public python-django-jsonfield
- (package
- (name "python-django-jsonfield")
- (version "1.0.3")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "jsonfield" version))
- (sha256
- (base32
- "19x4lak0hg9c20r7mvf27w7i8r6i4sg2g0ypmlmp2665fnk76zvy"))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-before 'check 'fix-tests
- (lambda _
- (substitute* "jsonfield/tests.py"
- (("django.forms.util") "django.forms.utils")))))))
- (propagated-inputs
- `(("python-django" ,python-django)))
- (home-page "https://github.com/bradjasper/django-jsonfield")
- (synopsis "Store validated JSON in your model")
- (description
- "Django-jsonfield is a reusable Django field that allows you to store
-validated JSON in your model. It silently takes care of serialization. To
-use, simply add the field to one of your models.")
- (license license:expat)))
+ (deprecated-package "python-django-jsonfield" python-django))
(define-public python-dj-database-url
(package
- 32/57: gnu: Add python-rq-scheduler., (continued)
- 32/57: gnu: Add python-rq-scheduler., guix-commits, 2020/09/22
- 37/57: gnu: python-django-statici18n: Update to 1.9.0., guix-commits, 2020/09/22
- 45/57: gnu: Add python-django-netfields., guix-commits, 2020/09/22
- 57/57: gnu: python-hyperkitty: Enable previously failing test., guix-commits, 2020/09/22
- 21/57: gnu: python-webassets: Update to 2.0., guix-commits, 2020/09/22
- 30/57: gnu: python-rq: Update to 1.5.1., guix-commits, 2020/09/22
- 39/57: gnu: python-django-override-storage: Update to 0.3.0., guix-commits, 2020/09/22
- 35/57: gnu: python-django-sortedm2m: Update to 3.0.2., guix-commits, 2020/09/22
- 36/57: gnu: python-django-appconf: Update to 1.0.4., guix-commits, 2020/09/22
- 38/57: gnu: python-django-sekizai: Update to 2.0.0., guix-commits, 2020/09/22
- 41/57: gnu: Deprecate python-django-jsonfield.,
guix-commits <=
- 50/57: gnu: Remove python-django-overextends., guix-commits, 2020/09/22
- 49/57: gnu: Add python-django-url-filter., guix-commits, 2020/09/22
- 53/57: gnu: Remove python2-mysqlclient., guix-commits, 2020/09/22
- 56/57: gnu: patchwork: Update to 2.2.2., guix-commits, 2020/09/22
- 10/57: gnu: python-django-extensions: Update to 3.0.6., guix-commits, 2020/09/22
- 12/57: gnu: python-django-crispy-forms: Update to 1.9.2., guix-commits, 2020/09/22
- 13/57: gnu: python-djangorestframework: Update to 3.11.1., guix-commits, 2020/09/22
- 17/57: gnu: python-django-pipeline: Update to 2.0.5., guix-commits, 2020/09/22
- 19/57: gnu: python-django-debug-toolbar: Update to 2.2., guix-commits, 2020/09/22
- 20/57: gnu: python-django-gravatar2: Update to 1.4.4., guix-commits, 2020/09/22