Index: head/textproc/py-genshi/files/patch-setup.py =================================================================== --- head/textproc/py-genshi/files/patch-setup.py (revision 520211) +++ head/textproc/py-genshi/files/patch-setup.py (nonexistent) @@ -1,17 +0,0 @@ ---- 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 ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/textproc/py-genshi/Makefile =================================================================== --- head/textproc/py-genshi/Makefile (revision 520211) +++ head/textproc/py-genshi/Makefile (revision 520212) @@ -1,25 +1,36 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= Genshi -PORTVERSION= 0.7 -PORTREVISION= 2 -#PORTEPOCH= 0 +PORTVERSION= 0.7.3 CATEGORIES= textproc www python -MASTER_SITES= http://ftp.edgewall.com/pub/${PORTNAME:tl}/ +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org -COMMENT= Python toolkit for stream-based generation of output for the web +COMMENT= Toolkit for generation of output for the web LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING +USES= python +USE_PYTHON= distutils autoplist + OPTIONS_DEFINE= BABEL BABEL_DESC= I18n support through the Babel plugin -USES= python -USE_PYTHON= distutils autoplist +BABEL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=0.8:devel/py-babel@${PY_FLAVOR} -BABEL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=0.9.6:devel/py-babel@${PY_FLAVOR} +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test -.include +.include + +.if ${PYTHON_VER} < 3.3 +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/genshi/*.so +.else +NO_ARCH= yes +.endif + +.include Index: head/textproc/py-genshi/distinfo =================================================================== --- head/textproc/py-genshi/distinfo (revision 520211) +++ head/textproc/py-genshi/distinfo (revision 520212) @@ -1,2 +1,3 @@ -SHA256 (Genshi-0.7.tar.gz) = 1d154402e68bc444a55bcac101f96cb4e59373100cc7a2da07fbf3e5cc5d7352 -SIZE (Genshi-0.7.tar.gz) = 491579 +TIMESTAMP = 1576467154 +SHA256 (Genshi-0.7.3.tar.gz) = 7933c95151d7dd2124a2b4c8dd85bb6aec881ca17c0556da0b40e56434b313a0 +SIZE (Genshi-0.7.3.tar.gz) = 271238