[51672] trunk/dports/python

blb at macports.org blb at macports.org
Sun May 31 00:46:30 PDT 2009


Revision: 51672
          http://trac.macports.org/changeset/51672
Author:   blb at macports.org
Date:     2009-05-31 00:46:29 -0700 (Sun, 31 May 2009)
Log Message:
-----------
python/py2[56]-keyczar - semi-stealth update for security issue, not messing with dist_subdir since they also changed the distname; security issue is documented at
<http://groups.google.com/group/keyczar-discuss/browse_thread/thread/5571eca0948b2a13>

Modified Paths:
--------------
    trunk/dports/python/py25-keyczar/Portfile
    trunk/dports/python/py26-keyczar/Portfile

Added Paths:
-----------
    trunk/dports/python/py25-keyczar/files/patch-setup.py.diff
    trunk/dports/python/py26-keyczar/files/patch-setup.py.diff

Removed Paths:
-------------
    trunk/dports/python/py25-keyczar/files/setup.py
    trunk/dports/python/py26-keyczar/files/setup.py

Modified: trunk/dports/python/py25-keyczar/Portfile
===================================================================
--- trunk/dports/python/py25-keyczar/Portfile	2009-05-31 07:04:58 UTC (rev 51671)
+++ trunk/dports/python/py25-keyczar/Portfile	2009-05-31 07:46:29 UTC (rev 51672)
@@ -5,6 +5,7 @@
 
 name                py25-keyczar
 version             0.6b
+revision            1
 categories-append   devel crypto
 maintainers         blb
 description         Easy to use cryptographic toolkit
@@ -18,24 +19,18 @@
 
 homepage            http://www.keyczar.org/
 master_sites        http://keyczar.googlecode.com/files/
-distname            keyczar06b-python
-use_zip             yes
-worksrcdir          Keyczar-Python/src
+distname            python-keyczar-06b
+worksrcdir          Keyczar-Python
 
-checksums           md5     67ba9840ed4e74064e75dfab97805f0d \
-                    sha1    817fb2c284a409e6b1fc7a90bb1ad463195a9241 \
-                    rmd160  267b36896a325583b173d5f12e87a118615808b8
+checksums           md5     bb778ab2ceae236e0819d8c8e75323f7 \
+                    sha1    1cec05d46fc46f54c765d292a760d35ac0969484 \
+                    rmd160  9180e43449f7be2f2fd5e48aa91b2f0d60d811c9
 
 depends_lib-append  port:py25-crypto port:py25-asn1 port:py25-simplejson
 
-post-extract {
-   file copy ${filespath}/setup.py ${worksrcpath}
-   reinplace "s|@@VERSION@@|${version}|g" ${worksrcpath}/setup.py
-   reinplace "s|@@HOME@@|${homepage}|g" ${worksrcpath}/setup.py
-   reinplace "s|@@DESCRIPTION@@|${description}|g" ${worksrcpath}/setup.py
-}
+patchfiles          patch-setup.py.diff
 
 livecheck.check     regex
 livecheck.url       http://code.google.com/p/keyczar/downloads/list
-livecheck.regex     {Keyczar ([a-z0-9.]+) Python Release}
+livecheck.regex     {Keyczar ([a-z0-9.]+) Python}
 

Added: trunk/dports/python/py25-keyczar/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py25-keyczar/files/patch-setup.py.diff	                        (rev 0)
+++ trunk/dports/python/py25-keyczar/files/patch-setup.py.diff	2009-05-31 07:46:29 UTC (rev 51672)
@@ -0,0 +1,9 @@
+--- setup.py.orig	2009-05-28 18:24:39.000000000 -0600
++++ setup.py	2009-05-31 01:34:37.000000000 -0600
+@@ -17,5 +17,6 @@
+       url='http://www.keyczar.org/',
+       version='0.6b',
+       packages=['keyczar'],
++      package_dir={'':'src'},
+       **kw
+ )

Deleted: trunk/dports/python/py25-keyczar/files/setup.py
===================================================================
--- trunk/dports/python/py25-keyczar/files/setup.py	2009-05-31 07:04:58 UTC (rev 51671)
+++ trunk/dports/python/py25-keyczar/files/setup.py	2009-05-31 07:46:29 UTC (rev 51672)
@@ -1,9 +0,0 @@
-from distutils.core import setup
-
-setup( name='keyczar',
-       version='@@VERSION@@',
-       packages=['keyczar'],
-       url='@@HOME@@',
-       description='@@DESCRIPTION@@',
-     )
-

Modified: trunk/dports/python/py26-keyczar/Portfile
===================================================================
--- trunk/dports/python/py26-keyczar/Portfile	2009-05-31 07:04:58 UTC (rev 51671)
+++ trunk/dports/python/py26-keyczar/Portfile	2009-05-31 07:46:29 UTC (rev 51672)
@@ -5,6 +5,7 @@
 
 name                py26-keyczar
 version             0.6b
+revision            1
 categories-append   devel crypto
 maintainers         blb
 description         Easy to use cryptographic toolkit
@@ -18,24 +19,18 @@
 
 homepage            http://www.keyczar.org/
 master_sites        http://keyczar.googlecode.com/files/
-distname            keyczar06b-python
-use_zip             yes
-worksrcdir          Keyczar-Python/src
+distname            python-keyczar-06b
+worksrcdir          Keyczar-Python
 
-checksums           md5     67ba9840ed4e74064e75dfab97805f0d \
-                    sha1    817fb2c284a409e6b1fc7a90bb1ad463195a9241 \
-                    rmd160  267b36896a325583b173d5f12e87a118615808b8
+checksums           md5     bb778ab2ceae236e0819d8c8e75323f7 \
+                    sha1    1cec05d46fc46f54c765d292a760d35ac0969484 \
+                    rmd160  9180e43449f7be2f2fd5e48aa91b2f0d60d811c9
 
 depends_lib-append  port:py26-crypto port:py26-asn1 port:py26-simplejson
 
-post-extract {
-   file copy ${filespath}/setup.py ${worksrcpath}
-   reinplace "s|@@VERSION@@|${version}|g" ${worksrcpath}/setup.py
-   reinplace "s|@@HOME@@|${homepage}|g" ${worksrcpath}/setup.py
-   reinplace "s|@@DESCRIPTION@@|${description}|g" ${worksrcpath}/setup.py
-}
+patchfiles          patch-setup.py.diff
 
 livecheck.check     regex
 livecheck.url       http://code.google.com/p/keyczar/downloads/list
-livecheck.regex     {Keyczar ([a-z0-9.]+) Python Release}
+livecheck.regex     {Keyczar ([a-z0-9.]+) Python}
 

Added: trunk/dports/python/py26-keyczar/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py26-keyczar/files/patch-setup.py.diff	                        (rev 0)
+++ trunk/dports/python/py26-keyczar/files/patch-setup.py.diff	2009-05-31 07:46:29 UTC (rev 51672)
@@ -0,0 +1,9 @@
+--- setup.py.orig	2009-05-28 18:24:39.000000000 -0600
++++ setup.py	2009-05-31 01:34:37.000000000 -0600
+@@ -17,5 +17,6 @@
+       url='http://www.keyczar.org/',
+       version='0.6b',
+       packages=['keyczar'],
++      package_dir={'':'src'},
+       **kw
+ )

Deleted: trunk/dports/python/py26-keyczar/files/setup.py
===================================================================
--- trunk/dports/python/py26-keyczar/files/setup.py	2009-05-31 07:04:58 UTC (rev 51671)
+++ trunk/dports/python/py26-keyczar/files/setup.py	2009-05-31 07:46:29 UTC (rev 51672)
@@ -1,9 +0,0 @@
-from distutils.core import setup
-
-setup( name='keyczar',
-       version='@@VERSION@@',
-       packages=['keyczar'],
-       url='@@HOME@@',
-       description='@@DESCRIPTION@@',
-     )
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090531/8e75e4cd/attachment.html>


More information about the macports-changes mailing list