From owner-freebsd-ports Thu Dec 7 2:40: 7 2000 From owner-freebsd-ports@FreeBSD.ORG Thu Dec 7 02:40:02 2000 Return-Path: Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A113137B401 for ; Thu, 7 Dec 2000 02:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eB7Ae1s17849; Thu, 7 Dec 2000 02:40:01 -0800 (PST) (envelope-from gnats) Resent-Date: Thu, 7 Dec 2000 02:40:01 -0800 (PST) Resent-Message-Id: <200012071040.eB7Ae1s17849@freefall.freebsd.org> Resent-From: gnats-admin@FreeBSD.org (GNATS Management) Resent-To: freebsd-ports@FreeBSD.org Resent-Reply-To: gnats-admin@FreeBSD.org, johann@egenetics.com Received: from fling.sanbi.ac.za (fling.sanbi.ac.za [196.38.142.119]) by hub.freebsd.org (Postfix) with ESMTP id 1FADA37B400 for ; 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: Date: Thu, 07 Dec 2000 12:32:31 +0200 From: johann@egenetics.com Sender: johann@sanbi.ac.za To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/23351: Port update: textproc/py-martel (MAINTAINER) Resent-Sender: gnats@FreeBSD.org Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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