Skip site navigation (1)Skip section navigation (2)

ports/123154: New port: devel/py-yapps2 (an easy-to-use parser generator that generates Python code)

From:"Matthew X. Economou" <xenophon+fbsdports@irtnog.org>
Date:Mon, 28 Apr 2008 01:16:40 GMT
Subject:New port: devel/py-yapps2 (an easy-to-use parser generator that generates Python code)
Send-pr version:www-3.1

Number:123154
Category:ports
Synopsis:New port: devel/py-yapps2 (an easy-to-use parser generator that generates Python code)
Severity:non-critical
Priority:low
Responsible:freebsd-python@FreeBSD.org
State:feedback
Class:change-request
Arrival-Date:Mon Apr 28 01:20:04 UTC 2008
Closed-Date:
Last-Modified:Mon Jul 13 10:17:26 UTC 2009
Originator:Matthew X. Economou
Release:6.3-RELEASE

Organization:
IRTNOG
 
Environment:
FreeBSD cinip101bsdlog.irtnog.net 6.3-RELEASE-p2 FreeBSD 6.3-RELEASE-p2 #4: Fri Apr 18 14:11:55 EDT 2008 root@cinip101bsdlog.irtnog.net:/usr/obj/usr/src/sys/SMP i386
Description:
Yapps (Yet Another Python Parser System) is an easy to use parser
generator that is written in Python and generates Python code. Yapps
is simple, is easy to use, and produces human-readable parsers. It is
not fast, powerful, or particularly flexible. Yapps is designed to be
used when regular expressions are not enough and other parser systems
are too much: situations where you may write your own recursive
descent parser. Yapps 1 is more like a functional language (concise
grammars of the form when you see this, return this), while Yapps 2 is
more like an imperative language (more verbose grammars of the form
if/while you see this, do this). Yapps 2 is more flexible than Yapps
1 but it requires Python 1.5 and is not backwards-compatible with
Yapps 1.

This is the development version of Yapps 2.

WWW: http://theory.stanford.edu/~amitp/yapps/
How-To-Repeat:
N/A
 
Fix:
N/A
Download patch.txt
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#        devel/py-yapps2
#        devel/py-yapps2/distinfo
#        devel/py-yapps2/Makefile
#        devel/py-yapps2/pkg-plist
#        devel/py-yapps2/pkg-descr
#
echo c - devel/py-yapps2
mkdir -p devel/py-yapps2 > /dev/null 2>&1
echo x - devel/py-yapps2/distinfo
sed 's/^X//' >devel/py-yapps2/distinfo << 'END-of-devel/py-yapps2/distinfo'
XMD5 (yapps2.1.1.tar.gz) = 7d5ac9cfb2de690adf26d5e83ca7679f
XSHA256 (yapps2.1.1.tar.gz) = e7a0d087b237d1b949bc1643b8e2529ff870005ad38953732ff1c347b0b2fea3
XSIZE (yapps2.1.1.tar.gz) = 19685
END-of-devel/py-yapps2/distinfo
echo x - devel/py-yapps2/Makefile
sed 's/^X//' >devel/py-yapps2/Makefile << 'END-of-devel/py-yapps2/Makefile'
X# New ports collection makefile for:    Yapps2
X# Date created:                         27 April 2008
X# Whom:                                 xenophon+fbsdports@irtnog.org
X#
X# $FreeBSD$
X#
X
XPORTNAME=       yapps2
XPORTVERSION=    2.1.1
XCATEGORIES=     devel python
XMASTER_SITES=   http://theory.stanford.edu/~amitp/yapps/
XPKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
XDISTNAME=       yapps${PORTVERSION}
X
XMAINTAINER=     xenophon+fbsdports@irtnog.org
XCOMMENT=        An easy-to-use parser generator that generates Python code
X
XWRKSRC=         ${WRKDIR}/Yapps-${PORTVERSION}
XUSE_PYTHON=     yes
XUSE_PYDISTUTILS=yes
X
X.include <bsd.port.mk>
END-of-devel/py-yapps2/Makefile
echo x - devel/py-yapps2/pkg-plist
sed 's/^X//' >devel/py-yapps2/pkg-plist << 'END-of-devel/py-yapps2/pkg-plist'
Xbin/yapps2
X%%PYTHON_SITELIBDIR%%/yapps/__init__.py
X%%PYTHON_SITELIBDIR%%/yapps/__init__.pyc
X%%PYTHON_SITELIBDIR%%/yapps/__init__.pyo
X%%PYTHON_SITELIBDIR%%/yapps/grammar.py
X%%PYTHON_SITELIBDIR%%/yapps/grammar.pyc
X%%PYTHON_SITELIBDIR%%/yapps/grammar.pyo
X%%PYTHON_SITELIBDIR%%/yapps/parsetree.py
X%%PYTHON_SITELIBDIR%%/yapps/parsetree.pyc
X%%PYTHON_SITELIBDIR%%/yapps/parsetree.pyo
X%%PYTHON_SITELIBDIR%%/yapps/yapps_grammar.py
X%%PYTHON_SITELIBDIR%%/yapps/yapps_grammar.pyc
X%%PYTHON_SITELIBDIR%%/yapps/yapps_grammar.pyo
X%%PYTHON_SITELIBDIR%%/yapps/yappsrt.py
X%%PYTHON_SITELIBDIR%%/yapps/yappsrt.pyc
X%%PYTHON_SITELIBDIR%%/yapps/yappsrt.pyo
X@dirrm %%PYTHON_SITELIBDIR%%/yapps
END-of-devel/py-yapps2/pkg-plist
echo x - devel/py-yapps2/pkg-descr
sed 's/^X//' >devel/py-yapps2/pkg-descr << 'END-of-devel/py-yapps2/pkg-descr'
XYapps (Yet Another Python Parser System) is an easy to use parser
Xgenerator that is written in Python and generates Python code.  Yapps
Xis simple, is easy to use, and produces human-readable parsers. It is
Xnot fast, powerful, or particularly flexible.  Yapps is designed to be
Xused when regular expressions are not enough and other parser systems
Xare too much: situations where you may write your own recursive
Xdescent parser.  Yapps 1 is more like a functional language (concise
Xgrammars of the form when you see this, return this), while Yapps 2 is
Xmore like an imperative language (more verbose grammars of the form
Xif/while you see this, do this).  Yapps 2 is more flexible than Yapps
X1 but it requires Python 1.5 and is not backwards-compatible with
XYapps 1.
X
XThis is the development version of Yapps 2.
X
XWWW: http://theory.stanford.edu/~amitp/yapps/
END-of-devel/py-yapps2/pkg-descr
exit


Release-Note:
 
Audit-Trail:
Responsible Changed
From-To:freebsd-ports-bugs->freebsd-python
By:edwin
When:Mon Apr 28 01:20:09 UTC 2008
Why:freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)

Reply via E-mail
From:"Matthew X. Economou" <xenophon@irtnog.org>
Date:Sun, 27 Apr 2008 22:46:51 -0400
To whom it may concern:

On second thought, let me rename this particular version
devel/py-yapps2-devel and create ports for the other two releases posted
on the author's web site. I'll submit the new ports tomorrow or Tuesday
at the latest. I will need to add a CONFLICTS entry for each port, as
they install to the same directory under ${PYTHON_SITELIBDIR}.

Best wishes,
Matthew

Reply via E-mail
From:"Matthew X. Economou" <xenophon@irtnog.org>
Date:Thu, 1 May 2008 15:19:16 -0400
This is a multi-part message in MIME format.


charset="us-ascii"
Content-Transfer-Encoding: 7bit

Upon further reflection, let me leave this submission as is. I don't
know of anyone else using older versions of this parser generator.

Best wishes,
Matthew


Download smime.p7s
0      *H
010     +0    *H
00
p0
    *H
0Q10
 &,dorg10
 &,dirtnog1"0 UIRTNOG.ORG Root Authority0
070925183744Z
080924183744Z010
 &,dorg10
 &,dirtnog10U
MyBusiness10UUsers10USBSUsers10UMatthew X. Economou1"0  *H
 xenophon@irtnog.org00
    *H
0!$74&SbbLWܐjuqU      S3zS6B(fB+{wBn5HӠmwS-4_+ڍw   h9@=ًyA
0   0U06        *H
 )0'0
*H
80
*H
80+0UsQNB12&RrZ[0      +7
User0U#0*H@WvERzW0eU\0X0TPLldap://CN=IRTNOG.ORG Root Authority(1),CN=svr1,CN=CDP,CN=Public Key Services,CN=Services,CN=Configuration,DC=irtnog,DC=org/?certificateRevocationList?base?objectClass=cRLDistributionPointFhttp://svr1.irtnog.org/CertEnroll/IRTNOG.ORG%20Root%20Authority(1).crlDfile://\\svr1.irtnog.org/CertEnroll/IRTNOG.ORG Root Authority(1).crl0+0|0+0ldap://CN=IRTNOG.ORG Root Authority,CN=AIA,CN=Public Key Services,CN=Services,CN=Configuration,DC=irtnog,DC=org/?cACertificate?base?objectClass=certificationAuthority0b+0Vhttp://svr1.irtnog.org/CertEnroll/svr1.irtnog.org_IRTNOG.ORG%20Root%20Authority(1).crt0`+0Tfile://\\svr1.irtnog.org/CertEnroll/svr1.irtnog.org_IRTNOG.ORG Root Authority(1).crt0)U%"0 
+7
++0CU<0:#
+7xenophon@irtnog.orgxenophon@irtnog.org0
        *H
pň
.H6Umci$UhF29ՂZ#}
-Ok&&P݀5c|g
`tk'C|߰bSfo|Pk׻7^\6SVZ"
M$HKDh0A3U_vFㅶ{{#*k&-AmKz-W_|
nj3`Ӷ;$-2/i{\j.52+00eGX|L׋;0
   *H
0Q10
 &,dorg10
 &,dirtnog1"0 UIRTNOG.ORG Root Authority0
050303143837Z
100303144837Z0Q10
 &,dorg10
 &,dirtnog1"0 UIRTNOG.ORG Root Authority0"0
        *H
0
N1Mqg{
)->¯MN URa
J^,`;p7lyZx1p(ѐF o/Bc&$Զ!4zwQx   ~p-Yq"kH Lgn-h_!aڏƼݸÍ*?*tKSܨsO)M&n5nbTmgǣrUd0Om7DTKةI8%̔|u0q0       +7CA0U0U00U*H@WvERzW0U00ffile://C:\WINDOWS\system32\CertSrv\CertEnroll\%3CCaName%3E%3CCRLNameSuffix%3E%3CDeltaCRLAllowed%3E.crlldap://CN=<CATruncatedName><CRLNameSuffix>,CN=<ServerShortName>,CN=CDP,CN=Public Key Services,CN=Services,<ConfigurationContainer><CDPObjectClass>/^http://%3Cserverdnsname%3E/CertEnroll/%3CCaName%3E%3CCRLNameSuffix%3E%3CDeltaCRLAllowed%3E.crlPfile://\\<ServerDNSName>/CertEnroll/<CaName><CRLNameSuffix><DeltaCRLAllowed>.crl0       +70DU =0;09  +d0,0*+http://web.irtnog.org/legal/ca0+00s+0gfile://C:\WINDOWS\system32\CertSrv\CertEnroll\%3CServerDNSName%3E_%3CCaName%3E%3CCertificateName%3E.crt0z+0nldap://CN=<CATruncatedName>,CN=AIA,CN=Public Key Services,CN=Services,<ConfigurationContainer><CAObjectClass>/0k+0_http://%3Cserverdnsname%3E/CertEnroll/%3CServerDNSName%3E_%3CCaName%3E%3CCertificateName%3E.crt0]+0Qfile://\\<ServerDNSName>/CertEnroll/<ServerDNSName>_<CaName><CertificateName>.crt0#   +7U8Qu,8
0
    *H
yP1#XJ:oH9D- 6cWz'
51%KP;Zbo@9*Z-ʫ&h׫e_{=v)1+0ǝV y߮֯͠ޚhxmQ&S֯Î/:|ɔҢԿ6,Eqm',b%NՈch@D &"hh%5S&<C100_0Q10
 &,dorg10
 &,dirtnog1"0 UIRTNOG.ORG Root Authority
p0      +0        *H
 1    *H
0    *H
 1
080501191916Z0#   *H
 1o jt oNiO0g    *H
 1Z0X0
*H
0*H
0
*H
@0+0
*H
(0+0
*H
0n    +71a0_0Q10
 &,dorg10
 &,dirtnog1"0 UIRTNOG.ORG Root Authority
p0p*H
    1a_0Q10
 &,dorg10
 &,dirtnog1"0 UIRTNOG.ORG Root Authority
p0
    *H
%$V3R.]y3$H8R?Mldd6BﯠίUnuumfJVAn%VDM:]Mp:>MkZGc!-worwVl



State Changed
From-To:open->feedback
By:lwhsu
When:Mon Jul 13 10:17:25 UTC 2009
Why:The last patch you sent corrupted, could you send again? Thanks!

Unformatted:
 
Submit Followup | Raw PR | Find another PR