[98492] trunk/dports/python/py-shiboken/Portfile

blair at macports.org blair at macports.org
Sat Oct 6 17:03:16 PDT 2012


Revision: 98492
          http://trac.macports.org//changeset/98492
Author:   blair at macports.org
Date:     2012-10-06 17:03:16 -0700 (Sat, 06 Oct 2012)
Log Message:
-----------
py-shiboken: add libxslt to depends_lib.

Both libxslt and libxml2 are found and used at configure time:

-- Found PythonLibs: /opt/local/Library/Frameworks/Python.framework
/Versions/2.7/Python (found suitable version "2.7.3", required is "2.6") 
-- !!! The generated bindings will be installed on /opt/local/lib/p
ython2.7/site-packages, is it right!?
-- Found LibXml2: /opt/local/lib/libxml2.dylib (found suitable version "2.8.0", required is "2.6.32") 
-- Found LibXslt: /opt/local/lib/libxslt.dylib (found suitable version "1.1.26", required is "1.1.19") 


This was found by doing an archive only install of py27-pyside:

x ./opt/local/include/PySide/QtGui/pyside_qtgui_python.h
x ./opt/local/include/PySide/QtGui/qpytextobject.h
x ./opt/local/include/PySide/QtDeclarative/pyside_qtdeclarative_python.h
x ./opt/local/include/PySide/QtCore/pyside_qtcore_python.h
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 98.6%
Could not open /opt/local/lib/libxslt.1.dylib: Error opening or reading file (referenced from /opt/local/bin/shiboken)
--->  Scanning binaries for linking errors: 100.0%
--->  Found 1 broken file(s), matching files to ports
--->  Found 1 broken port(s), determining rebuild order
--->  Rebuilding in order
     py27-shiboken @1.1.2
--->  Computing dependencies for py27-shiboken.
--->  Scanning binaries for linking errors: 98.6%
Could not open /opt/local/lib/libxslt.1.dylib: Error opening or reading file (referenced from /opt/local/bin/shiboken)
--->  Scanning binaries for linking errors: 100.0%
--->  Found 1 broken file(s), matching files to ports
Port py27-shiboken still broken after reinstalling -- can't rebuild due to binary-only mode
    while executing
"error "Port $portname still broken after reinstalling -- can't rebuild due to binary-only mode""
    (procedure "revupgrade_scanandrebuild" line 258)
    invoked from within
"revupgrade_scanandrebuild broken_port_counts $opts"
    (procedure "macports::revupgrade" line 5)
    invoked from within
"macports::revupgrade $opts"
    (procedure "action_revupgrade" line 2)
    invoked from within
"action_revupgrade $action $portlist $opts"
    (procedure "action_target" line 94)
    invoked from within
"$action_proc $action $portlist [array get global_options]"
    (procedure "process_cmd" line 95)
    invoked from within
"process_cmd $remaining_args"
    invoked from within
"if { [llength $remaining_args] > 0 } {

    # If there are remaining arguments, process those as a command
    set exit_status [process_cmd $remaining..."
    (file "/opt/local/bin/port" line 4784)

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

Modified: trunk/dports/python/py-shiboken/Portfile
===================================================================
--- trunk/dports/python/py-shiboken/Portfile	2012-10-06 23:52:51 UTC (rev 98491)
+++ trunk/dports/python/py-shiboken/Portfile	2012-10-07 00:03:16 UTC (rev 98492)
@@ -7,6 +7,7 @@
 set realname        shiboken
 name                py-${realname}
 version             1.1.2
+revision            1
 python.versions     25 26 27
 python.default_version 27
 categories          python devel
@@ -36,7 +37,9 @@
     patchfiles          default_visibility.patch \
                         filename_collision.patch
 
-    depends_lib-append  port:qt4-mac port:python${python.version}
+    depends_lib-append  port:qt4-mac \
+                        port:python${python.version} \
+                        port:libxslt
     use_configure   yes
     configure.args-append -DBUILD_TESTS:BOOL=FALSE \
                     -DPYTHON_EXECUTABLE=${python.bin} \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121006/0f7285dc/attachment.html>


More information about the macports-changes mailing list