diff options
author | Marius Bakke <marius@gnu.org> | 2021-09-17 01:25:52 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2021-09-17 01:25:52 +0200 |
commit | 5c3cb22c9b2810669999e044b2de5e9331011a83 (patch) | |
tree | 3276e19cc1a0af3cece6ce4f2bfa930901888bb4 /gnu/packages/django.scm | |
parent | c896287ce5eff968a0b323f3a069653a64b96b4c (diff) | |
parent | 2a054d29dcfd4b68ed3914886b637f93ac7a0a72 (diff) | |
download | guix-5c3cb22c9b2810669999e044b2de5e9331011a83.tar.gz |
Merge branch 'master' into core-updates-frozen
Conflicts: gnu/packages/bioinformatics.scm gnu/packages/chez.scm gnu/packages/docbook.scm gnu/packages/ebook.scm gnu/packages/gnome.scm gnu/packages/linux.scm gnu/packages/networking.scm gnu/packages/python-web.scm gnu/packages/python-xyz.scm gnu/packages/tex.scm gnu/packages/version-control.scm gnu/packages/xml.scm guix/build-system/dune.scm guix/build-system/go.scm guix/build-system/linux-module.scm guix/packages.scm
Diffstat (limited to 'gnu/packages/django.scm')
-rw-r--r-- | gnu/packages/django.scm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index aa1fbddc3d..921bf13d76 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -34,6 +34,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) @@ -183,6 +184,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") |