From 14d8f6538f3af04c2bc879837f94f0bc54177aed Mon Sep 17 00:00:00 2001 From: ng0 Date: Wed, 15 Feb 2017 10:09:25 +0000 Subject: [PATCH] gnu: Add python-django-gravatar2. * gnu/packages/django.scm (python-django-gravatar2): New variable. Signed-off-by: Kei Kebreau --- gnu/packages/django.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 4f7620ee27..2038473f52 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -221,3 +221,27 @@ (define-public python-django-allauth (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))