[40743] trunk/dports/python/py-managesieve

gboyce at macports.org gboyce at macports.org
Mon Oct 13 12:21:27 PDT 2008


Revision: 40743
          http://trac.macports.org/changeset/40743
Author:   gboyce at macports.org
Date:     2008-10-13 12:21:27 -0700 (Mon, 13 Oct 2008)
Log Message:
-----------
Upgrading to the newly released py-managesieve 0.4

Modified Paths:
--------------
    trunk/dports/python/py-managesieve/Portfile

Added Paths:
-----------
    trunk/dports/python/py-managesieve/files/ez_setup.patch

Removed Paths:
-------------
    trunk/dports/python/py-managesieve/files/02-python-managesieve-debug_fix.patch
    trunk/dports/python/py-managesieve/files/03-python-managesieve-starttls_fixup.patch
    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-10-13 18:59:46 UTC (rev 40742)
+++ trunk/dports/python/py-managesieve/Portfile	2008-10-13 19:21:27 UTC (rev 40743)
@@ -4,8 +4,8 @@
 PortGroup python24 1.0
 
 name			py-managesieve
-version			0.3
-revision		4
+version			0.4
+revision		1
 categories		python mail
 platforms		darwin freebsd
 maintainers		gboyce
@@ -14,15 +14,17 @@
 				MANGAGESIEVE client library for remotely managing \
 				Sieve scripts, including an interactive sieveshell.
 
-homepage		http://www.crazy-compilers.com/py-lib/managesieve.html
-master_sites	http://www.crazy-compilers.com/py-lib/
-distname		python-managesieve-${version}
-checksums		md5 b2a28b90b7a4e9a8789235f4cc6e32c0
-patchfiles		02-python-managesieve-debug_fix.patch \
-			03-python-managesieve-starttls_fixup.patch \
-			05-python-managesieve-optik2optparse.patch
+homepage		http://python-managesieve.origo.ethz.ch
+master_sites		http://download.origo.ethz.ch/python-managesieve/833/
+distname		managesieve-${version}
+depends_build		port:py-setuptools
+use_bzip2               yes
+checksums		md5 add9cd4b54d51e18af99e79a0da26f8e	\
+			sha1 33c255058b57dfab62557255c5bf2321b700d1ff
 
+patchfiles		ez_setup.patch
+
 post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} draft-martin-managesieve-04.txt \
+	xinstall -m 644 -W ${worksrcpath} draft-martin-managesieve-07.txt \
 		HISTORY README TODO ${destroot}${prefix}/share/doc/${name}
 }

Deleted: trunk/dports/python/py-managesieve/files/02-python-managesieve-debug_fix.patch
===================================================================
--- trunk/dports/python/py-managesieve/files/02-python-managesieve-debug_fix.patch	2008-10-13 18:59:46 UTC (rev 40742)
+++ trunk/dports/python/py-managesieve/files/02-python-managesieve-debug_fix.patch	2008-10-13 19:21:27 UTC (rev 40743)
@@ -1,20 +0,0 @@
-==== //sandbox/gboyce/sieve/python-managesieve-0.3/managesieve.py#9 - /Users/gboyce/perforce/sandbox/sieve/python-managesieve-0.3/managesieve.py ====
---- managesieve.py      Sat May 24 13:45:40 2003
-+++ managesieve.py.new  Mon Aug 25 13:58:52 2008
-@@ -13,7 +13,15 @@
- 
- __all__ = [ 'MANAGESIEVE', 'SIEVE_PORT', 'OK', 'NO', 'BYE', 'Debug']
- 
--from imaplib import _log, _mesg
-+# XXX darky -- these are now in an IMAP4 class, and I don't think we
-+# should be using them.
-+#from imaplib import _log, _mesg
-+
-+import logging
-+log = logging.getLogger("managesieve")
-+def _log(message):
-+    log.debug(message)
-+_mesg = _log
- 
- Debug = 0
- CRLF = '\r\n'

Deleted: trunk/dports/python/py-managesieve/files/03-python-managesieve-starttls_fixup.patch
===================================================================
--- trunk/dports/python/py-managesieve/files/03-python-managesieve-starttls_fixup.patch	2008-10-13 18:59:46 UTC (rev 40742)
+++ trunk/dports/python/py-managesieve/files/03-python-managesieve-starttls_fixup.patch	2008-10-13 19:21:27 UTC (rev 40743)
@@ -1,17 +0,0 @@
-==== //sandbox/gboyce/sieve/python-managesieve-0.3/managesieve.py#9 - /Users/gboyce/perforce/sandbox/sieve/python-managesieve-0.3/managesieve.py ====
---- managesieve.py      Sat May 24 13:45:40 2003
-+++ managesieve.py.new  Mon Aug 25 13:58:52 2008
-@@ -135,6 +135,13 @@
- 
- 
-     def _parse_capabilities(self, lines):
-+        # XXX darky: seeing the STARTTLS cap makes managesieve barf
-+        # because 'data' (in the below unpack) has nothing to unpack.
-+        # Fix up lines for this.
-+        for pair in lines:
-+            if len(pair) == 1:
-+                pair.append("")
-+            assert len(pair) == 2
-         for typ, data in lines:
-             if __debug__:
-                 if self.debug >= 3:

Deleted: trunk/dports/python/py-managesieve/files/05-python-managesieve-optik2optparse.patch
===================================================================
--- trunk/dports/python/py-managesieve/files/05-python-managesieve-optik2optparse.patch	2008-10-13 18:59:46 UTC (rev 40742)
+++ trunk/dports/python/py-managesieve/files/05-python-managesieve-optik2optparse.patch	2008-10-13 19:21:27 UTC (rev 40743)
@@ -1,14 +0,0 @@
---- 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 "

Added: trunk/dports/python/py-managesieve/files/ez_setup.patch
===================================================================
--- trunk/dports/python/py-managesieve/files/ez_setup.patch	                        (rev 0)
+++ trunk/dports/python/py-managesieve/files/ez_setup.patch	2008-10-13 19:21:27 UTC (rev 40743)
@@ -0,0 +1,11 @@
+--- ez_setup.py.old	2008-10-13 15:08:23.000000000 -0400
++++ ez_setup.py	2008-10-13 15:07:51.000000000 -0400
+@@ -14,7 +14,7 @@
+ This file can also be run as a script to install or upgrade setuptools.
+ """
+ import sys
+-DEFAULT_VERSION = "0.6c9"
++DEFAULT_VERSION = "0.6c8"
+ DEFAULT_URL     = "http://pypi.python.org/packages/%s/s/setuptools/" % sys.version[:3]
+ 
+ md5_data = {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081013/70fc6aff/attachment-0001.html 


More information about the macports-changes mailing list