From: Sam <smbaines8@gmail.com>
To: 35455@debbugs.gnu.org
Subject: [bug#35455] [PATCH] gnu: Add python-django-extensions.
Date: Sat, 27 Apr 2019 17:32:07 +0100 [thread overview]
Message-ID: <20190427163207.22869-1-smbaines8@gmail.com> (raw)
* 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
next reply other threads:[~2019-04-27 16:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-27 16:32 Sam [this message]
2019-05-03 15:47 ` bug#35455: [PATCH] gnu: Add python-django-extensions Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190427163207.22869-1-smbaines8@gmail.com \
--to=smbaines8@gmail.com \
--cc=35455@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).