[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
24/36: gnu: Add python-django-contact-form.
From: |
julien lepiller |
Subject: |
24/36: gnu: Add python-django-contact-form. |
Date: |
Thu, 11 May 2017 16:01:30 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 03a34e87b8a1e808792c93f3af52e32479353838
Author: Julien Lepiller <address@hidden>
Date: Sat Apr 22 18:51:24 2017 +0200
gnu: Add python-django-contact-form.
* gnu/packages/django.scm (python-django-contact-form,
python2-django-contact-form):
New variables.
---
gnu/packages/django.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 6190c85..c1deac8 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -377,3 +377,38 @@ project aims to bulk update given objects using one query
over Django ORM.")
(define-public python2-django-bulk-update
(package-with-python2 python-django-bulk-update))
+
+(define-public python-django-contact-form
+ (package
+ (name "python-django-contact-form")
+ (version "1.3")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "django-contact-form" version))
+ (sha256
+ (base32
+ "0az590y56k5ahv4sixrkn54d3a8ig2q2z9pl6s3m4f533mx2gj17"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ ;; the next version will need "make test"
+ (and (zero? (system* "flake8" "contact_form"))
+ (zero? (system* "coverage" "run" "contact_form/runtests.py"))
+ (zero? (system* "coverage" "report" "-m" "--fail-under"
"0"))))))))
+ (native-inputs
+ `(("python-coverage" ,python-coverage)
+ ("python-flake8" ,python-flake8)))
+ (propagated-inputs
+ `(("python-django" ,python-django)))
+ (home-page "https://github.com/ubernostrum/django-contact-form")
+ (synopsis "Contact form for Django")
+ (description
+ "This application provides simple, extensible contact-form functionality
+for Django sites.")
+ (license license:bsd-3)))
+
+(define-public python2-django-contact-form
+ (package-with-python2 python-django-contact-form))
- 22/36: gnu: Add python-dj-database-url., (continued)
- 22/36: gnu: Add python-dj-database-url., julien lepiller, 2017/05/11
- 27/36: gnu: Add python-hiredis., julien lepiller, 2017/05/11
- 31/36: gnu: Add python-django-sortedm2m., julien lepiller, 2017/05/11
- 33/36: gnu: Add python-django-statici18n., julien lepiller, 2017/05/11
- 34/36: gnu: python-pytest-django: Update to 3.1.2., julien lepiller, 2017/05/11
- 21/36: gnu: Add python-django-jsonfield., julien lepiller, 2017/05/11
- 23/36: gnu: Add python-django-bulk-update., julien lepiller, 2017/05/11
- 11/36: gnu: Add python-nosexcover., julien lepiller, 2017/05/11
- 25/36: gnu: Add python-django-contrib-comments., julien lepiller, 2017/05/11
- 36/36: gnu: Add pootle., julien lepiller, 2017/05/11
- 24/36: gnu: Add python-django-contact-form.,
julien lepiller <=
- 29/36: gnu: Add python-django-redis., julien lepiller, 2017/05/11
- 20/36: gnu: Add python-django-assets., julien lepiller, 2017/05/11
- 26/36: gnu: Add python-django-overextends., julien lepiller, 2017/05/11
- 28/36: gnu: Add python-fakeredis., julien lepiller, 2017/05/11
- 35/36: gnu: Fix python2-django-allauth., julien lepiller, 2017/05/11
- 19/36: gnu: Add python-mysqlclient., julien lepiller, 2017/05/11
- 30/36: gnu: Add python-django-rq., julien lepiller, 2017/05/11
- 32/36: gnu: Add python-django-appconf., julien lepiller, 2017/05/11