ports/146507: [patch] devel/py-Jinja2: enable speedups

Oleg Pudeyev oleg at bsdpower.com
Wed May 12 02:10:04 UTC 2010


>Number:         146507
>Category:       ports
>Synopsis:       [patch] devel/py-Jinja2: enable speedups
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 12 02:10:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Oleg Pudeyev
>Release:        8.0-stable
>Organization:
>Environment:
FreeBSD area.universe 8.0-STABLE FreeBSD 8.0-STABLE #1: Thu Feb 25 19:44:11 EST 2010     build at area.universe:/home/build/obj/usr/src/sys/GENERIC  amd64

>Description:
Jinja2 used to default to building C speedups (these IIRC implement escaping functionality), current version defaults to not building the speedups.

They are normally enabled by passing --with-speedups to setuptools, but it is a global argument and has to go before the command:

python setup.py --with-speedups install

bsd.python.mk has no support for such global arguments.

The linked patch instead patches the source tree to default to building speedups, fixes plist and bumps portrevision.

files directory needs to be created before applying the patch with patch utility.
>How-To-Repeat:

>Fix:
http://dump.bsdpower.com/2010/05/11/with-speedups.patch

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list