Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Dec 2000 12:32:31 +0200
From:      johann@egenetics.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/23351: Port update: textproc/py-martel (MAINTAINER)
Message-ID:  <E143yLn-000BBA-00@fling.sanbi.ac.za>
Resent-Message-ID: <200012071040.eB7Ae1s17849@freefall.freebsd.org>

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

>Number:         23351
>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:   Thu Dec 07 02:40:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Johann Visagie
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Electric Genetics
>Environment:
>Description:
- Added a patch to fix a small bug, as suggested by Martel's author.
- Bumped PORTREVISION
- Added file:  files/patch-Generate.py
>How-To-Repeat:
>Fix:
diff -ruN py-martel.bak/Makefile py-martel/Makefile
--- py-martel.bak/Makefile	Thu Dec  7 12:29:49 2000
+++ py-martel/Makefile	Thu Dec  7 12:29:10 2000
@@ -7,6 +7,7 @@
 
 PORTNAME=	martel
 PORTVERSION=	0.4
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	textproc biology python
 MASTER_SITES=	http://www.biopython.org/~dalke/Martel/
diff -ruN py-martel.bak/files/patch-Generate.py py-martel/files/patch-Generate.py
--- py-martel.bak/files/patch-Generate.py	Thu Jan  1 02:00:00 1970
+++ py-martel/files/patch-Generate.py	Thu Dec  7 12:27:39 2000
@@ -0,0 +1,16 @@
+--- Generate.py.orig	Wed Nov 22 09:26:48 2000
++++ Generate.py	Thu Dec  7 12:27:09 2000
+@@ -268,11 +268,11 @@
+ 
+     # Must repeat at least "i" times.
+     for i in range(min_count):
+-        result.append( (None, TT.SubTable, tuple(tagtable)) )
++        result.append( (">ignore", TT.Table, tuple(tagtable)) )
+ 
+     # Special case for when the max count means "unbounded"
+     if max_count == sre_parse.MAXREPEAT:
+-        result.append( (None, TT.SubTable, tuple(tagtable),
++        result.append( (">ignore", TT.Table, tuple(tagtable),
+                                   +1, 0))
+     elif min_count == max_count:
+         # Special case when i == j

>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?E143yLn-000BBA-00>