Sekizai means "blocks" in Japanese, and that's what this app provides. A fresh

look at blocks. With 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.
This commit is contained in:
adam 2012-01-08 07:49:54 +00:00
parent 35b359d9f0
commit db10735552
4 changed files with 67 additions and 0 deletions

View file

@ -0,0 +1,7 @@
Sekizai means "blocks" in Japanese, and that's what this app provides. A fresh
look at blocks. With 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.

View file

@ -0,0 +1,21 @@
# $NetBSD: Makefile,v 1.1.1.1 2012/01/08 07:49:54 adam Exp $
DISTNAME= django-sekizai-0.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= http://pypi.python.org/packages/source/d/django-sekizai/
MAINTAINER= adam@NetBSD.org
HOMEPAGE= https://github.com/ojii/django-sekizai
COMMENT= Django Template Blocks with extra functionality
LICENSE= modified-bsd
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= # empty
EGG_NAME= ${DISTNAME:S/-/_/}
DEPENDS+= ${PYPKGPREFIX}-django-[0-9]*:../../www/py-django
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,34 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2012/01/08 07:49:54 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/sekizai/__init__.py
${PYSITELIB}/sekizai/__init__.pyc
${PYSITELIB}/sekizai/__init__.pyo
${PYSITELIB}/sekizai/context.py
${PYSITELIB}/sekizai/context.pyc
${PYSITELIB}/sekizai/context.pyo
${PYSITELIB}/sekizai/context_processors.py
${PYSITELIB}/sekizai/context_processors.pyc
${PYSITELIB}/sekizai/context_processors.pyo
${PYSITELIB}/sekizai/data.py
${PYSITELIB}/sekizai/data.pyc
${PYSITELIB}/sekizai/data.pyo
${PYSITELIB}/sekizai/helpers.py
${PYSITELIB}/sekizai/helpers.pyc
${PYSITELIB}/sekizai/helpers.pyo
${PYSITELIB}/sekizai/models.py
${PYSITELIB}/sekizai/models.pyc
${PYSITELIB}/sekizai/models.pyo
${PYSITELIB}/sekizai/templatetags/__init__.py
${PYSITELIB}/sekizai/templatetags/__init__.pyc
${PYSITELIB}/sekizai/templatetags/__init__.pyo
${PYSITELIB}/sekizai/templatetags/sekizai_tags.py
${PYSITELIB}/sekizai/templatetags/sekizai_tags.pyc
${PYSITELIB}/sekizai/templatetags/sekizai_tags.pyo
${PYSITELIB}/sekizai/tests.py
${PYSITELIB}/sekizai/tests.pyc
${PYSITELIB}/sekizai/tests.pyo

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2012/01/08 07:49:54 adam Exp $
SHA1 (django-sekizai-0.5.tar.gz) = 9a9a8fa9258f848ec824e1bbd80afd9e1ba5ad25
RMD160 (django-sekizai-0.5.tar.gz) = 2263d381296ec0190a1f65eaaad81ea93a130848
Size (django-sekizai-0.5.tar.gz) = 5940 bytes