[40073] trunk/dports/python/py-managesieve
gboyce at macports.org
gboyce at macports.org
Fri Sep 19 13:25:25 PDT 2008
Revision: 40073
http://trac.macports.org/changeset/40073
Author: gboyce at macports.org
Date: 2008-09-19 13:25:25 -0700 (Fri, 19 Sep 2008)
Log Message:
-----------
Removed optik depenency.
optik was incorporated into python 2.3 as OptionParser
Modified Paths:
--------------
trunk/dports/python/py-managesieve/Portfile
Added Paths:
-----------
trunk/dports/python/py-managesieve/files/05-python-managesieve-optik2optparse.patch
Modified: trunk/dports/python/py-managesieve/Portfile
===================================================================
--- trunk/dports/python/py-managesieve/Portfile 2008-09-19 20:12:12 UTC (rev 40072)
+++ trunk/dports/python/py-managesieve/Portfile 2008-09-19 20:25:25 UTC (rev 40073)
@@ -5,7 +5,7 @@
name py-managesieve
version 0.3
-revision 3
+revision 4
categories python mail
platforms darwin freebsd
maintainers gboyce at macports.org
@@ -19,10 +19,9 @@
distname python-managesieve-${version}
checksums md5 b2a28b90b7a4e9a8789235f4cc6e32c0
patchfiles 02-python-managesieve-debug_fix.patch \
- 03-python-managesieve-starttls_fixup.patch
+ 03-python-managesieve-starttls_fixup.patch \
+ 05-python-managesieve-optik2optparse.patch
-depends_lib-append port:py-optik
-
post-destroot {
xinstall -m 644 -W ${worksrcpath} draft-martin-managesieve-04.txt \
HISTORY README TODO ${destroot}${prefix}/share/doc/${name}
Added: trunk/dports/python/py-managesieve/files/05-python-managesieve-optik2optparse.patch
===================================================================
--- trunk/dports/python/py-managesieve/files/05-python-managesieve-optik2optparse.patch (rev 0)
+++ trunk/dports/python/py-managesieve/files/05-python-managesieve-optik2optparse.patch 2008-09-19 20:25:25 UTC (rev 40073)
@@ -0,0 +1,14 @@
+--- sieveshell Sat May 24 13:45:40 2003
++++ sieveshell.new Mon Aug 25 13:58:52 2008
+@@ -266,7 +266,10 @@
+
+ def main():
+ """Parse options and call interactive shell."""
+- from optik import OptionParser
++ try:
++ from optparse import OptionParser
++ except:
++ from optik import OptionParser
+ parser = OptionParser('Usage: %prog [options] server')
+ parser.add_option('--authname', type="string", dest='authname',
+ help= ("The user to use for authentication "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080919/f15edce2/attachment.html
More information about the macports-changes
mailing list