- 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:
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
|
@ -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/
|
||||
|
|
16
textproc/py-martel/files/patch-Generate.py
Normal file
16
textproc/py-martel/files/patch-Generate.py
Normal 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
|
Loading…
Reference in a new issue