From johann@sanbi.ac.za  Thu Dec  7 02:32:40 2000
Return-Path: <johann@sanbi.ac.za>
Received: from fling.sanbi.ac.za (fling.sanbi.ac.za [196.38.142.119])
	by hub.freebsd.org (Postfix) with ESMTP id 1FADA37B400
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  7 Dec 2000 02:32:37 -0800 (PST)
Received: from johann by fling.sanbi.ac.za with local (Exim 3.13 #4)
	id 143yLn-000BBA-00
	for FreeBSD-gnats-submit@freebsd.org; Thu, 07 Dec 2000 12:32:31 +0200
Message-Id: <E143yLn-000BBA-00@fling.sanbi.ac.za>
Date: Thu, 07 Dec 2000 12:32:31 +0200
From: johann@egenetics.com
Sender: johann@sanbi.ac.za
To: FreeBSD-gnats-submit@freebsd.org
Subject: Port update: textproc/py-martel (MAINTAINER)
X-Send-Pr-Version: 3.2

>Number:         23351
>Category:       ports
>Synopsis:       Port update: textproc/py-martel (MAINTAINER)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 07 02:40:01 PST 2000
>Closed-Date:    Sun Dec 10 19:11:12 PST 2000
>Last-Modified:  Sun Dec 10 19:12:23 PST 2000
>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:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sun Dec 10 19:11:12 PST 2000 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=23351 
>Unformatted:
