[50063] trunk/dports/python

blb at macports.org blb at macports.org
Thu Apr 23 20:21:03 PDT 2009


Revision: 50063
          http://trac.macports.org/changeset/50063
Author:   blb at macports.org
Date:     2009-04-23 20:21:02 -0700 (Thu, 23 Apr 2009)
Log Message:
-----------
New port - python/py26-orbit, Python binding for the ORBit2 CORBA ORB

Modified Paths:
--------------
    trunk/dports/python/py26-orbit/Portfile

Added Paths:
-----------
    trunk/dports/python/py26-orbit/
    trunk/dports/python/py26-orbit/files/
    trunk/dports/python/py26-orbit/files/patch-configure.diff

Modified: trunk/dports/python/py26-orbit/Portfile
===================================================================
--- trunk/dports/python/py25-orbit/Portfile	2009-04-23 21:52:54 UTC (rev 50056)
+++ trunk/dports/python/py26-orbit/Portfile	2009-04-24 03:21:02 UTC (rev 50063)
@@ -1,13 +1,13 @@
 # $Id$
 
 PortSystem 1.0
-name            py25-orbit
+name            py26-orbit
 set my_name     pyorbit
 version         2.24.0
 set branch      [join [lrange [split $version .] 0 1] .]
 categories      python gnome
 platforms       darwin
-maintainers     pguyot at kallisys.net openmaintainer
+maintainers     nomaintainer
 description     Python binding for the ORBit2 CORBA ORB - Default branch.
 long_description PyORBit is a Python binding for the ORBit2 CORBA ORB. It \
                 was developped to suit the needs of the bonobo bindings \
@@ -26,21 +26,28 @@
                 sha1    f9877ce9672ed3c3d001b86924f1b6514a79efc9 \
                 rmd160  55aa1c3ac0739d398d8e9bbda93ef36f7c659360
 
-depends_lib     port:python25 \
+depends_lib     port:python26 \
                 port:orbit2
 
-configure.python ${prefix}/bin/python2.5
+set python.prefix   ${frameworks_dir}/Python.framework/Versions/2.6
 
+patchfiles      patch-configure.diff
+post-patch {
+   reinplace "s|@@PYTHON_PREFIX@@|${python.prefix}|g" ${worksrcpath}/configure
+}
+
+configure.args  --includedir=${python.prefix}/include/python2.6
+configure.python ${prefix}/bin/python2.6
+
 use_parallel_build  yes
 
 build.args      PYTHON_LDFLAGS= PYTHON_LIBS=
 
-platform darwin 9 {
-    post-patch {
-        reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/src/Makefile.in
-    }
+post-destroot {
+   move ${destroot}${prefix}/lib/pkgconfig ${destroot}${python.prefix}/lib
 }
 
 livecheck.check regex
 livecheck.url   http://ftp.gnome.org/pub/gnome/sources/$my_name/$branch/
 livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
+

Added: trunk/dports/python/py26-orbit/files/patch-configure.diff
===================================================================
--- trunk/dports/python/py26-orbit/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/python/py26-orbit/files/patch-configure.diff	2009-04-24 03:21:02 UTC (rev 50063)
@@ -0,0 +1,14 @@
+--- configure.orig	2008-09-23 06:31:28.000000000 -0600
++++ configure	2009-04-23 20:09:42.000000000 -0600
+@@ -20099,9 +20099,9 @@
+ 
+ 
+ 
+-  PYTHON_PREFIX='${prefix}'
++  PYTHON_PREFIX='@@PYTHON_PREFIX@@'
+ 
+-  PYTHON_EXEC_PREFIX='${exec_prefix}'
++  PYTHON_EXEC_PREFIX='@@PYTHON_PREFIX@@'
+ 
+ 
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090423/ddfef8aa/attachment.html>


More information about the macports-changes mailing list