From owner-freebsd-ports Thu Oct 19 5:40: 9 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C88D037B4D7 for ; Thu, 19 Oct 2000 05:40:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA62213; Thu, 19 Oct 2000 05:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from fling.sanbi.ac.za (fling.sanbi.ac.za [196.38.142.119]) by hub.freebsd.org (Postfix) with ESMTP id 1F45F37B479 for ; Thu, 19 Oct 2000 05:35:42 -0700 (PDT) Received: from johann by fling.sanbi.ac.za with local (Exim 3.13 #4) id 13mEuz-000EPd-00 for FreeBSD-gnats-submit@freebsd.org; Thu, 19 Oct 2000 14:35:33 +0200 Message-Id: Date: Thu, 19 Oct 2000 14:35:33 +0200 From: johann@egenetics.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/22118: New port: textproc/py-martel Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 22118 >Category: ports >Synopsis: New port: textproc/py-martel >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Oct 19 05:40:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Johann Visagie >Release: FreeBSD 3.5-STABLE i386 >Organization: Electric Genetics >Environment: >Description: - New port for Martel 0.3 - Martel is a scanner generator for regular languages that uses SAX events to send the parse tree information back to the caller. It is written in Python. Martel has particular application in biocomputing fields, but is also of genral use. - Tested on: (a) FreeBSD 3.5-STABLE i386, Python 1.5.2 (b) FreeBSD 5.0-CURRENT i386, Python 2.0 >How-To-Repeat: >Fix: # 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: # # py-martel # py-martel/Makefile # py-martel/pkg-comment # py-martel/distinfo # py-martel/pkg-descr # py-martel/pkg-plist # echo c - py-martel mkdir -p py-martel > /dev/null 2>&1 echo x - py-martel/Makefile sed 's/^X//' >py-martel/Makefile << 'END-of-py-martel/Makefile' X# New ports collection makefile for: py-martel X# Date created: 19 October 2000 X# Whom: Johann Visagie X# X# $FreeBSD$ X# X XPORTNAME= martel XPORTVERSION= 0.3 XCATEGORIES= textproc biology python XMASTER_SITES= http://www.biopython.org/~dalke/Martel/ XPKGNAMEPREFIX= py- XDISTNAME= Martel-${PORTVERSION} X XMAINTAINER= johann@egenetics.com X XRUN_DEPENDS= ${PYXML} \ X ${PYTHON_SITELIBDIR}/TextTools/__init__.py:${PORTSDIR}/textproc/py-mxTextTools X XWRKSRC= ${WRKDIR}/Martel-${PORTVERSION}/Martel XUSE_PYTHON= yes XNO_BUILD= yes X XMARTEL_DIR= ${PYTHON_SITELIBDIR}/Martel XMARTEL_EXAMPLEDIR=${PREFIX}/share/examples/martel XMARTEL_DOCDIR= ${PREFIX}/share/doc/martel X Xdo-install: X @ ${MKDIR} ${MARTEL_DIR} X @ (cd ${WRKSRC} && find *.py examples formats test \ X | cpio --quiet -pdum -R ${BINOWN}:${BINGRP} ${MARTEL_DIR}) X @ ${MKDIR} ${MARTEL_EXAMPLEDIR} X @ ${INSTALL_DATA} ${WRKSRC}/examples/* ${MARTEL_EXAMPLEDIR} X Xpost-install: X.if !defined(NOPORTDOCS) X @ ${MKDIR} ${MARTEL_DOCDIR} X.for docfile in README HISTORY doc/* X @ ${INSTALL_MAN} ${WRKSRC}/${docfile} ${MARTEL_DOCDIR} X.endfor X.endif X X.include END-of-py-martel/Makefile echo x - py-martel/pkg-comment sed 's/^X//' >py-martel/pkg-comment << 'END-of-py-martel/pkg-comment' XA parser generator for regular languages, written in Python END-of-py-martel/pkg-comment echo x - py-martel/distinfo sed 's/^X//' >py-martel/distinfo << 'END-of-py-martel/distinfo' XMD5 (Martel-0.3.tar.gz) = 4fc36181c39b564a3dbbacaab59b7ab8 END-of-py-martel/distinfo echo x - py-martel/pkg-descr sed 's/^X//' >py-martel/pkg-descr << 'END-of-py-martel/pkg-descr' XMartel is a parser generator, written in Python, which takes a regular Xexpression grammer for a format and turns the resultant parsed tree into a Xset of callback events emulating the XML/SAX API. X XIt was originally intended for use in biocomputing applications (such as XBiopython - http://www.biopython.org/), where there is often a need to parse Xexisting flat and semi-structured file formats. However, it is generally Xapplicable to the parsing of such files in all fields of endeavour. X XMore information on Martel may be found in this conference poster: Xhttp://www.biopython.org/~dalke/Martel/BOSC2000.poster/ X XAuthor: Andrew Dalke XWWW: http://www.biopython.org/~dalke/Martel/ X X-- Johann Visagie END-of-py-martel/pkg-descr echo x - py-martel/pkg-plist sed 's/^X//' >py-martel/pkg-plist << 'END-of-py-martel/pkg-plist' Xlib/%%PYTHON_VERSION%%/site-packages/Martel/Expression.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/Generate.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/Parser.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/RecordReader.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/__init__.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/convert_re.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/examples/README Xlib/%%PYTHON_VERSION%%/site-packages/Martel/examples/pdb1plm.ent Xlib/%%PYTHON_VERSION%%/site-packages/Martel/examples/sample.swissprot Xlib/%%PYTHON_VERSION%%/site-packages/Martel/examples/swissprot2html.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/examples/test.mol Xlib/%%PYTHON_VERSION%%/site-packages/Martel/examples/toxml.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/formats/MDL_10_1996.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/formats/PDB_2_1.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/formats/PIR_3_0.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/formats/__init__.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/formats/blastall_2_0_10.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/formats/swissprot38.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/optimize.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/sre_constants.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/sre_parse.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/test/__init__.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/test/support.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/test/test_Expression.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/test/test_Generate.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/test/test_MDL_10_1996.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/test/test_PDB_2_1.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/test/test_PIR_3_0.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/test/test_ParseRecords.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/test/test_RecordReader.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/test/test_blastall_2_0_10.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/test/test_convert_re.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/test/test_optimize.py Xlib/%%PYTHON_VERSION%%/site-packages/Martel/test/test_swissprot38.py Xshare/doc/martel/HISTORY Xshare/doc/martel/README Xshare/doc/martel/tech_description.txt Xshare/doc/martel/writing_a_format.txt Xshare/examples/martel/README Xshare/examples/martel/pdb1plm.ent Xshare/examples/martel/sample.swissprot Xshare/examples/martel/swissprot2html.py Xshare/examples/martel/test.mol Xshare/examples/martel/toxml.py X@dirrm share/examples/martel X@dirrm share/doc/martel X@dirrm lib/%%PYTHON_VERSION%%/site-packages/Martel/test X@dirrm lib/%%PYTHON_VERSION%%/site-packages/Martel/formats X@dirrm lib/%%PYTHON_VERSION%%/site-packages/Martel/examples X@dirrm lib/%%PYTHON_VERSION%%/site-packages/Martel END-of-py-martel/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message