Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 May 2014 07:32:07 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355133 - in head/print: . py-preppy
Message-ID:  <201405250732.s4P7W7rk092347@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Sun May 25 07:32:07 2014
New Revision: 355133
URL: http://svnweb.freebsd.org/changeset/ports/355133
QAT: https://qat.redports.org/buildarchive/r355133/

Log:
  Preppy is ReportLab's templating system.  It was developed in late 2000 and has
  been in continual production use since then.  It is open source (BSD-license).
  
  The key features are:
  
  - *small*.  Preppy is a single Python module.  If you want a templating system
    'in the box', it's easy to include it in your project
  - *easy to learn*.  It takes about one minute to scan all the features
  - *just Python*.  We have not invented another language, and if you want to do
    something - includes, quoting, filters - you just use Python
  - *compiled to bytecode*: a .prep file gets compiled to a Python function in
    a .pyc file
  - *easy to debug*: preppy generates proper Python exceptions, with the correct
    line numbers for the .prep file.  You can follow tracebacks from Python
    script to Preppy template and back, through multiple includes
  - *easy to type and read*.  We've been using ``{{this}}`` syntax since well
    before Django was thought of
  - *8-bit safe*:  it makes no assumption that you are generating markup and does
    nothing unexpected with whitespace; you could use it to generate images or
    binary files if you wanted to.
  
  WWW: http://preppy.readthedocs.org/en/latest/
  
  PR:		ports/186881
  Submitted by:	Kozlov Sergey <kozlov.sergey.404@gmail.com>

Added:
  head/print/py-preppy/
  head/print/py-preppy/Makefile   (contents, props changed)
  head/print/py-preppy/distinfo   (contents, props changed)
  head/print/py-preppy/pkg-descr   (contents, props changed)
Modified:
  head/print/Makefile

Modified: head/print/Makefile
==============================================================================
--- head/print/Makefile	Sun May 25 07:31:23 2014	(r355132)
+++ head/print/Makefile	Sun May 25 07:32:07 2014	(r355133)
@@ -244,6 +244,7 @@
     SUBDIR += py-fonttools
     SUBDIR += py-pdf
     SUBDIR += py-pollyreports
+    SUBDIR += py-preppy
     SUBDIR += py-pyscript
     SUBDIR += py-relatorio
     SUBDIR += py-reportlab

Added: head/print/py-preppy/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/py-preppy/Makefile	Sun May 25 07:32:07 2014	(r355133)
@@ -0,0 +1,19 @@
+# Created by: Kozlov Sergey <kozlov.sergey.404@gmail.com>
+# $FreeBSD$
+
+PORTNAME=	preppy
+PORTVERSION=	2.1.2
+CATEGORIES=	print python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	kozlov.sergey.404@gmail.com
+COMMENT=	ReportLab's templating system
+
+LICENSE=	BSD3CLAUSE
+
+USE_PYTHON=	2.7-3.3
+USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
+
+.include <bsd.port.mk>

Added: head/print/py-preppy/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/py-preppy/distinfo	Sun May 25 07:32:07 2014	(r355133)
@@ -0,0 +1,2 @@
+SHA256 (preppy-2.1.2.tar.gz) = 6a910c03add2bd2810ef38d2da8050154da4e8e79766e08de8407382f4507d34
+SIZE (preppy-2.1.2.tar.gz) = 41065

Added: head/print/py-preppy/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/py-preppy/pkg-descr	Sun May 25 07:32:07 2014	(r355133)
@@ -0,0 +1,22 @@
+Preppy is ReportLab's templating system.  It was developed in late 2000 and has
+been in continual production use since then.  It is open source (BSD-license).
+
+The key features are:
+
+- *small*.  Preppy is a single Python module.  If you want a templating system
+  'in the box', it's easy to include it in your project
+- *easy to learn*.  It takes about one minute to scan all the features
+- *just Python*.  We have not invented another language, and if you want to do
+  something - includes, quoting, filters - you just use Python
+- *compiled to bytecode*: a .prep file gets compiled to a Python function in
+  a .pyc file
+- *easy to debug*: preppy generates proper Python exceptions, with the correct
+  line numbers for the .prep file.  You can follow tracebacks from Python
+  script to Preppy template and back, through multiple includes
+- *easy to type and read*.  We've been using ``{{this}}`` syntax since well
+  before Django was thought of
+- *8-bit safe*:  it makes no assumption that you are generating markup and does
+  nothing unexpected with whitespace; you could use it to generate images or
+  binary files if you wanted to.
+
+WWW: http://preppy.readthedocs.org/en/latest/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405250732.s4P7W7rk092347>