[53427] trunk/dports/python/py-sip

dh at macports.org dh at macports.org
Sun Jul 5 17:13:42 PDT 2009


Revision: 53427
          http://trac.macports.org/changeset/53427
Author:   dh at macports.org
Date:     2009-07-05 17:13:40 -0700 (Sun, 05 Jul 2009)
Log Message:
-----------
* Upgrade version to 4.7.9
* Update homepage and remove unneeded patch file.

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

Removed Paths:
-------------
    trunk/dports/python/py-sip/files/patch-gencode.c.diff

Modified: trunk/dports/python/py-sip/Portfile
===================================================================
--- trunk/dports/python/py-sip/Portfile	2009-07-05 21:53:01 UTC (rev 53426)
+++ trunk/dports/python/py-sip/Portfile	2009-07-06 00:13:40 UTC (rev 53427)
@@ -3,8 +3,8 @@
 PortSystem 1.0
 
 name			py-sip
-version			4.7.6
-revision		1
+version			4.7.9
+platforms               macosx
 categories		python devel
 maintainers		blair openmaintainer
 description		create Python bindings for C and C++ libraries
@@ -15,21 +15,21 @@
 				but can be used to create bindings for any \
 				C or C++ library.
 
-homepage	http://www.riverbankcomputing.co.uk/sip/
+homepage	http://www.riverbankcomputing.co.uk/software/sip/intro
 master_sites	http://www.riverbankcomputing.com/static/Downloads/sip4/ \
                 http://gentoo.mirrors.easynews.com/linux/gentoo/distfiles/ \
                 http://gentoo.osuosl.org/distfiles/ \
                 http://www.gtlib.gatech.edu/pub/gentoo/distfiles/
 
 distname	sip-${version}
-checksums	md5 f49e93046fe438a8fb4c2ed481aa3951 \
-		sha1 8ae089513744c394e502e258b428780260e39cda \
-		rmd160 bc3b9668afc9f3c4e475ccd9a89d1b270ad5d0ba
+checksums	md5 597d7ff7edb42a18421c806ffd18a136 \
+		sha1 a8eabe3890a1fc42ec77ac82fa41344ad23abe09 \
+		rmd160 719f7c7ae211ceb2bb7609c5e70d864054ccd23d
 dist_subdir	python
 
 depends_lib	port:python24
 
-patchfiles      patch-siputils.py.diff patch-gencode.c.diff
+patchfiles      patch-siputils.py.diff
 
 configure.cmd	${prefix}/bin/python2.4 configure.py
 configure.pre_args  -d ${prefix}/lib/python2.4/site-packages \
@@ -46,6 +46,6 @@
 	file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
 	xinstall -m 644 -W ${worksrcpath} LICENSE NEWS README TODO \
 		${destroot}${prefix}/share/doc/${name}
-	system "${prefix}/bin/python2.4 ${prefix}/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/compileall.py ${destroot}${prefix}"
-	system "${prefix}/bin/python2.4 -O ${prefix}/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/compileall.py ${destroot}${prefix}"
+	system "${prefix}/bin/python2.4 ${prefix}/lib/python2.4/compileall.py ${destroot}${prefix}"
+	system "${prefix}/bin/python2.4 -O ${prefix}/lib/python2.4/compileall.py ${destroot}${prefix}"
 }

Deleted: trunk/dports/python/py-sip/files/patch-gencode.c.diff
===================================================================
--- trunk/dports/python/py-sip/files/patch-gencode.c.diff	2009-07-05 21:53:01 UTC (rev 53426)
+++ trunk/dports/python/py-sip/files/patch-gencode.c.diff	2009-07-06 00:13:40 UTC (rev 53427)
@@ -1,27 +0,0 @@
-diff --git sipgen/gencode.c sipgen/gencode.c
-index 035c666..41c7e39 100644
---- sipgen/gencode.c
-+++ sipgen/gencode.c
-@@ -2152,10 +2152,19 @@ static void generateEncodedClass(moduleDef *mod, classDef *cd, int last,
- 
-     prcode(fp, "{%u, ", cd->classnr);
- 
--    if (cmod == mod)
-+    if (cmod == mod) {
-         prcode(fp, "255");
--    else
--        prcode(fp, "%u", cmod->modulenr);
-+    } else {
-+        moduleListDef* m = mod->allimports;
-+        int i = 0;
-+
-+        for (; m != NULL; m = m->next, i++) {
-+            if (cmod == m->module) {
-+                prcode(fp, "%u", i);
-+                break;
-+            }
-+        }
-+    }
- 
-     prcode(fp, ", %u}", last);
- }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090705/bd6cf24a/attachment.html>


More information about the macports-changes mailing list