Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Dec 2000 16:17:13 +0200
From:      johann@egenetics.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/23210: Port update: textproc/py-martel (MAINTAINER)
Message-ID:  <E141qzx-000KUv-00@fling.sanbi.ac.za>

next in thread | raw e-mail | index | archive | help

>Number:         23210
>Category:       ports
>Synopsis:       Port update: textproc/py-martel (MAINTAINER)
>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:   Fri Dec 01 06:20:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Johann Visagie
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Electric Genetics
>Environment:
>Description:
- Update of port textprox/py-martel from 0.3.5 to 0.4
- The only major new functionality is the ability to handle EOL conventions
  for multiple platforms (not fully tested).
- The author contends that Martel is now ready for "real work"; 0.4 is to be
  considered a stable development release.
- Added a paragraph to ${DESCR} to clarify the purpose of Martel.
- Cleaned up Makefile a bit.
- Removed an erroneously installed directory.
>How-To-Repeat:
>Fix:
diff -ruN py-martel.bak/Makefile py-martel/Makefile
--- py-martel.bak/Makefile	Fri Dec  1 15:59:04 2000
+++ py-martel/Makefile	Fri Dec  1 15:59:53 2000
@@ -6,32 +6,34 @@
 #
 
 PORTNAME=	martel
-PORTVERSION=	0.3.5
+PORTVERSION=	0.4
 PORTEPOCH=	1
 CATEGORIES=	textproc biology python
 MASTER_SITES=	http://www.biopython.org/~dalke/Martel/
-PKGNAMEPREFIX=	py-
-DISTNAME=	Martel-0.35
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	Martel-0.4
 
 MAINTAINER=	johann@egenetics.com
 
 RUN_DEPENDS=	${PYTHON_SITELIBDIR}/TextTools/__init__.py:${PORTSDIR}/textproc/py-mxTextTools
 
 PYTHON_VERSION=	python2.0
-NO_BUILD=	yes
 
 MARTEL_DIR=	${PYTHON_SITELIBDIR}/Martel
 MARTEL_EXAMPLEDIR=${PREFIX}/share/examples/martel
 MARTEL_DOCDIR=	${PREFIX}/share/doc/martel
 
+do-build:
+	@ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
+	@ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
+
 do-install:
 	@ ${MKDIR} ${MARTEL_DIR}
-	@ (cd ${WRKSRC} && find *.py examples formats test \
+	@ (cd ${WRKSRC} && find *.py *.pyc *.pyo formats test \
 	  | cpio --quiet -pdum -R ${BINOWN}:${BINGRP} ${MARTEL_DIR})
-	@ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${MARTEL_DIR}
-	@ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${MARTEL_DIR}
-	@ ${MKDIR} ${MARTEL_EXAMPLEDIR}
+	@ ${MKDIR} ${MARTEL_EXAMPLEDIR}/builders
 	@ ${INSTALL_DATA} ${WRKSRC}/examples/* ${MARTEL_EXAMPLEDIR}
+	@ ${INSTALL_DATA} ${WRKSRC}/builders/* ${MARTEL_EXAMPLEDIR}/builders
 
 post-install:
 .if !defined(NOPORTDOCS)
diff -ruN py-martel.bak/distinfo py-martel/distinfo
--- py-martel.bak/distinfo	Fri Dec  1 15:59:04 2000
+++ py-martel/distinfo	Fri Dec  1 15:28:00 2000
@@ -1 +1 @@
-MD5 (Martel-0.35.tar.gz) = 8743c59c37132ecfe6a99c91f774409e
+MD5 (Martel-0.4.tar.gz) = 3f54a121b70b69f6167dd61343c73cc0
diff -ruN py-martel.bak/pkg-descr py-martel/pkg-descr
--- py-martel.bak/pkg-descr	Fri Dec  1 15:59:04 2000
+++ py-martel/pkg-descr	Fri Dec  1 16:10:50 2000
@@ -1,10 +1,13 @@
 Martel is a parser generator, written in Python, which takes a regular
-expression grammer for a format and turns the resultant parsed tree into a
-set of callback events emulating the XML/SAX API.
+expression grammer for a file format and turns the resultant parsed tree into
+a set of callback events emulating the XML/SAX API.
 
-It was originally intended for use in biocomputing applications (such as
-Biopython - http://www.biopython.org/), where there is often a need to parse
-existing flat and semi-structured file formats.  However, it is generally
+Essentially this means that existing and readily available XML tools can be
+used to parse non-XML flat file formats.
+
+Martel was originally intended for use in biocomputing applications (such as
+Biopython - http://www.biopython.org/) where there is often a need to parse
+flat and semi-structured legacy file formats.  However, it is generally
 applicable to the parsing of such files in all fields of endeavour.
 
 More information on Martel may be found in this conference poster:
diff -ruN py-martel.bak/pkg-plist py-martel/pkg-plist
--- py-martel.bak/pkg-plist	Fri Dec  1 15:59:04 2000
+++ py-martel/pkg-plist	Fri Dec  1 15:56:55 2000
@@ -19,16 +19,6 @@
 lib/%%PYTHON_VERSION%%/site-packages/Martel/convert_re.py
 lib/%%PYTHON_VERSION%%/site-packages/Martel/convert_re.pyc
 lib/%%PYTHON_VERSION%%/site-packages/Martel/convert_re.pyo
-lib/%%PYTHON_VERSION%%/site-packages/Martel/examples/README
-lib/%%PYTHON_VERSION%%/site-packages/Martel/examples/pdb1plm.ent
-lib/%%PYTHON_VERSION%%/site-packages/Martel/examples/sample.swissprot
-lib/%%PYTHON_VERSION%%/site-packages/Martel/examples/swissprot2html.py
-lib/%%PYTHON_VERSION%%/site-packages/Martel/examples/swissprot2html.pyc
-lib/%%PYTHON_VERSION%%/site-packages/Martel/examples/swissprot2html.pyo
-lib/%%PYTHON_VERSION%%/site-packages/Martel/examples/test.mol
-lib/%%PYTHON_VERSION%%/site-packages/Martel/examples/toxml.py
-lib/%%PYTHON_VERSION%%/site-packages/Martel/examples/toxml.pyc
-lib/%%PYTHON_VERSION%%/site-packages/Martel/examples/toxml.pyo
 lib/%%PYTHON_VERSION%%/site-packages/Martel/formats/MDL_10_1996.py
 lib/%%PYTHON_VERSION%%/site-packages/Martel/formats/MDL_10_1996.pyc
 lib/%%PYTHON_VERSION%%/site-packages/Martel/formats/MDL_10_1996.pyo
@@ -92,6 +82,9 @@
 lib/%%PYTHON_VERSION%%/site-packages/Martel/test/test_RecordReader.py
 lib/%%PYTHON_VERSION%%/site-packages/Martel/test/test_RecordReader.pyc
 lib/%%PYTHON_VERSION%%/site-packages/Martel/test/test_RecordReader.pyo
+lib/%%PYTHON_VERSION%%/site-packages/Martel/test/test_RecordReader2.py
+lib/%%PYTHON_VERSION%%/site-packages/Martel/test/test_RecordReader2.pyc
+lib/%%PYTHON_VERSION%%/site-packages/Martel/test/test_RecordReader2.pyo
 lib/%%PYTHON_VERSION%%/site-packages/Martel/test/test_blastall_2_0_10.py
 lib/%%PYTHON_VERSION%%/site-packages/Martel/test/test_blastall_2_0_10.pyc
 lib/%%PYTHON_VERSION%%/site-packages/Martel/test/test_blastall_2_0_10.pyo
@@ -108,14 +101,21 @@
 lib/%%PYTHON_VERSION%%/site-packages/Martel/test/test_swissprot38.pyc
 lib/%%PYTHON_VERSION%%/site-packages/Martel/test/test_swissprot38.pyo
 share/examples/martel/README
+share/examples/martel/builders/SwissProtBuilder.py
+share/examples/martel/builders/SwissProtBuilder.pyc
+share/examples/martel/builders/SwissProtBuilder.pyo
 share/examples/martel/pdb1plm.ent
 share/examples/martel/sample.swissprot
 share/examples/martel/swissprot2html.py
+share/examples/martel/swissprot2html.pyc
+share/examples/martel/swissprot2html.pyo
 share/examples/martel/test.mol
 share/examples/martel/toxml.py
+share/examples/martel/toxml.pyc
+share/examples/martel/toxml.pyo
+@dirrm share/examples/martel/builders
 @dirrm share/examples/martel
 @dirrm lib/%%PYTHON_VERSION%%/site-packages/Martel/test
 @dirrm lib/%%PYTHON_VERSION%%/site-packages/Martel/formats
-@dirrm lib/%%PYTHON_VERSION%%/site-packages/Martel/examples
 @dirrm lib/%%PYTHON_VERSION%%/site-packages/Martel
 @unexec rm -rf %D/share/doc/martel 2>/dev/null || true

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E141qzx-000KUv-00>