- Added a patch to fix a small bug, as suggested by Martel's author.

- Bumped PORTREVISION
- Added file:  files/patch-Generate.py

PR:		23351
Submitted by:	maintainer
This commit is contained in:
Steve Price 2000-12-11 03:11:42 +00:00
parent 7314b99412
commit b61989711f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35878
2 changed files with 17 additions and 0 deletions

View file

@ -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/

View file

@ -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