pyqt4-mac-py stable port information

Info2: <<

Package: pyqt4-mac-py%type_pkg[python]
Distribution: (%type_pkg[python] = 24) 10.4, (%type_pkg[python] = 24) 10.5
Type: python (2.4 2.5 2.6 2.7 3.1 3.2)
Version: 4.9.1
Revision: 2
#Source: mirror:master:PyQt-mac-gpl-%v.tar.gz
Source: http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-mac-gpl-%v.tar.gz
#Source: http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-mac-gpl-snapshot-%v-4bd2045a6bc8.tar.gz
Source-MD5: 3b9112a49a3484032f29ea7fe65c31e5

Conflicts: pyqt4-py23-bin, pyqt4-py24-bin, pyqt4-py25-bin, pyqt4-py26-bin, pyqt4-mac-py24-bin, pyqt4-mac-py25-bin, pyqt4-mac-py26-bin, pyqt4-py23 (<< 4.7.4-1), pyqt4-py24 (<< 4.7.4-1), pyqt4-py25 (<< 4.7.4-1), pyqt4-py26 (<< 4.7.4-1), pyqt4-mac-py24 (<< 4.7.4-1), pyqt4-mac-py25 (<< 4.7.4-1), pyqt4-mac-py26 (<< 4.7.4-1)
Replaces: pyqt4-py23-bin, pyqt4-py24-bin, pyqt4-py25-bin, pyqt4-py26-bin, pyqt4-mac-py24-bin, pyqt4-mac-py25-bin, pyqt4-mac-py26-bin, pyqt4-py23 (<< 4.7.4-1), pyqt4-py24 (<< 4.7.4-1), pyqt4-py25 (<< 4.7.4-1), pyqt4-py26 (<< 4.7.4-1), pyqt4-mac-py24 (<< 4.7.4-1), pyqt4-mac-py25 (<< 4.7.4-1), pyqt4-mac-py26 (<< 4.7.4-1)

PatchScript: perl -pi -e 's,dbus\.mainloop\.__path__\[0],"%i/lib/qt4-mac/lib/python%type_raw[python]/site-packages/dbus/mainloop",' configure.py

Depends: <<
libiconv,
libpng15-shlibs,
phonon-mac-shlibs (>= 4.5.0-2),
( %type_pkg[python] <= 27 ) pydbus-py%type_pkg[python],
python%type_pkg[python],
qt4-base-mac-qtcore-shlibs (>= 4.7.3-1),
( %type_pkg[python] <= 27 ) qt4-base-mac-qtdbus-shlibs (>= 4.7.3-1),
qt4-base-mac-qtdeclarative-shlibs (>= 4.7.3-1),
qt4-base-mac-qtdesigner-shlibs (>= 4.7.3-1),
qt4-base-mac-qtgui-shlibs (>= 4.7.3-1),
qt4-base-mac-qthelp-shlibs (>= 4.7.3-1),
qt4-base-mac-qtmultimedia-shlibs (>= 4.7.3-1),
qt4-base-mac-qtnetwork-shlibs (>= 4.7.3-1),
qt4-base-mac-qtopengl-shlibs (>= 4.7.3-1),
qt4-base-mac-qtscript-shlibs (>= 4.7.3-1),
qt4-base-mac-qtscripttools-shlibs (>= 4.7.3-1),
qt4-base-mac-qtsql-shlibs (>= 4.7.3-1),
qt4-base-mac-qtsvg-shlibs (>= 4.7.3-1),
qt4-base-mac-qttest-shlibs (>= 4.7.3-1),
qt4-base-mac-qtxml-shlibs (>= 4.7.3-1),
qt4-base-mac-qtxmlpatterns-shlibs (>= 4.7.3-1),
qtwebkit-mac-shlibs (>= 2.0.0-7),
sip-py%type_pkg[python] (>= 4.13.2-1)
<<
BuildDepends:<<
( %type_pkg[python] <= 27 ) dbus1.3-dev,
fink (>= 0.24.12),
libiconv-dev,
libpng15,
phonon-mac (>= 4.5.0-2),
( %type_pkg[python] <= 27 ) pydbus-py%type_pkg[python]-dev,
qt4-base-mac (>= 4.7.3-1),
qtwebkit-mac (>= 2.0.0-7),
sip-py%type_pkg[python]-bin (>= 4.13.2-1),
system-openssl-dev
<<

UseMaxBuildJobs: true
SetCPPFLAGS: -I%p/lib/qt4-mac/include
SetLDFLAGS: -L%p/lib/qt4-mac/lib
BuildDependsOnly: false
CompileScript: <<
#! /bin/sh -ev
export PATH=%p/lib/qt4-mac/bin:$PATH
export QTDIR=%p/lib/qt4-mac

echo "yes" | %p/bin/python%type_raw[python] configure.py \
-b %i/lib/qt4-mac/lib/python%type_raw[python]/bin \
-d %i/lib/qt4-mac/lib/python%type_raw[python]/site-packages \
-q %p/lib/qt4-mac/bin/qmake \
-p %i/lib/qt4-mac/plugins/python%type_raw[python] \
-v %i/share/sip-py%type_pkg[python]/pyqt4-mac \
-n %i/lib/qt4-mac/include/python%type_raw[python] \
INCDIR_OPENGL+=/usr/X11R6/include \
LFLAGS_PLUGIN="-bundle `%p/bin/python%type_raw[python]-config --ldflags`"
make
<<
InstallScript: <<
#!/bin/sh -ev
make install
perl -pi -e 's|%i|%p|g' %i/lib/qt4-mac/lib/python%type_raw[python]/site-packages/PyQt4/pyqtconfig.py
cat >%i/lib/qt4-mac/lib/python%type_raw[python]/bin/pyuic4 << 'EOF'
#!/bin/sh
export PYTHONPATH=%p/lib/qt4-mac/lib/python%type_raw[python]/site-packages
exec %p/bin/python%type_raw[python] %p/lib/qt4-mac/lib/python%type_raw[python]/site-packages/PyQt4/uic/pyuic.py ${1+"$@"}
EOF
<<
DocFiles: LICENSE.GPL2 LICENSE.GPL3 GPL_EXCEPTION_ADDENDUM.TXT GPL_EXCEPTION.TXT OPENSOURCE-NOTICE.TXT NEWS README
License: GPL
Description: Python bindings for the Qt toolkit
DescUsage: <<
To use pyuic4, pylupdate4, or pyrcc4, you need to make sure that
%p/lib/qt4-mac/lib/python%type_raw[python]/bin is in your PATH.

For other software to use the pyqt4 libraries, it will be
necessary to modify PYTHONPATH to include
%p/lib/qt4-mac/lib/python%type_raw[python]/site-packages.

Fink package maintainers may need to figure out where in a
package PYTHONPATH is set/modified in order to patch the
package to include the fink pyqt4 location in PYTHONPATH.

<<
DescPackaging: <<
Rolling the old -bin splitoff into the main package, and installing
all components in non-standard locations so that different
python versions and x11/mac versions will not conflict or
interfere with each other.

PyQt4-mac-4.8.2 requires SIP 4.12 when it is built.

Previously maintained by Dave Reiser
<<
Homepage: http://www.riverbankcomputing.co.uk/software/pyqt/intro
Maintainer: Daniel Johnson
<<