ports/83751: Update port: devel/ply to 1.6
Vsevolod Stakhov
vsevolod at highsecure.ru
Tue Jul 19 21:50:17 UTC 2005
>Number: 83751
>Category: ports
>Synopsis: Update port: devel/ply to 1.6
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 19 21:50:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Vsevolod Stakhov
>Release: FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
>Description:
Update to 1.6
Use PYTHON_PKGNAMESUFFIX for displaying python version.
Use PYDISTUTILS.
Fix WWW line.
Added file(s):
- files/patch-setup.py
>How-To-Repeat:
>Fix:
--- ply-py24-1.6.patch begins here ---
diff -ruN --exclude=CVS ply.orig/Makefile ply/Makefile
--- ply.orig/Makefile Wed Jul 20 01:24:47 2005
+++ ply/Makefile Wed Jul 20 01:31:58 2005
@@ -7,19 +7,16 @@
#
PORTNAME= ply
-PORTVERSION= 1.3.1
+PORTVERSION= 1.6
CATEGORIES= devel python
-MASTER_SITES= http://systems.cs.uchicago.edu/ply/
+MASTER_SITES= http://www.dabeaz.com/ply/
+PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX}
MAINTAINER= ports at FreeBSD.org
COMMENT= Python Lex-Yacc
USE_PYTHON= yes
-NO_BUILD= yes
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/lex.py ${PYTHON_SITELIBDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/yacc.py ${PYTHON_SITELIBDIR}
+USE_PYDISTUTILS= yes
.if !defined(NOPORTDOCS)
post-install:
diff -ruN --exclude=CVS ply.orig/distinfo ply/distinfo
--- ply.orig/distinfo Wed Jul 20 01:24:47 2005
+++ ply/distinfo Wed Jul 20 01:25:57 2005
@@ -1,2 +1,2 @@
-MD5 (ply-1.3.1.tar.gz) = eeb11347ef861d3ec9469f072beeaeb1
-SIZE (ply-1.3.1.tar.gz) = 64742
+MD5 (ply-1.6.tar.gz) = cc43cab69b072fdd5c2557f3865c383d
+SIZE (ply-1.6.tar.gz) = 72605
diff -ruN --exclude=CVS ply.orig/files/patch-setup.py ply/files/patch-setup.py
--- ply.orig/files/patch-setup.py Thu Jan 1 03:00:00 1970
+++ ply/files/patch-setup.py Wed Jul 20 01:27:55 2005
@@ -0,0 +1,11 @@
+--- setup.py.orig Wed Jul 20 01:27:21 2005
++++ setup.py Wed Jul 20 01:27:31 2005
+@@ -17,7 +17,7 @@
+
+ PLY is extremely easy to use and provides very extensive error checking.
+ """,
+- licence="""Lesser GPL (LGPL)""",
++ license="""Lesser GPL (LGPL)""",
+ version = "1.3.1",
+ author = "David Beazley",
+ author_email = "beazley at cs.uchicago.edu",
diff -ruN --exclude=CVS ply.orig/pkg-descr ply/pkg-descr
--- ply.orig/pkg-descr Wed Jul 20 01:24:47 2005
+++ ply/pkg-descr Wed Jul 20 01:25:42 2005
@@ -6,4 +6,4 @@
provides extensive input validation and error reporting--much more so than
other Python parsing tools.
-WWW: http://systems.cs.uchicago.edu/ply/
+WWW: http://www.dabeaz.com/ply/
diff -ruN --exclude=CVS ply.orig/pkg-plist ply/pkg-plist
--- ply.orig/pkg-plist Wed Jul 20 01:24:47 2005
+++ ply/pkg-plist Wed Jul 20 01:30:45 2005
@@ -1,14 +1,20 @@
-lib/%%PYTHON_VERSION%%/site-packages/lex.py
-lib/%%PYTHON_VERSION%%/site-packages/yacc.py
+%%PYTHON_SITELIBDIR%%/lex.py
+%%PYTHON_SITELIBDIR%%/lex.pyc
+%%PYTHON_SITELIBDIR%%/lex.pyo
+%%PYTHON_SITELIBDIR%%/yacc.py
+%%PYTHON_SITELIBDIR%%/yacc.pyc
+%%PYTHON_SITELIBDIR%%/yacc.pyo
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/ply.html
%%PORTDOCS%%%%EXAMPLESDIR%%/ansic/README
%%PORTDOCS%%%%EXAMPLESDIR%%/ansic/clex.py
%%PORTDOCS%%%%EXAMPLESDIR%%/ansic/cparse.py
%%PORTDOCS%%%%EXAMPLESDIR%%/calc/calc.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/classcalc/calc.py
%%PORTDOCS%%%%EXAMPLESDIR%%/hedit/hedit.py
%%PORTDOCS%%%%EXAMPLESDIR%%/optcalc/README
%%PORTDOCS%%%%EXAMPLESDIR%%/optcalc/calc.py
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/classcalc
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/optcalc
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/hedit
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/calc
--- ply-py24-1.6.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list