[MacPorts] #33574: from PySide import QtCore fails
MacPorts
noreply at macports.org
Sat Mar 17 12:26:17 PDT 2012
#33574: from PySide import QtCore fails
--------------------------------+-------------------------------------------
Reporter: blair@… | Owner: mmoll@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: py-pyside
--------------------------------+-------------------------------------------
Comment(by blair@…):
Taking your code from py-shiboken and applying it to py-pyside worked, now
'from PySide import QtGui' works. Here's the diff I used:
{{{
--- Portfile.orig 2012-01-02 20:00:28.000000000 -0800
+++ Portfile 2012-03-17 12:24:29.000000000 -0700
@@ -35,7 +35,11 @@
port:python${python.version}
use_configure yes
configure.args-append -DBUILD_TESTS:BOOL=FALSE \
-
-DSITE_PACKAGE=${prefix}/Library/Frameworks/Python.framework/Versions/${python.branch}/lib/python${python.branch
}/site-packages
+ -DPYTHON_EXECUTABLE=${python.bin} \
+ -DPYTHON_LIBRARY=${python.lib} \
+ -DPYTHON_INCLUDE_DIR=${python.include} \
+
-DSITE_PACKAGE=${prefix}/Library/Frameworks/Python.framework/Versions/${python.branch}/lib/python${python.branch
}/site-packages
+
}}}
Do we need SITE_PACKAGE given that py-shiboken doesn't use it?
--
Ticket URL: <https://trac.macports.org/ticket/33574#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list