From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YMdWBGbcXF/SXgAA0tVLHw (envelope-from ) for ; Sat, 12 Sep 2020 14:34:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mFBBOmXcXF+LFQAAbx9fmQ (envelope-from ) for ; Sat, 12 Sep 2020 14:34:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B5EE2940291 for ; Sat, 12 Sep 2020 14:34:13 +0000 (UTC) Received: from localhost ([::1]:32904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kH6bU-0000w1-NM for larch@yhetil.org; Sat, 12 Sep 2020 10:34:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kH6bL-0000tO-HX for guix-patches@gnu.org; Sat, 12 Sep 2020 10:34:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37246) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kH6bL-00069L-8J for guix-patches@gnu.org; Sat, 12 Sep 2020 10:34:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kH6bL-0004DJ-6C for guix-patches@gnu.org; Sat, 12 Sep 2020 10:34:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43354] [PATCH 49/55] gnu: Deprecate python-django-jsonfield. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 12 Sep 2020 14:34:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43354 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43354@debbugs.gnu.org Received: via spool by 43354-submit@debbugs.gnu.org id=B43354.159992120516040 (code B ref 43354); Sat, 12 Sep 2020 14:34:03 +0000 Received: (at 43354) by debbugs.gnu.org; 12 Sep 2020 14:33:25 +0000 Received: from localhost ([127.0.0.1]:48768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kH6ai-0004Ae-OG for submit@debbugs.gnu.org; Sat, 12 Sep 2020 10:33:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kH6ah-0004AM-Rd for 43354@debbugs.gnu.org; Sat, 12 Sep 2020 10:33:24 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36459) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kH6ac-0005wH-Ix for 43354@debbugs.gnu.org; Sat, 12 Sep 2020 10:33:18 -0400 Received: from ti0006q161-3115.bb.online.no ([88.95.106.80]:53754 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kH6aY-0008Fl-KZ for 43354@debbugs.gnu.org; Sat, 12 Sep 2020 10:33:15 -0400 From: Marius Bakke Date: Sat, 12 Sep 2020 16:29:05 +0200 Message-Id: <20200912142911.6231-49-marius@gnu.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200912142911.6231-1-marius@gnu.org> References: <20200912142911.6231-1-marius@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 3.99 X-TUID: Xp20Tlqir5kW * 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