[PATCH 4/6] gnu: Add python-django-gravatar2.

2017-01-30 Thread contact . ng0
From: ng0 

* gnu/packages/django.scm (python-django-gravatar2): New variable.
---
 gnu/packages/django.scm | 24 
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 91eaf52e2..446f32bde 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -207,3 +207,27 @@ account authentication.")
 
 (define-public python2-django-allauth
   (package-with-python2 python-django-allauth))
+
+(define-public python-django-gravatar2
+  (package
+(name "python-django-gravatar2")
+(version "1.4.0")
+(source
+ (origin
+   (method url-fetch)
+   (uri (pypi-uri "django-gravatar2" version))
+   (sha256
+(base32
+ "1v4qyj6kms321yw0z2g1kch6b2dskmv6fjd6sfxzwr4xshq9mccl"
+(build-system python-build-system)
+(inputs
+ `(("python-django" ,python-django)))
+(home-page "https://github.com/twaddington/django-gravatar";)
+(synopsis "Gravatar support for Django, improved version")
+(description
+ "Essential Gravatar support for Django.  Features helper methods,
+templatetags and a full test suite.")
+(license license:expat)))
+
+(define-public python2-django-gravatar2
+  (package-with-python2 python-django-gravatar2))
-- 
2.11.0




[PATCH 4/6] gnu: Add python-django-gravatar2.

2017-01-29 Thread contact . ng0
From: ng0 

* gnu/packages/django.scm (python-django-gravatar2): New variable.
---
 gnu/packages/django.scm | 24 
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 055bed4a6..a5289e716 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -207,3 +207,27 @@ account authentication.")
 
 (define-public python2-django-allauth
   (package-with-python2 python-django-allauth))
+
+(define-public python-django-gravatar2
+  (package
+(name "python-django-gravatar2")
+(version "1.4.0")
+(source
+ (origin
+   (method url-fetch)
+   (uri (pypi-uri "django-gravatar2" version))
+   (sha256
+(base32
+ "1v4qyj6kms321yw0z2g1kch6b2dskmv6fjd6sfxzwr4xshq9mccl"
+(build-system python-build-system)
+(inputs
+ `(("python-django" ,python-django)))
+(home-page "https://github.com/twaddington/django-gravatar";)
+(synopsis "Gravatar support for Django, improved version")
+(description
+ "Essential Gravatar support for Django.  Features helper methods,
+templatetags and a full test suite.")
+(license license:expat)))
+
+(define-public python2-django-gravatar2
+  (package-with-python2 python-django-gravatar2))
-- 
2.11.0