guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/04: gnu: Add python-django-taggit.


From: guix-commits
Subject: 03/04: gnu: Add python-django-taggit.
Date: Fri, 3 May 2019 11:47:38 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 8d73558d5096a60272f327bca57f5420e4804867
Author: Sam <address@hidden>
Date:   Sun Apr 28 15:57:41 2019 +0100

    gnu: Add python-django-taggit.
    
    * gnu/packages/django.scm (python-django-taggit): New variable.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/django.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 8ea9dca..03ed3bc 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -147,6 +147,38 @@ with arguments to the field constructor.")
 (define-public python2-django-simple-math-captcha
   (package-with-python2 python-django-simple-math-captcha))
 
+(define-public python-django-taggit
+  (package
+    (name "python-django-taggit")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "django-taggit" version))
+       (sha256
+        (base32
+         "044fzcpmns90kaxdi49qczlam4xsi8rl73rpfwvxx1gkcqzidgq1"))))
+    (build-system python-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (invoke "python3" "-m" "django" "test" 
"--settings=tests.settings"))))))
+    (propagated-inputs
+     `(("python-django" ,python-django)
+       ("python-isort" ,python-isort)))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-mock" ,python-mock)))
+    (home-page
+     "https://github.com/jazzband/django-taggit";)
+    (synopsis
+     "Reusable Django application for simple tagging")
+    (description
+     "Django-taggit is a reusable Django application for simple tagging.")
+    (license license:bsd-3)))
+
 (define-public python-pytest-django
   (package
     (name "python-pytest-django")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]