diff options
author | steve <steve@FreeBSD.org> | 2000-12-11 11:11:42 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-12-11 11:11:42 +0800 |
commit | 0abaaabff8dcbd2df86edaa5e0eb7bd398a2b84c (patch) | |
tree | da1f39125193a4102bca2ee3257873311f129f00 /textproc | |
parent | af4705e11d723bc7ac572500015cfb75a09406f2 (diff) | |
download | freebsd-ports-gnome-0abaaabff8dcbd2df86edaa5e0eb7bd398a2b84c.tar.gz freebsd-ports-gnome-0abaaabff8dcbd2df86edaa5e0eb7bd398a2b84c.tar.zst freebsd-ports-gnome-0abaaabff8dcbd2df86edaa5e0eb7bd398a2b84c.zip |
- 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
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/py-martel/Makefile | 1 | ||||
-rw-r--r-- | textproc/py-martel/files/patch-Generate.py | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/textproc/py-martel/Makefile b/textproc/py-martel/Makefile index 17fb1661b76f..8c3fbb8a669d 100644 --- a/textproc/py-martel/Makefile +++ b/textproc/py-martel/Makefile @@ -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 --git a/textproc/py-martel/files/patch-Generate.py b/textproc/py-martel/files/patch-Generate.py new file mode 100644 index 000000000000..caafeaaebc6b --- /dev/null +++ b/textproc/py-martel/files/patch-Generate.py @@ -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 |