From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:34125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKQL1-0001bR-8Y for guix-patches@gnu.org; Sat, 27 Apr 2019 12:38:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hKQKz-0007bn-SL for guix-patches@gnu.org; Sat, 27 Apr 2019 12:38:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50556) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hKQKv-0007Q2-Uc for guix-patches@gnu.org; Sat, 27 Apr 2019 12:38:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hKQKv-0007lS-RM for guix-patches@gnu.org; Sat, 27 Apr 2019 12:38:01 -0400 Subject: [bug#35455] [PATCH] gnu: Add python-django-extensions. Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:33748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKQKc-00017k-FW for guix-patches@gnu.org; Sat, 27 Apr 2019 12:37:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hKQFq-0000U2-5g for guix-patches@gnu.org; Sat, 27 Apr 2019 12:32:47 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:44436) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hKQFp-0000RJ-Ru for guix-patches@gnu.org; Sat, 27 Apr 2019 12:32:46 -0400 Received: by mail-wr1-x434.google.com with SMTP id c5so8880467wrs.11 for ; Sat, 27 Apr 2019 09:32:45 -0700 (PDT) From: Sam Date: Sat, 27 Apr 2019 17:32:07 +0100 Message-Id: <20190427163207.22869-1-smbaines8@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 35455@debbugs.gnu.org * 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