1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00

Update to 3.0.

Approved by:	miwi (mentor)
This commit is contained in:
Marcus von Appen 2009-02-21 09:43:27 +00:00
parent b581ad0e52
commit aad78314dd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=228764
3 changed files with 22 additions and 9 deletions

View File

@ -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}

View File

@ -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

View File

@ -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