From aad78314dd5b2b906f88664915e12e8069b0cce4 Mon Sep 17 00:00:00 2001 From: Marcus von Appen Date: Sat, 21 Feb 2009 09:43:27 +0000 Subject: [PATCH] Update to 3.0. Approved by: miwi (mentor) --- devel/py-ply/Makefile | 13 ++++++++++--- devel/py-ply/distinfo | 6 +++--- devel/py-ply/pkg-plist | 12 +++++++++--- 3 files changed, 22 insertions(+), 9 deletions(-) diff --git a/devel/py-ply/Makefile b/devel/py-ply/Makefile index ea1280c1e832..9112696c77d2 100644 --- a/devel/py-ply/Makefile +++ b/devel/py-ply/Makefile @@ -7,7 +7,7 @@ # PORTNAME= ply -PORTVERSION= 2.5 +PORTVERSION= 3.0 CATEGORIES= devel python MASTER_SITES= http://www.dabeaz.com/ply/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -18,11 +18,18 @@ COMMENT= Python Lex-Yacc USE_PYTHON= yes USE_PYDISTUTILS=yes +PORTDOCS= ply.html internal.html README + +pre-configure: + @${REINPLACE_CMD} -e 's|from setuptools import setup|from distutils.core import setup|' \ + ${WRKSRC}/setup.py + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/ply.html ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/doc/ply.html ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/doc/internal.html ${DOCSDIR} .endif .if !defined(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} diff --git a/devel/py-ply/distinfo b/devel/py-ply/distinfo index f73f7eb12402..dbdf3fc0b247 100644 --- a/devel/py-ply/distinfo +++ b/devel/py-ply/distinfo @@ -1,3 +1,3 @@ -MD5 (ply-2.5.tar.gz) = 2aef9014a1bc50066eb05dd3b9c1b04f -SHA256 (ply-2.5.tar.gz) = 2126bbf1b31a77311faf91707dc39e3362cf810ff5dd8880a4006a586ea8c9a7 -SIZE (ply-2.5.tar.gz) = 119125 +MD5 (ply-3.0.tar.gz) = 9023c2d5b0b527275f70d32635f7a625 +SHA256 (ply-3.0.tar.gz) = 57a53a43889e1f8f991e1ae82618e09e99594123efa403de64676a4c1840fadb +SIZE (ply-3.0.tar.gz) = 145984 diff --git a/devel/py-ply/pkg-plist b/devel/py-ply/pkg-plist index b6ad41011672..16e0cffdb3ff 100644 --- a/devel/py-ply/pkg-plist +++ b/devel/py-ply/pkg-plist @@ -1,18 +1,23 @@ %%PYTHON_SITELIBDIR%%/ply/__init__.py %%PYTHON_SITELIBDIR%%/ply/__init__.pyc %%PYTHON_SITELIBDIR%%/ply/__init__.pyo +%%PYTHON_SITELIBDIR%%/ply/cpp.py +%%PYTHON_SITELIBDIR%%/ply/cpp.pyc +%%PYTHON_SITELIBDIR%%/ply/cpp.pyo +%%PYTHON_SITELIBDIR%%/ply/ctokens.py +%%PYTHON_SITELIBDIR%%/ply/ctokens.pyc +%%PYTHON_SITELIBDIR%%/ply/ctokens.pyo %%PYTHON_SITELIBDIR%%/ply/lex.py %%PYTHON_SITELIBDIR%%/ply/lex.pyc %%PYTHON_SITELIBDIR%%/ply/lex.pyo %%PYTHON_SITELIBDIR%%/ply/yacc.py %%PYTHON_SITELIBDIR%%/ply/yacc.pyc %%PYTHON_SITELIBDIR%%/ply/yacc.pyo -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/ply.html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ansic/README %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ansic/clex.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ansic/cparse.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/calc/calc.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calcdebug/calc.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/classcalc/calc.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/closurecalc/calc.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/hedit/hedit.py @@ -26,6 +31,7 @@ %%PORTEXAMPLES%%%%EXAMPLESDIR%%/yply/yply.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/BASIC/sqrt2.bas %%PORTEXAMPLES%%%%EXAMPLESDIR%%/BASIC/basiclex.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/BASIC/basiclog.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/BASIC/basinterp.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/BASIC/basparse.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/BASIC/dim.bas @@ -55,8 +61,8 @@ %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/hedit %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/classcalc %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/closurecalc +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/calcdebug %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/calc %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/ansic %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm %%PYTHON_SITELIBDIR%%/ply