Date: Tue, 18 Feb 2014 23:18:42 GMT From: Kozlov Sergey <kozlov.sergey.404@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/186881: New port: print/py-preppy ReportLab's templating system Message-ID: <201402182318.s1INIgIC039081@cgiserv.freebsd.org> Resent-Message-ID: <201402182320.s1INK0ns038871@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 186881 >Category: ports >Synopsis: New port: print/py-preppy ReportLab's templating system >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Feb 18 23:20:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Kozlov Sergey >Release: 9.2-RELEASE-p3 >Organization: ARC >Environment: FreeBSD sonya 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #1: Fri Jan 17 19:43:47 EET 2014 root@sonya:/usr/obj/usr/src/sys/GENERIC amd64 >Description: New port: print/py-preppy After reportlab-2.7 preppy is now an external dependency, so add it as another port. IMPORTANT: Preppy officially supports python 2.7 and 3.3. But I could not specify only two versions in USE_PYTHON so I've decided to make it 2.7-3.3 >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # py-preppy # py-preppy/pkg-descr # py-preppy/distinfo # py-preppy/Makefile # echo c - py-preppy mkdir -p py-preppy > /dev/null 2>&1 echo x - py-preppy/pkg-descr sed 's/^X//' >py-preppy/pkg-descr << '4325f4d4e911e50df4e1c1e5e6779cc1' XPreppy is ReportLab's templating system. It was developed in late 2000 and has Xbeen in continual production use since then. It is open source (BSD-license). X XThe key features are: X X- *small*. Preppy is a single Python module. If you want a templating system X 'in the box', it's easy to include it in your project X- *easy to learn*. It takes about one minute to scan all the features X- *just Python*. We have not invented another language, and if you want to do X something - includes, quoting, filters - you just use Python X- *compiled to bytecode*: a .prep file gets compiled to a Python function in X a .pyc file X- *easy to debug*: preppy generates proper Python exceptions, with the correct X line numbers for the .prep file. You can follow tracebacks from Python X script to Preppy template and back, through multiple includes X- *easy to type and read*. We've been using ``{{this}}`` syntax since well X before Django was thought of X- *8-bit safe*: it makes no assumption that you are generating markup and does X nothing unexpected with whitespace; you could use it to generate images or X binary files if you wanted to. X XWWW: http://preppy.readthedocs.org/en/latest/ 4325f4d4e911e50df4e1c1e5e6779cc1 echo x - py-preppy/distinfo sed 's/^X//' >py-preppy/distinfo << '9f6db178434f5e7bcbc0281ee5d38a28' XSHA256 (preppy-2.1.2.tar.gz) = 6a910c03add2bd2810ef38d2da8050154da4e8e79766e08de8407382f4507d34 XSIZE (preppy-2.1.2.tar.gz) = 41065 9f6db178434f5e7bcbc0281ee5d38a28 echo x - py-preppy/Makefile sed 's/^X//' >py-preppy/Makefile << 'b63e6e233e610eb10cf7e63c43e9d3e4' X# Created by: Kozlov Sergey <kozlov.sergey.404@gmail.com> X# $FreeBSD$ X XPORTNAME= preppy XPORTVERSION= 2.1.2 XCATEGORIES= print python XMASTER_SITES= CHEESESHOP XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} X XMAINTAINER= kozlov.sergey.404@gmail.com XCOMMENT= ReportLab's templating system X XLICENSE= BSD3CLAUSE X XUSE_PYTHON= 2.7-3.3 XUSE_PYDISTUTILS= yes XPYDISTUTILS_AUTOPLIST= yes X X.include <bsd.port.mk> b63e6e233e610eb10cf7e63c43e9d3e4 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402182318.s1INIgIC039081>