[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: Add python-django-localflavor.
From: |
guix-commits |
Subject: |
branch master updated: gnu: Add python-django-localflavor. |
Date: |
Sat, 11 Sep 2021 19:59:47 -0400 |
This is an automated email from the git hooks/post-receive script.
raghavgururajan pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new ff64cba gnu: Add python-django-localflavor.
ff64cba is described below
commit ff64cba2cc5a029ade92644f99547f47ddf7d9c4
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Sat Sep 11 17:51:16 2021 -0400
gnu: Add python-django-localflavor.
* gnu/packages/django.scm (python-django-localflavor): New variable.
Co-authored-by: jgart <jgart@dismail.de>
---
gnu/packages/django.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index dd48e05..f8aae1e 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -33,6 +33,7 @@
#:use-module (gnu packages base)
#:use-module (gnu packages databases)
#:use-module (gnu packages check)
+ #:use-module (gnu packages finance)
#:use-module (gnu packages geo)
#:use-module (gnu packages openldap)
#:use-module (gnu packages python)
@@ -194,6 +195,42 @@ to the @dfn{don't repeat yourself} (DRY) principle.")
commands, additional database fields and admin extensions.")
(license license:expat)))
+(define-public python-django-localflavor
+ (package
+ (name "python-django-localflavor")
+ (version "3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "django-localflavor" version))
+ (sha256
+ (base32 "0i1s0ijfd9rv2cp5x174jcyjpwn7fyg7s1wpbvlwm96bpdvs6bxc"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (setenv "PYTHONPATH"
+ (string-append ".:"
+ (getenv "PYTHONPATH")))
+ (invoke "invoke" "test")))))))
+ (native-inputs
+ `(("python-coverage" ,python-coverage)
+ ("python-invoke" ,python-invoke)
+ ("python-pytest-django" ,python-pytest-django)
+ ("which" ,which)))
+ (propagated-inputs
+ `(("python-django" ,python-django)
+ ("python-stdnum" ,python-stdnum)))
+ (home-page "https://django-localflavor.readthedocs.io/en/latest/")
+ (synopsis "Country-specific Django helpers")
+ (description "Django-LocalFlavor is a collection of assorted pieces of code
+that are useful for particular countries or cultures.")
+ (license license:bsd-3)))
+
(define-public python-django-simple-math-captcha
(package
(name "python-django-simple-math-captcha")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: Add python-django-localflavor.,
guix-commits <=