diff options
author | wjv <wjv@FreeBSD.org> | 2002-01-22 17:52:50 +0800 |
---|---|---|
committer | wjv <wjv@FreeBSD.org> | 2002-01-22 17:52:50 +0800 |
commit | 4cf5ec1cf0f11f9bdb76dc74741ec15b7ff24c9e (patch) | |
tree | 347a4842c2f1245eedb3a30f7bd68dadecd56d59 /textproc/py-martel | |
parent | 63fbb65448d282b6bcf3b1a0c7291c6003a34445 (diff) | |
download | freebsd-ports-gnome-4cf5ec1cf0f11f9bdb76dc74741ec15b7ff24c9e.tar.gz freebsd-ports-gnome-4cf5ec1cf0f11f9bdb76dc74741ec15b7ff24c9e.tar.zst freebsd-ports-gnome-4cf5ec1cf0f11f9bdb76dc74741ec15b7ff24c9e.zip |
- Update to version 0.8, as distributed with Biopython 1.00a4
- This port now installs Martel from the Biopython distribution
Diffstat (limited to 'textproc/py-martel')
-rw-r--r-- | textproc/py-martel/Makefile | 20 | ||||
-rw-r--r-- | textproc/py-martel/distinfo | 2 | ||||
-rw-r--r-- | textproc/py-martel/files/patch-Generate.py | 18 | ||||
-rw-r--r-- | textproc/py-martel/pkg-plist | 16 |
4 files changed, 12 insertions, 44 deletions
diff --git a/textproc/py-martel/Makefile b/textproc/py-martel/Makefile index f5e63657c2e3..e11d9d336ec2 100644 --- a/textproc/py-martel/Makefile +++ b/textproc/py-martel/Makefile @@ -6,13 +6,13 @@ # PORTNAME= martel -PORTVERSION= 0.6 +PORTVERSION= 0.8 PORTEPOCH= 1 CATEGORIES= textproc biology python -MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITES= http://www.biopython.org/Download/ MASTER_SITE_SUBDIR= wjv PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= Martel-${PORTVERSION} +DISTNAME= biopython-${BIOPYTHON_VERSION} MAINTAINER= wjv@FreeBSD.org @@ -20,9 +20,9 @@ BUILD_DEPENDS= ${PYDISTUTILS} RUN_DEPENDS= ${PYTHON_SITELIBDIR}/mx/TextTools/__init__.py:${PORTSDIR}/lang/py-mx-base USE_PYTHON= yes -USE_BZIP2= yes +WRKSRC= ${WRKDIR}/${DISTNAME}/Martel +BIOPYTHON_VERSION= 1.00a4 PYTHON_SETUP= ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py -EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME} do-build: @ cd ${WRKSRC} && ${PYTHON_SETUP} build @@ -33,14 +33,4 @@ pre-install: do-install: @ cd ${WRKSRC} && ${PYTHON_SETUP} install -c -O1 --prefix=${PREFIX} -post-install: -.if !defined(NOPORTDOCS) - @ ${MKDIR} ${DOCSDIR} -.for docfile in README HISTORY doc/* - @ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR} -.endfor - @ ${MKDIR} ${EXAMPLESDIR} - @ ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} -.endif - .include <bsd.port.mk> diff --git a/textproc/py-martel/distinfo b/textproc/py-martel/distinfo index d45bf3171ca0..04d7f8a434bf 100644 --- a/textproc/py-martel/distinfo +++ b/textproc/py-martel/distinfo @@ -1 +1 @@ -MD5 (Martel-0.6.tar.bz2) = f7d720ff6169c75a588ea4e8e2a8542b +MD5 (biopython-1.00a4.tar.gz) = bca77b4242c9a8495f60c7475b884c5d diff --git a/textproc/py-martel/files/patch-Generate.py b/textproc/py-martel/files/patch-Generate.py deleted file mode 100644 index 036c7508e416..000000000000 --- a/textproc/py-martel/files/patch-Generate.py +++ /dev/null @@ -1,18 +0,0 @@ -From: "Andrew Dalke" <dalke@acm.org> -To: <biopython-dev@biopython.org> -Date: Tue, 16 Jan 2001 18:57:23 -0700 - -There's a small bug with the debug_level = 2 option -in Martel. When the debug position is within the -first 8 characters it does not show the match text. - ---- Generate.py.orig Fri Jan 19 14:50:01 2001 -+++ Generate.py Fri Jan 19 14:50:06 2001 -@@ -460,7 +460,7 @@ - s = s[:17] + " ... " + s[-17:] - self.msg = s - def __call__(self, text, x, end): -- print "Match %s (x=%d): %s" % (repr(text[x-8:x+8]), x, -+ print "Match %s (x=%d): %s" % (repr(text[max(0, x-8):x+8]), x, - repr(self.msg)) - return x diff --git a/textproc/py-martel/pkg-plist b/textproc/py-martel/pkg-plist index 79d57c139a63..76bdd337f074 100644 --- a/textproc/py-martel/pkg-plist +++ b/textproc/py-martel/pkg-plist @@ -1,11 +1,3 @@ -%%PORTDOCS%%share/doc/martel/HISTORY -%%PORTDOCS%%share/doc/martel/README -%%PORTDOCS%%share/doc/martel/intro.txt -%%PORTDOCS%%share/doc/martel/tech_description.txt -%%PORTDOCS%%share/doc/martel/writing_a_format.txt -%%PORTDOCS%%share/examples/martel/sample.comma -%%PORTDOCS%%share/examples/martel/sample.swissprot -%%PORTDOCS%%share/examples/martel/sample.tab lib/%%PYTHON_VERSION%%/site-packages/Martel/Expression.py lib/%%PYTHON_VERSION%%/site-packages/Martel/Expression.pyc lib/%%PYTHON_VERSION%%/site-packages/Martel/Expression.pyo @@ -15,12 +7,18 @@ lib/%%PYTHON_VERSION%%/site-packages/Martel/Generate.pyo lib/%%PYTHON_VERSION%%/site-packages/Martel/Iterator.py lib/%%PYTHON_VERSION%%/site-packages/Martel/Iterator.pyc lib/%%PYTHON_VERSION%%/site-packages/Martel/Iterator.pyo +lib/%%PYTHON_VERSION%%/site-packages/Martel/LAX.py +lib/%%PYTHON_VERSION%%/site-packages/Martel/LAX.pyc +lib/%%PYTHON_VERSION%%/site-packages/Martel/LAX.pyo lib/%%PYTHON_VERSION%%/site-packages/Martel/Parser.py lib/%%PYTHON_VERSION%%/site-packages/Martel/Parser.pyc lib/%%PYTHON_VERSION%%/site-packages/Martel/Parser.pyo lib/%%PYTHON_VERSION%%/site-packages/Martel/RecordReader.py lib/%%PYTHON_VERSION%%/site-packages/Martel/RecordReader.pyc lib/%%PYTHON_VERSION%%/site-packages/Martel/RecordReader.pyo +lib/%%PYTHON_VERSION%%/site-packages/Martel/Time.py +lib/%%PYTHON_VERSION%%/site-packages/Martel/Time.pyc +lib/%%PYTHON_VERSION%%/site-packages/Martel/Time.pyo lib/%%PYTHON_VERSION%%/site-packages/Martel/__init__.py lib/%%PYTHON_VERSION%%/site-packages/Martel/__init__.pyc lib/%%PYTHON_VERSION%%/site-packages/Martel/__init__.pyo @@ -37,5 +35,3 @@ lib/%%PYTHON_VERSION%%/site-packages/Martel/optimize.py lib/%%PYTHON_VERSION%%/site-packages/Martel/optimize.pyc lib/%%PYTHON_VERSION%%/site-packages/Martel/optimize.pyo @dirrm lib/%%PYTHON_VERSION%%/site-packages/Martel -%%PORTDOCS%%@dirrm share/examples/martel -%%PORTDOCS%%@dirrm share/doc/martel |