[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#43354] [PATCH 49/55] gnu: Deprecate python-django-jsonfield.
From: |
Marius Bakke |
Subject: |
[bug#43354] [PATCH 49/55] gnu: Deprecate python-django-jsonfield. |
Date: |
Sat, 12 Sep 2020 16:29:05 +0200 |
* 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 d23c6fdaa2..c9b25f7465 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -625,33 +625,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
--
2.28.0
- [bug#43354] [PATCH 42/55] gnu: Add python-jsonplus., (continued)
- [bug#43354] [PATCH 42/55] gnu: Add python-jsonplus., Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 44/55] gnu: Add python-django-url-filter., Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 38/55] gnu: Add python-django-auth-ldap., Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 39/55] gnu: Add python-django-logging-json., Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 40/55] gnu: Add python-django-netfields., Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 43/55] gnu: Add python-django-debug-toolbar-alchemy., Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 45/55] gnu: Remove pootle., Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 46/55] gnu: Remove python2-django-mailman3., Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 48/55] gnu: Remove python2 versions of Django packages., Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 47/55] gnu: python2-graphite-web: Update to 1.1.7., Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 49/55] gnu: Deprecate python-django-jsonfield.,
Marius Bakke <=
- [bug#43354] [PATCH 52/55] gnu: python-mysqlclient: Remove unused inputs., Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 53/55] gnu: python-mysqlclient: Update to 2.0.1., Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 54/55] gnu: Remove python2-mysqlclient., Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 50/55] gnu: Remove python-django-overextends., Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 51/55] gnu: Django packages no longer propagates Django., Marius Bakke, 2020/09/12
- [bug#43354] [PATCH 55/55] gnu: patchwork: Update to 2.2.2., Marius Bakke, 2020/09/12
- bug#43354: [PATCH 00/55] Django upgrade, Marius Bakke, 2020/09/22