[80986] trunk/dports/python

raimue at macports.org raimue at macports.org
Fri Jul 22 16:06:46 PDT 2011


Revision: 80986
          http://trac.macports.org/changeset/80986
Author:   raimue at macports.org
Date:     2011-07-22 16:06:46 -0700 (Fri, 22 Jul 2011)
Log Message:
-----------
python/py26-dulwich, python/py27-dulwich:
Update to version 0.7.1,
add patch to fix build on Lion

Modified Paths:
--------------
    trunk/dports/python/py26-dulwich/Portfile
    trunk/dports/python/py27-dulwich/Portfile

Added Paths:
-----------
    trunk/dports/python/py26-dulwich/files/
    trunk/dports/python/py26-dulwich/files/patch-strnlen-lion.diff
    trunk/dports/python/py27-dulwich/files/
    trunk/dports/python/py27-dulwich/files/patch-strnlen-lion.diff

Modified: trunk/dports/python/py26-dulwich/Portfile
===================================================================
--- trunk/dports/python/py26-dulwich/Portfile	2011-07-22 22:50:21 UTC (rev 80985)
+++ trunk/dports/python/py26-dulwich/Portfile	2011-07-22 23:06:46 UTC (rev 80986)
@@ -5,7 +5,7 @@
 PortGroup           python26 1.0
 
 name                py26-dulwich
-version             0.7.0
+version             0.7.1
 categories          python devel
 maintainers         yahoo.com.au:mail_ben_schmidt \
                     openmaintainer
@@ -17,10 +17,13 @@
 homepage            http://samba.org/~jelmer/dulwich/
 platforms           darwin
 master_sites        ${homepage}
+license             GPL-2+
 distname            dulwich-${version}
 
-checksums           sha1    d8244b51727a1a20fd7755cddb4fad0b48fc0e62 \
-                    rmd160  2dc8cfb53c007608725a26bcefb44a4e7089bd14
+checksums           sha1    cfbeb7e83c4258f489ed2736a684190004c1733f \
+                    rmd160  569a628854c2c29d14735acb15615a23fba14417
 
+patchfiles          patch-strnlen-lion.diff
+
 build.target-append build_ext
 build.args          --inplace

Added: trunk/dports/python/py26-dulwich/files/patch-strnlen-lion.diff
===================================================================
--- trunk/dports/python/py26-dulwich/files/patch-strnlen-lion.diff	                        (rev 0)
+++ trunk/dports/python/py26-dulwich/files/patch-strnlen-lion.diff	2011-07-22 23:06:46 UTC (rev 80986)
@@ -0,0 +1,11 @@
+--- dulwich/_objects.c	2011-04-12 16:03:58.000000000 -0400
++++ dulwich/_objects.c	2011-07-15 17:04:29.000000000 -0400
+@@ -25,7 +25,7 @@
+ typedef int Py_ssize_t;
+ #endif
+ 
+-#if defined(__MINGW32_VERSION) || defined(__APPLE__)
++#if defined(__MINGW32_VERSION) || (defined(__APPLE__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070)
+ size_t strnlen(char *text, size_t maxlen)
+ {
+ 	const char *last = memchr(text, '\0', maxlen);

Modified: trunk/dports/python/py27-dulwich/Portfile
===================================================================
--- trunk/dports/python/py27-dulwich/Portfile	2011-07-22 22:50:21 UTC (rev 80985)
+++ trunk/dports/python/py27-dulwich/Portfile	2011-07-22 23:06:46 UTC (rev 80986)
@@ -5,21 +5,23 @@
 PortGroup           python27 1.0
 
 name                py27-dulwich
-version             0.7.0
+version             0.7.1
 categories          python devel
 maintainers         nomaintainer
 description         Pure-Python Git Library
 long_description    Simple Pure-Python implementation of the Git file \
                     formats and protocols. Dulwich is the place where \
                     Mr. and Mrs. Git live in one of the Monty Python sketches.
-license             GPLv2
 homepage            http://samba.org/~jelmer/dulwich/
 platforms           darwin
 master_sites        ${homepage}
+license             GPL-2+
 distname            dulwich-${version}
 
-checksums           sha1    d8244b51727a1a20fd7755cddb4fad0b48fc0e62 \
-                    rmd160  2dc8cfb53c007608725a26bcefb44a4e7089bd14
+checksums           sha1    cfbeb7e83c4258f489ed2736a684190004c1733f \
+                    rmd160  569a628854c2c29d14735acb15615a23fba14417
 
+patchfiles          patch-strnlen-lion.diff
+
 build.target-append build_ext
 build.args          --inplace

Added: trunk/dports/python/py27-dulwich/files/patch-strnlen-lion.diff
===================================================================
--- trunk/dports/python/py27-dulwich/files/patch-strnlen-lion.diff	                        (rev 0)
+++ trunk/dports/python/py27-dulwich/files/patch-strnlen-lion.diff	2011-07-22 23:06:46 UTC (rev 80986)
@@ -0,0 +1,11 @@
+--- dulwich/_objects.c	2011-04-12 16:03:58.000000000 -0400
++++ dulwich/_objects.c	2011-07-15 17:04:29.000000000 -0400
+@@ -25,7 +25,7 @@
+ typedef int Py_ssize_t;
+ #endif
+ 
+-#if defined(__MINGW32_VERSION) || defined(__APPLE__)
++#if defined(__MINGW32_VERSION) || (defined(__APPLE__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070)
+ size_t strnlen(char *text, size_t maxlen)
+ {
+ 	const char *last = memchr(text, '\0', maxlen);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110722/80461f0a/attachment-0001.html>


More information about the macports-changes mailing list