guix-commits
[Top][All Lists]
Advanced

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

39/46: gnu: Add python-django-sekizai.


From: guix-commits
Subject: 39/46: gnu: Add python-django-sekizai.
Date: Tue, 21 Jul 2020 08:49:46 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 4fa01b7821f24d97228c657dabf1e66c82899146
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jul 21 14:27:36 2020 +0300

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

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 625e4c0..119d23d 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -1144,6 +1144,35 @@ Django projects, which allows association of a number of 
tags with any
 provides features like a web browseable API and authentication policies.")
     (license license:bsd-2)))
 
+(define-public python-django-sekizai
+  (package
+    (name "python-django-sekizai")
+    (version "1.1.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "django-sekizai" version))
+        (sha256
+         (base32
+          "1nc4sv109valdn6azmgm2j01k7khxy2wnji84z63x7fxsikfdxp2"))))
+    (build-system python-build-system)
+    (arguments '(#:tests? #f)) ; Tests not included with release.
+    (propagated-inputs
+     `(("python-django" ,python-django)
+       ("python-django-classy-tags" ,python-django-classy-tags)
+       ("python-six" ,python-six)))
+    (home-page "https://github.com/divio/django-sekizai";)
+    (synopsis "Template blocks for Django projects")
+    (description "Sekizai means blocks in Japanese, and thats what this app
+provides.  A fresh look at blocks.  With @code{django-sekizai} you can define
+placeholders where your blocks get rendered and at different places in your
+templates append to those blocks.  This is especially useful for css and
+javascript.  Your subtemplates can now define css and javscript files to be
+included, and the css will be nicely put at the top and the javascript to the
+bottom, just like you should.  Also sekizai will ignore any duplicate content 
in
+a single block.")
+    (license license:bsd-3)))
+
 (define-public python-django-crispy-forms
   (package
     (name "python-django-crispy-forms")



reply via email to

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