Index: head/textproc/py-genshi/Makefile =================================================================== --- head/textproc/py-genshi/Makefile (revision 457143) +++ head/textproc/py-genshi/Makefile (revision 457144) @@ -1,29 +1,25 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= Genshi PORTVERSION= 0.7 PORTREVISION= 2 #PORTEPOCH= 0 CATEGORIES= textproc www python MASTER_SITES= http://ftp.edgewall.com/pub/${PORTNAME:tl}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org COMMENT= Python toolkit for stream-based generation of output for the web LICENSE= BSD3CLAUSE OPTIONS_DEFINE= BABEL BABEL_DESC= I18n support through the Babel plugin -USES= python:2.7 +USES= python USE_PYTHON= distutils autoplist -.include - -.if ${PORT_OPTIONS:MBABEL} -RUN_DEPENDS+= ${PKGNAMEPREFIX}Babel>=0.9.6:devel/py-babel@${FLAVOR} -.endif +BABEL_RUN_DEPENDS= ${PKGNAMEPREFIX}Babel>=0.9.6:devel/py-babel@${FLAVOR} .include Index: head/textproc/py-genshi/files/patch-setup.py =================================================================== --- head/textproc/py-genshi/files/patch-setup.py (nonexistent) +++ head/textproc/py-genshi/files/patch-setup.py (revision 457144) @@ -0,0 +1,17 @@ +--- setup.py.orig 2013-01-27 15:48:03 UTC ++++ setup.py +@@ -65,9 +65,13 @@ available.""") + + + if Feature: ++ # Optional C extension module for speeding up Genshi: ++ # Not activated by default on: ++ # - PyPy (where it harms performance) ++ # - CPython >= 3.3 (the new Unicode C API is not supported yet) + speedups = Feature( + "optional C speed-enhancements", +- standard = not is_pypy, ++ standard = not is_pypy and sys.version_info < (3, 3), + ext_modules = [ + Extension('genshi._speedups', ['genshi/_speedups.c']), + ], Property changes on: head/textproc/py-genshi/files/patch-setup.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property