GNU bug report logs - #35455
[PATCH] gnu: Add python-django-extensions.

Previous Next

Package: guix-patches;

Reported by: Sam <smbaines8 <at> gmail.com>

Date: Sat, 27 Apr 2019 16:38:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35455 in the body.
You can then email your comments to 35455 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#35455; Package guix-patches. (Sat, 27 Apr 2019 16:38:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sam <smbaines8 <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 27 Apr 2019 16:38:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sam <smbaines8 <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Sam <smbaines8 <at> gmail.com>
Subject: [PATCH] gnu: Add python-django-extensions.
Date: Sat, 27 Apr 2019 17:32:07 +0100
* gnu/packages/django.scm (python-django-extensions): New variable.
---
 gnu/packages/django.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 8ea9dca16a..3999e60198 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -25,6 +25,7 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module (guix build-system python)
   #:use-module (gnu packages)
   #:use-module (gnu packages base)
@@ -119,6 +120,46 @@ to the @dfn{don't repeat yourself} (DRY) principle.")
          ;; required.
          ,@(package-native-inputs base))))))
 
+(define-public python-django-extensions
+  (package
+    (name "python-django-extensions")
+    (version "2.1.6")
+    (source
+     (origin
+       (method git-fetch)
+       ;; Fetch from the git repository, so that the tests can be run.
+       (uri (git-reference
+             (url "https://github.com/django-extensions/django-extensions.git")
+             (commit version)))
+       (file-name (string-append name "-" version))
+       (sha256
+        (base32
+         "0p4qrdinrv6indczlc8dcnm528i5fzmcn9xk1ja7ycfkyk5x6j5w"))))
+    (build-system python-build-system)
+    (arguments
+     '(#:tests? #f)) ;TODO collected 378 items / 3 errors / 1 skipped
+    (propagated-inputs
+     `(("python-six" ,python-six)
+       ("python-vobject" ,python-vobject)
+       ("python-werkzeug" ,python-werkzeug)
+       ("python-dateutil" ,python-dateutil)
+       ("python-django" ,python-django)))
+    (native-inputs
+     `(("python-mock" ,python-mock)
+       ("python-factory-boy" ,python-factory-boy)
+       ("python-tox" ,python-tox)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pytest-django" ,python-pytest-django)
+       ("python-shortuuid" , python-shortuuid)))
+    (home-page
+     "https://github.com/django-extensions/django-extensions")
+    (synopsis "Custom management extensions for Django")
+    (description
+     "Django-extensions extends Django providing, for example, management
+commands, additional database fields and admin extensions.")
+    (license license:expat)))
+
 (define-public python-django-simple-math-captcha
   (package
     (name "python-django-simple-math-captcha")
-- 
2.21.0





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Fri, 03 May 2019 15:48:02 GMT) Full text and rfc822 format available.

Notification sent to Sam <smbaines8 <at> gmail.com>:
bug acknowledged by developer. (Fri, 03 May 2019 15:48:02 GMT) Full text and rfc822 format available.

Message #10 received at 35455-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Sam <smbaines8 <at> gmail.com>
Cc: 35455-done <at> debbugs.gnu.org
Subject: Re: [bug#35455] [PATCH] gnu: Add python-django-extensions.
Date: Fri, 03 May 2019 17:47:00 +0200
Sam <smbaines8 <at> gmail.com> skribis:

> * gnu/packages/django.scm (python-django-extensions): New variable.

I added a copyright line for you in this file and committed.

> +    (arguments
> +     '(#:tests? #f)) ;TODO collected 378 items / 3 errors / 1 skipped

Could you investigate what these failures are about?  It could be that
the tests try to access the network, which won’t work in the isolated
build environment.  In that case, we’d just skip the faulty tests.

Thank you!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 01 Jun 2019 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 328 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.