[110167] trunk/dports/python/py-zeroc-ice35/Portfile

blair at macports.org blair at macports.org
Tue Aug 27 12:34:26 PDT 2013


Revision: 110167
          https://trac.macports.org/changeset/110167
Author:   blair at macports.org
Date:     2013-08-27 12:34:26 -0700 (Tue, 27 Aug 2013)
Log Message:
-----------
py-zeroc-ice35: drop support for Python 2.5.

There are a number of defines used by the Ice Python bindings that are
not provided by Python 2.5:

Connection.cpp:66:5: error: use of undeclared identifier 'Py_TYPE'
    Py_TYPE(self)->tp_free(reinterpret_cast<PyObject*>(self));
    ^
Connection.cpp:115:69: error: use of undeclared identifier 'Py_TYPE'
            PyErr_Format(PyExc_TypeError, "can't compare %s to %s", Py_TYPE(c1)->tp_name, Py_TYPE(other)->tp_name);
                                                                    ^
Connection.cpp:500:5: error: use of undeclared identifier 'PyVarObject_HEAD_INIT'
    PyVarObject_HEAD_INIT(0, 0)
    ^
ConnectionInfo.cpp:49:5: error: use of undeclared identifier 'Py_TYPE'
    Py_TYPE(self)->tp_free(reinterpret_cast<PyObject*>(self));
    ^
ConnectionInfo.cpp:176:5: error: use of undeclared identifier 'PyVarObject_HEAD_INIT'
    PyVarObject_HEAD_INIT(0, 0)
    ^
ConnectionInfo.cpp:223:5: error: use of undeclared identifier 'PyVarObject_HEAD_INIT'
    PyVarObject_HEAD_INIT(0, 0)
    ^
ConnectionInfo.cpp:270:5: error: use of undeclared identifier 'PyVarObject_HEAD_INIT'
    PyVarObject_HEAD_INIT(0, 0)
    ^
ConnectionInfo.cpp:317:5: error: use of undeclared identifier 'PyVarObject_HEAD_INIT'
    PyVarObject_HEAD_INIT(0, 0)
    ^
Current.cpp:98:5: error: use of undeclared identifier 'Py_TYPE'
    Py_TYPE(self)->tp_free(reinterpret_cast<PyObject*>(self));
    ^
Current.cpp:276:5: error: use of undeclared identifier 'PyVarObject_HEAD_INIT'
    PyVarObject_HEAD_INIT(0, 0)
    ^
Endpoint.cpp:48:5: error: use of undeclared identifier 'Py_TYPE'
    Py_TYPE(self)->tp_free(reinterpret_cast<PyObject*>(self));
    ^
Endpoint.cpp:97:69: error: use of undeclared identifier 'Py_TYPE'
            PyErr_Format(PyExc_TypeError, "can't compare %s to %s", Py_TYPE(p1)->tp_name, Py_TYPE(other)->tp_name);
                                                                    ^
Endpoint.cpp:170:5: error: use of undeclared identifier 'PyVarObject_HEAD_INIT'
    PyVarObject_HEAD_INIT(0, 0)
    ^
EndpointInfo.cpp:47:5: error: use of undeclared identifier 'Py_TYPE'
    Py_TYPE(self)->tp_free(reinterpret_cast<PyObject*>(self));
    ^
EndpointInfo.cpp:268:5: error: use of undeclared identifier 'PyVarObject_HEAD_INIT'
    PyVarObject_HEAD_INIT(0, 0)
    ^
EndpointInfo.cpp:315:5: error: use of undeclared identifier 'PyVarObject_HEAD_INIT'
    PyVarObject_HEAD_INIT(0, 0)
    ^
EndpointInfo.cpp:362:5: error: use of undeclared identifier 'PyVarObject_HEAD_INIT'
    PyVarObject_HEAD_INIT(0, 0)
    ^
EndpointInfo.cpp:409:5: error: use of undeclared identifier 'PyVarObject_HEAD_INIT'
    PyVarObject_HEAD_INIT(0, 0)
    ^
EndpointInfo.cpp:456:5: error: use of undeclared identifier 'PyVarObject_HEAD_INIT'
    PyVarObject_HEAD_INIT(0, 0)
    ^
ImplicitContext.cpp:57:5: error: use of undeclared identifier 'Py_TYPE'
    Py_TYPE(self)->tp_free(reinterpret_cast<PyObject*>(self));
    ^
ImplicitContext.cpp:106:69: error: use of undeclared identifier 'Py_TYPE'
            PyErr_Format(PyExc_TypeError, "can't compare %s to %s", Py_TYPE(c1)->tp_name, Py_TYPE(other)->tp_name);
                                                                    ^
ImplicitContext.cpp:317:5: error: use of undeclared identifier 'PyVarObject_HEAD_INIT'
    PyVarObject_HEAD_INIT(0, 0)
    ^

Modified Paths:
--------------
    trunk/dports/python/py-zeroc-ice35/Portfile

Modified: trunk/dports/python/py-zeroc-ice35/Portfile
===================================================================
--- trunk/dports/python/py-zeroc-ice35/Portfile	2013-08-27 19:25:39 UTC (rev 110166)
+++ trunk/dports/python/py-zeroc-ice35/Portfile	2013-08-27 19:34:26 UTC (rev 110167)
@@ -42,21 +42,9 @@
 
 platforms       darwin
 
-python.versions 25 26 27
+python.versions 26 27
 
 if {$subport != $name} {
-    # Special case Python 25 so only one Portfile is needed, as the
-    # Python Ice bindings need a the paths to the framework portion of
-    # the Python build.  These copied from python26-1.0.tcl.
-    if {${python.version} == 25} {
-        set python.prefix   ${frameworks_dir}/Python.framework/Versions/${python.branch}
-        set python.bin      ${python.prefix}/bin/python${python.branch}
-        set python.lib      ${python.prefix}/Python
-        set python.libdir   ${python.prefix}/lib/python${python.branch}
-        set python.pkgd     ${python.prefix}/lib/python${python.branch}/site-packages
-        set python.include  ${python.prefix}/include/python${python.branch}
-    }
-
     depends_lib-append  port:zeroc-ice35
 
     build.dir       ${worksrcpath}/py
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130827/b48be2c7/attachment.html>


More information about the macports-changes mailing list