[PATCH] gnu: Add python-django-3.1.14

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Pradana Adrinusa AUMARS
Owner
unassigned
Submitted by
Pradana Adrinusa AUMARS
Severity
normal

Debbugs page

P
P
Pradana Adrinusa AUMARS wrote on 27 Feb 2022 08:29
(address . guix-patches@gnu.org)
4c27a4d90d571e4893ff378ae6dc7b0bbc308cb7.camel@courrier.dev
From f7d588b61dd5a00a9a199121f24ede058423d518 Mon Sep 17 00:00:00 2001
From: Pradana AUMARS <paumars@courrier.dev>
Date: Sun, 27 Feb 2022 17:25:16 +0100
Subject: [PATCH] gnu: Add python-django-3.1.14

* gnu/packages/django.scm (python-django-3.1.14): New variable.
---
gnu/packages/django.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 1161d3bc18..a34c8d0e7b 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2020, 2021, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Luis Felipe López Acevedo
<luis.felipe.la@protonmail.com>
+;;; Copyright © 2022 Pradana Aumars <paumars@courrier.dev>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -153,6 +154,22 @@ (define-public python-django-3.2
;; Django 4.0 deprecated pytz in favor of Pythons built-in
zoneinfo.
(append python-pytz)))))
+;; archivebox requires django>=3.1.3,<3.2
+(define-public python-django-3.1.14
+ (package
+ (inherit python-django-3.2)
+ (version "3.1.14")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "Django" version))
+ (sha256
+ (base32
+
"0ix3v2wlnplv78zxjrlw8z3hiap2d5mxvk0ny2fc65526shsb93j"))))
+ (propagated-inputs
+ (modify-inputs (package-propagated-inputs python-django-3.2)
+ ;; Django 4.0 deprecated pytz in favor of Pythons
built-in zoneinfo.
+ (append python-pytz)))))
+
(define-public python-django-2.2
(package
(inherit python-django-3.2)
--
2.34.0
L
L
Ludovic Courtès wrote on 16 Mar 2022 07:28
(name . Pradana Adrinusa AUMARS)(address . paumars@courrier.dev)(address . 54187@debbugs.gnu.org)
877d8udl99.fsf@gnu.org
Pradana Adrinusa AUMARS <paumars@courrier.dev> skribis:

Toggle quote (7 lines)
>>From f7d588b61dd5a00a9a199121f24ede058423d518 Mon Sep 17 00:00:00 2001
> From: Pradana AUMARS <paumars@courrier.dev>
> Date: Sun, 27 Feb 2022 17:25:16 +0100
> Subject: [PATCH] gnu: Add python-django-3.1.14
>
> * gnu/packages/django.scm (python-django-3.1.14): New variable.

[...]

Toggle quote (3 lines)
> +;; archivebox requires django>=3.1.3,<3.2
> +(define-public python-django-3.1.14

Since archivebox is not packaged in Guix, I’d lean towards not including
this patch… unless you also plan to submit a patch adding archivebox.

Is that what you had in mind?

Thanks,
Ludo’.
L
L
Ludovic Courtès wrote on 18 Mar 2022 06:59
control message for bug #54187
(address . control@debbugs.gnu.org)
87czijqs3t.fsf@gnu.org
tags 54187 + moreinfo
quit
L
L
Ludovic Courtès wrote on 23 May 2022 07:03
Re: bug#54187: [PATCH] gnu: Add python-django-3.1.14
(name . Pradana Adrinusa AUMARS)(address . paumars@courrier.dev)(address . 54187-done@debbugs.gnu.org)
87ee0k5osv.fsf@gnu.org
Hi,

Pradana Adrinusa AUMARS <paumars@courrier.dev> skribis:

Toggle quote (7 lines)
>>From f7d588b61dd5a00a9a199121f24ede058423d518 Mon Sep 17 00:00:00 2001
> From: Pradana AUMARS <paumars@courrier.dev>
> Date: Sun, 27 Feb 2022 17:25:16 +0100
> Subject: [PATCH] gnu: Add python-django-3.1.14
>
> * gnu/packages/django.scm (python-django-3.1.14): New variable.

Finally applied, thanks!

Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 54187@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 54187
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch