Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/languages In directory vz-cvs-3.sog:/tmp/cvs-serv1781
Added Files: sip-py.info sip-py.patch Log Message: Move to 10.7. --- NEW FILE: sip-py.patch --- diff -ru sip-4.12.1.orig/configure.py sip-4.12.1/configure.py --- sip-4.12.1.orig/configure.py 2011-01-22 08:47:21.000000000 -0500 +++ sip-4.12.1/configure.py 2011-02-21 15:01:28.000000000 -0500 @@ -209,7 +209,7 @@ else: lib_dir = sysconfig.get_python_lib(plat_specific=1, standard_lib=1) - plat_py_lib_dir = lib_dir + "/config" + plat_py_lib_dir = sysconfig.get_config_var('LIBPL') plat_bin_dir = sys.exec_prefix + "/bin" plat_sip_dir = sys.prefix + "/share/sip" diff -ru sip-4.12.1.orig/siputils.py sip-4.12.1/siputils.py --- sip-4.12.1.orig/siputils.py 2011-01-22 08:45:38.000000000 -0500 +++ sip-4.12.1/siputils.py 2011-02-21 15:00:43.000000000 -0500 @@ -1183,7 +1183,7 @@ if self.generator == "UNIX": dst = "$(DESTDIR)" + dst - mfile.write("\t@%s %s " % (self.chkdir, _quote(dst))) + mfile.write("\t%s %s " % (self.chkdir, _quote(dst))) if self.generator == "UNIX": mfile.write("|| ") @@ -1265,14 +1265,7 @@ mfile.write("\n" + target + ":\n") for d in self._subdirs: - if self.generator == "MINGW": - mfile.write("\t@$(MAKE) -C %s%s\n" % (d, tname)) - elif self.generator == "UNIX": - mfile.write("\t@(cd %s; $(MAKE)%s)\n" % (d, tname)) - else: - mfile.write("\tcd %s\n" % d) - mfile.write("\t$(MAKE)%s\n" % tname) - mfile.write("\t@cd ..\n") + mfile.write("\t$(MAKE) -C %s%s\n" % (d, tname)) class PythonModuleMakefile(Makefile): @@ -1418,10 +1411,7 @@ # can handle extension modules that are bundles or dynamic # libraries, but python.org versions need bundles (unless built # with DYNLOADFILE=dynload_shlib.o). - if sys.platform == "darwin": - lflags_plugin = ["-bundle"] - else: - lflags_plugin = self.optional_list("LFLAGS_PLUGIN") + lflags_plugin = self.optional_list("LFLAGS_PLUGIN") if not lflags_plugin: lflags_plugin = self.optional_list("LFLAGS_SHLIB") @@ -1430,7 +1420,7 @@ self.LFLAGS.extend(self.optional_list(lflags_console)) - if sys.platform == "darwin": + if 0: # 'real_prefix' exists if virtualenv is being used. dl = getattr(sys, 'real_prefix', sys.exec_prefix).split(os.sep) --- NEW FILE: sip-py.info --- Info2: << Package: sip-py%type_pkg[python] Version: 4.12.3 Revision: 1 Type: python (2.6 2.7 3.1 3.2) Source: http://www.riverbankcomputing.com/static/Downloads/sip4/sip-%v.tar.gz Source-MD5: d0f1fa60494db04b4d115d4c2d92f79e GCC: 4.0 Depends: python%type_pkg[python] BuildDepends: fink (>= 0.24.12-1) PatchFile: %{ni}.patch PatchFile-MD5: 884908ac4512cf62dbcba9e46cac64eb UseMaxBuildJobs: true CompileScript: << %p/bin/python%type_raw[python] configure.py \ -p macx-g++ \ -v %p/share/sip-py%type_pkg[python] \ INCDIR_OPENGL=/usr/X11R6/include \ LFLAGS_PLUGIN="-bundle `%p/bin/python%type_raw[python]-config --ldflags`" perl -pi -e 's,exe = \"pythonw\",exe = \"%p/bin/python%type_raw[python]\",g' sipconfig.py make << InstallScript: << make install DESTDIR=%d << DocFiles: LICENSE* NEWS README SplitOff: << Package: %N-bin Depends: sip-py%type_pkg[python] Conflicts: << sip-py23-bin, sip-py24-bin, sip-py25-bin, sip-py26-bin, sip-py27-bin, sip-py31-bin << Replaces: << sip-py24 (<= 4.3.1-3), sip-py23 (<= 4.3.1-3), sip (<< 4.3.1-1006), sip-py23-bin, sip-py24-bin, sip-py25-bin, sip-py26-bin, sip-py27-bin, sip-py31-bin << Files: bin DocFiles: LICENSE* NEWS README License: GPL << DescPackaging: << Disable requirement of framework-built python on darwin. Don't over-ride specs/ for plugin compiler flags on darwin. Previously maintained by Dave Reiser <dbrei...@users.sourceforge.net> << Description: Create Python bindings for C and C++ Libs Homepage: http://www.riverbankcomputing.co.uk/software/sip/intro License: GPL Maintainer: Daniel Johnson <dan...@daniel-johnson.org> << ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs