Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/languages
In directory vz-cvs-3.sog:/tmp/cvs-serv3949

Added Files:
        pyqt4-mac-py.info pyqt4-py.info pyqt4-py.patch 
Log Message:
Move to 10.7.


--- NEW FILE: pyqt4-py.info ---
Info2: <<

Package: pyqt4-py%type_pkg[python]
Version: 4.8.5
Revision: 0.1
#Source: mirror:master:PyQt-x11-gpl-%v.tar.gz
#Source: 
http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-x11-gpl-%v.tar.gz
Source: 
http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-x11-gpl-snapshot-%v-4bd2045a6bc8.tar.gz
Source-MD5: 1cfa50b88b42e37e0a70d449af23d071

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)

PatchFile: %{ni}.patch
PatchFile-MD5: e3f1569a90cd425671d8f7c3293e0741
PatchScript: <<
  %{default_script}
  perl -pi -e 's,macx-g\+\+,darwin-g++,g' configure.py
<<
Depends: <<
  libiconv,
  python%type_pkg[python], 
  phonon-x11-shlibs (>= 4.5.0-1),
  python%type_pkg[python],
  qt4-base-x11-qtcore-shlibs (>= 4.7.3-1),
  qt4-base-x11-qtdeclarative-shlibs (>= 4.7.3-1),
  qt4-base-x11-qtdesigner-shlibs (>= 4.7.3-1),
  qt4-base-x11-qtgui-shlibs (>= 4.7.3-1),
  qt4-base-x11-qthelp-shlibs (>= 4.7.3-1),
  qt4-base-x11-qtmultimedia-shlibs (>= 4.7.3-1),
  qt4-base-x11-qtnetwork-shlibs (>= 4.7.3-1),
  qt4-base-x11-qtopengl-shlibs (>= 4.7.3-1),
  qt4-base-x11-qtscript-shlibs (>= 4.7.3-1),
  qt4-base-x11-qtscripttools-shlibs (>= 4.7.3-1),
  qt4-base-x11-qtsql-shlibs (>= 4.7.3-1),
  qt4-base-x11-qtsvg-shlibs (>= 4.7.3-1),
  qt4-base-x11-qttest-shlibs (>= 4.7.3-1),
  qt4-base-x11-qtxml-shlibs (>= 4.7.3-1),
  qt4-base-x11-qtxmlpatterns-shlibs (>= 4.7.3-1),
  qtwebkit-x11-shlibs (>= 2.0.0-6),
  sip-py%type_pkg[python] (>= 4.12.2-1),
  x11-shlibs
<<
BuildDepends:<<
  fink (>= 0.24.12),
  libiconv-dev,
  phonon-x11 (>= 4.5.0-1),
  qt4-base-x11 (>= 4.7.3-1),
  qtwebkit-x11 (>= 2.0.0-6),
  sip-py%type_pkg[python]-bin (>= 4.12.2-1),
  x11-dev
<<
Type: python (2.6 2.7 3.1 3.2)
UseMaxBuildJobs: true
SetCPPFLAGS: -I%p/lib/qt4-x11/include
SetLDFLAGS: -L%p/lib/qt4-x11/lib
CompileScript: <<
#! /bin/sh -ev
export PATH=%p/lib/qt4-x11/bin:$PATH
export QMAKESPEC="%p/lib/qt4-x11/mkspecs/darwin-g++"
echo "yes" | %p/bin/python%type_raw[python] configure.py \
    -b %i/lib/qt4-x11/lib/python%type_raw[python]/bin \
    -d %i/lib/qt4-x11/lib/python%type_raw[python]/site-packages \
    -p %i/lib/qt4-x11/plugins/python%type_raw[python] \
    -v %i/share/sip-py%type_pkg[python]/pyqt4 \
    -n %i/lib/qt4-x11/include/python%type_raw[python] \
    INCDIR_OPENGL+=/usr/X11R6/include \
    LFLAGS_PLUGIN="-bundle `%p/bin/python%type_raw[python]-config --ldflags`"
make
<<
InstallScript: <<
make install
perl -pi -e 's|%i|%p|g' 
%i/lib/qt4-x11/lib/python%type_raw[python]/site-packages/PyQt4/pyqtconfig.py 
%i/lib/qt4-x11/lib/python%type_raw[python]/bin/pyuic4 
<<
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-x11/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-x11/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-4.8.2 requires SIP 4.12 when it is built.
 
 Previously maintained by Dave Reiser <[email protected]>
<<
Homepage: http://www.riverbankcomputing.co.uk/software/pyqt/intro
Maintainer: Daniel Johnson <[email protected]>
<<

--- NEW FILE: pyqt4-py.patch ---
diff -ru PyQt-x11-gpl-4.8.4.orig/configure.py PyQt-x11-gpl-4.8.4/configure.py
--- PyQt-x11-gpl-4.8.4.orig/configure.py        2011-05-01 08:50:12.000000000 
-0400
+++ PyQt-x11-gpl-4.8.4/configure.py     2011-05-13 21:44:12.000000000 -0400
@@ -946,19 +946,12 @@
                 from distutils.sysconfig import get_config_vars
                 ducfg = get_config_vars()
 
-                if sys.platform == "darwin":
+#                if sys.platform == "darwin":
                     # We need to work out how to specify the right framework
                     # version.
-                    link = "-framework Python"
-                elif "--enable-shared" in ducfg.get("CONFIG_ARGS", ""):
-                    if glob.glob("%s/lib/libpython%d.%d*" % 
(ducfg["exec_prefix"], py_major, py_minor)):
-                        lib_dir_flag = quote("-L%s/lib" % ducfg["exec_prefix"])
-                    elif glob.glob("%s/libpython%d.%d*" % (ducfg["LIBDIR"], 
py_major, py_minor)):
-                        lib_dir_flag = quote("-L%s" % ducfg["LIBDIR"])
-                    else:
-                        sipconfig.inform("Qt Designer plugin disabled because 
Python library couldn't be found")
-                        opts.designer_plugin = False
-
+#                    link = "-framework Python"
+                if 1:
+                    lib_dir_flag = quote("-L%s" % sipcfg.py_lib_dir)
                     link = "%s -lpython%d.%d%s" % (lib_dir_flag, py_major, 
py_minor, abi)
                 else:
                     sipconfig.inform("Qt Designer plugin disabled because 
Python library is static")
@@ -1053,8 +1046,8 @@
     if qt_licensee:
         sipconfig.inform("Qt is licensed to %s." % qt_licensee)
 
-    if sys.platform == "darwin" and qt_framework:
-        sipconfig.inform("Qt is built as a framework.")
+  #  if sys.platform == "darwin" and qt_framework:
+  #      sipconfig.inform("Qt is built as a framework.")
 
     sipconfig.inform("SIP %s is being used." % sipcfg.sip_version_str)
     sipconfig.inform("The Qt header files are in %s." % qt_incdir)
@@ -1472,7 +1465,7 @@
         if "__USE_WS_X11__" in sipcfg.build_macros()["DEFINES"]:
             plattag = "WS_X11"
         else:
-            plattag = "WS_MACX"
+            plattag = "WS_X11"
     else:
         plattag = "WS_X11"
 
@@ -1881,10 +1874,10 @@
         macros['CXXFLAGS'] += ' -mstackrealign'
 
     # Work out how Qt was built on MacOS.
-    if sys.platform == "darwin":
-        if os.access(os.path.join(qt_libdir, "QtCore.framework"), os.F_OK):
-            global qt_framework
-            qt_framework = 1
+#    if sys.platform == "darwin":
+#        if os.access(os.path.join(qt_libdir, "QtCore.framework"), os.F_OK):
+#            global qt_framework
+#            qt_framework = 1
 
     # Get the Makefile generator.
     generator = macros["MAKEFILE_GENERATOR"]
@@ -1908,7 +1901,7 @@
     """
     if sys.platform == "darwin":
         # The Qt binary installer has macx-xcode as the default.
-        args = "-spec %s %s" % (sipcfg.platform, args)
+        args = "-spec %s %s" % ("macx-g++", args)
 
     return args
 
@@ -1935,8 +1928,8 @@
         else:
             exe_file = os.path.join("release", app + ".exe")
             make_target = " release"
-    elif sys.platform == "darwin":
-        exe_file = os.path.join(app + ".app", "Contents", "MacOS", app)
+#    elif sys.platform == "darwin":
+#        exe_file = os.path.join(app + ".app", "Contents", "MacOS", app)
     else:
         exe_file = os.path.join(".", app)
 

--- NEW FILE: pyqt4-mac-py.info ---
Info2: <<

Package: pyqt4-mac-py%type_pkg[python]
Type: python (2.6 2.7 3.1 3.2)
Version: 4.8.5
Revision: 0.1
#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: 46b744a689f83f028b79588fd5b30b53

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)

Depends: <<
  libiconv,
  libpng15-shlibs,
  phonon-mac-shlibs (>= 4.5.0-2),
  python%type_pkg[python],
  qt4-base-mac-qtcore-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.12.2-1)
<<
BuildDepends:<<
  fink (>= 0.24.12),
  libiconv-dev,
  libpng15,
  phonon-mac (>= 4.5.0-2),
  qt4-base-mac (>= 4.7.3-1),
  qtwebkit-mac (>= 2.0.0-7),
  sip-py%type_pkg[python]-bin (>= 4.12.2-1),
  system-openssl-dev
<<

UseMaxBuildJobs: true
SetCPPFLAGS: -I%p/lib/qt4-mac/include
SetLDFLAGS: -L%p/lib/qt4-mac/lib
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 <[email protected]>
<<
Homepage: http://www.riverbankcomputing.co.uk/software/pyqt/intro
Maintainer: Daniel Johnson <[email protected]>
<<


------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to