unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#35471] [PATCH] gnu: Add python-django-taggit.
@ 2019-04-28 14:57 Sam
  2019-05-03 15:42 ` bug#35471: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Sam @ 2019-04-28 14:57 UTC (permalink / raw)
  To: 35471

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

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 8ea9dca16a..03ed3bc67f 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")
-- 
2.21.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#35471: [PATCH] gnu: Add python-django-taggit.
  2019-04-28 14:57 [bug#35471] [PATCH] gnu: Add python-django-taggit Sam
@ 2019-05-03 15:42 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2019-05-03 15:42 UTC (permalink / raw)
  To: Sam; +Cc: 35471-done

Sam <smbaines8@gmail.com> skribis:

> * gnu/packages/django.scm (python-django-taggit): New variable.

Applied, thanks!

Ludo'.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-03 15:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-28 14:57 [bug#35471] [PATCH] gnu: Add python-django-taggit Sam
2019-05-03 15:42 ` bug#35471: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).