Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/libs/pythonmods In directory vz-cvs-3.sog:/tmp/cvs-serv13626/stable/main/finkinfo/libs/pythonmods
Added Files: pylibacl-py.info pylibacl-py.patch pyobjc-py.info pyobjc-py.patch python-cdb-py.info pyxg-py.info pyxg-py.patch webpy-py.info Log Message: sync a bunch of -pyXX to stable --- NEW FILE: pyobjc-py.info --- Info2: << Package: pyobjc-py%type_pkg[python] Version: 2.2+svn2349 Revision: 1 Type: python(2.5 2.6) Distribution: 10.5, 10.6 Architecture: powerpc, i386 License: BSD Maintainer: James Bunton <jamesbun...@fastmail.fm> Homepage: http://pyobjc.sourceforge.net/ Description: Glue to interface Python with Objective-C DescDetail: << The PyObjC package provides the glue needed to interface the Python interpreter with the Objective-C language. At its core is the 'objc' module makes Objective-C objects and classes available as first-class Python citizens. It is not only possible to use Objective-C objects but you can also subclass Objective-C classes. To make it easier to use the core 'objc' module, this package also provides a number of modules that are wrappers for the Cocoa frameworks, such as Foundation and AppKit. These modules not only give you access to the classes in these frameworks but also to the functions and constants in those modules. To test see windows appear on your Mac OS X desktop from Python scripts, run some of the example scripts in the pyobjc-pyXX-doc package. << BuildDepends: fink (>= 0.24.12) Depends: python%type_pkg[python], setuptools-py%type_pkg[python] Source: http://delx.net.au/software/pyobjc-%v.tar.bz2 Source-MD5: 03f3af1ca313f7061c24de823005576d PatchFile: %{ni}.patch PatchFile-md5: f906d4d896a6d2e0de5585b256c54bf5 CompileScript: << #!/bin/bash -ev distribution="$(sw_vers -productVersion | cut -d. -f1-2)" if [ "%type_raw[python]" = "2.5" ]; then export CC=gcc-4.0 export CFLAGS='-D_DARWIN_C_SOURCE' fi for proj in pyobjc-core pyobjc-metadata pyobjc-framework* do echo -ne "\n----- $proj -----\n\n" if [ "$distribution" = "10.5" ] && grep -q "min_os_level='10.6'" "${proj}/setup.py"; then rm -rf "${proj}" continue fi pushd "${proj}" > /dev/null # Build python libs %p/bin/python%type_raw[python] setup.py build popd > /dev/null done << InstallScript: << #!/bin/bash -ev for proj in pyobjc-core pyobjc-metadata pyobjc-framework* do echo -ne "\n----- $proj -----\n\n" pushd "${proj}" > /dev/null # Install python libs %p/bin/python%type_raw[python] setup.py install --root=%d # Install docs mkdir -p %i/share/doc/%N/"${proj}" for doc in Doc doc Examples examples README.txt ReadMe.txt NEWS.txt HISTORIC.txt Install.txt; do if [ -r "$doc" ]; then cp -rp "$doc" %i/share/doc/%N/"${proj}"/ fi done popd > /dev/null done # Language versioned executables cd %i/bin for filename in *; do mv -v $filename $filename-py%type_pkg[python] done << SplitOff: << Description: Binaries for pyobjc Package: %N-bin Depends: %N (= %v-%r) Files: bin PostInstScript: << for filename in \ nibclassbuilder \ pyobjc-metadata-gen \ pyobjc-metadata-lint \ pyobjc-metadata-overrides \ pyobjc-wrapper-gen do update-alternatives --install %p/bin/$filename $filename %p/bin/$filename-py%type_pkg[python] %type_pkg[python] done << PreRmScript: << if [ "$1" = "upgrade" ]; then exit fi for filename in \ nibclassbuilder \ pyobjc-metadata-gen \ pyobjc-metadata-lint \ pyobjc-metadata-overrides \ pyobjc-wrapper-gen do update-alternatives --remove $filename %p/bin/$filename-py%type_pkg[python] done << << SplitOff2: << Description: Docs and example scripts for pyobjc Package: %N-doc Files: share/doc/%N << DescPackaging: << There are no available tarballs of pyobjc The file pyobjc-2.2+svn2349.tar.bz2 was created from trunk of the pyobjc repository with the following commands. $ umask 022 $ svn export -r 2349 http://svn.red-bean.com/pyobjc/trunk/pyobjc pyobjc-2.2+svn2349 $ rm -rf altgraph macholib modulegraph py2app PyOpenGL-2.0.2.01 $ tar jcf pyobjc-2.2+svn2349.tar.bz2 pyobjc-2.2+svn2349/ << << --- NEW FILE: pylibacl-py.info --- Info2: << Package: pylibacl-py%type_pkg[python] Version: 0.2.1 Revision: 2 Distribution: (%type_pkg[python] = 24) 10.4, (%type_pkg[python] = 24) 10.5 Type: python (2.4 2.5) Description: Python module for POSIX.1e ACLs License: GPL Homepage: http://pylibacl.sourceforge.net/ Maintainer: None <fink-de...@lists.sourceforge.net> # Dependencies. BuildDepends: fink (>= 0.24.12) Depends: python%type_pkg[python], setuptools-py%type_pkg[python] # Unpack Phase. Source: mirror:sourceforge:/pylibacl/pylibacl-%v.tar.bz2 Source-MD5: 5c06b62ca4ee453042c9fa3f28aa56e8 #Patch Phase PatchFile: %{ni}.patch PatchFile-MD5: 30b55124d4b38cde0117a827326f40fc PatchScript: sed 's,python2.X,py%type_pkg[python],g' < %{PatchFile} | patch -p1 # Compile Phase. CompileScript: %p/bin/python%type_raw[python] setup.py build # Install Phase. InstallScript: %p/bin/python%type_raw[python] setup.py install --root=%d # Documentation. DescDetail: << This python extension module allows you to manipulate POSIX.1e Access Control Lists available in Mac OS X 10.4 Tiger. << DescPackaging: Previously maintained by Murali Vadivelu << --- NEW FILE: python-cdb-py.info --- Info2: << Package: python-cdb-py%type_pkg[python] Version: 0.32 Revision: 1003 Distribution: (%type_pkg[python] = 24) 10.4, (%type_pkg[python] = 24) 10.5 Type: python (2.4 2.5 2.6) Depends: python%type_pkg[python] Source: http://pilcrow.madison.wi.us/python-cdb/python-cdb-%v.tar.gz Source-MD5: 0e303095f8c0ea9f09d7f11faf89805f CompileScript: %p/bin/python%type_raw[python] setup.py build InstallScript: << %p/bin/python%type_raw[python] setup.py install --prefix=%i << License: GPL DocFiles: MANIFEST README Example Description: Python interface to the CDB library DescDetail: << python-cdb is D. J. Bernstein's constant database library adapted as a python extension module. cdb files are mappings of keys to values, designed for wickedly fast lookups and atomic updates. This module mimics the normal cdb utilities (cdb(get|dump|make)) via convenient high-level Python objects. << DescPackaging: Formerly maintained by Jason R. Mastaler Maintainer: None <fink-de...@lists.sourceforge.net> Homepage: http://pilcrow.madison.wi.us/#pycdb << --- NEW FILE: pyobjc-py.patch --- diff -ur a/pyobjc-framework-CFNetwork/setup.py b/pyobjc-framework-CFNetwork/setup.py --- a/pyobjc-framework-CFNetwork/setup.py 2009-10-14 17:05:03.000000000 +1100 +++ b/pyobjc-framework-CFNetwork/setup.py 2010-02-21 03:48:24.000000000 +1100 @@ -26,7 +26,7 @@ ext_modules = [ Extension("CFNetwork._manual", ["Modules/_manual.m"], - extra_link_args=['-framework', 'CoreServices'], + extra_link_args=['-framework', 'CoreServices', '-lobjc'], ), ], ) diff -ur a/pyobjc-framework-Cocoa/setup.py b/pyobjc-framework-Cocoa/setup.py --- a/pyobjc-framework-Cocoa/setup.py 2009-10-14 17:05:03.000000000 +1100 +++ b/pyobjc-framework-Cocoa/setup.py 2010-02-21 03:56:18.000000000 +1100 @@ -22,58 +22,58 @@ # CoreFoundation Extension('CoreFoundation._inlines', [ 'Modules/_CoreFoundation_inlines.m' ], - extra_link_args=['-framework', 'CoreFoundation']), + extra_link_args=['-framework', 'Cocoa']), Extension('CoreFoundation._CFCalendar', [ 'Modules/_CoreFoundation_CFCalendar.m' ], - extra_link_args=['-framework', 'CoreFoundation']), + extra_link_args=['-framework', 'Cocoa']), Extension('CoreFoundation._CFTree', [ 'Modules/_CoreFoundation_CFTree.m' ], - extra_link_args=['-framework', 'CoreFoundation']), + extra_link_args=['-framework', 'Cocoa']), Extension('CoreFoundation._CFBag', [ 'Modules/_CoreFoundation_CFBag.m' ], - extra_link_args=['-framework', 'CoreFoundation']), + extra_link_args=['-framework', 'Cocoa']), Extension('CoreFoundation._CFBinaryHeap', [ 'Modules/_CoreFoundation_CFBinaryHeap.m' ], - extra_link_args=['-framework', 'CoreFoundation']), + extra_link_args=['-framework', 'Cocoa']), Extension('CoreFoundation._CFBitVector', [ 'Modules/_CoreFoundation_CFBitVector.m' ], - extra_link_args=['-framework', 'CoreFoundation']), + extra_link_args=['-framework', 'Cocoa']), Extension('CoreFoundation._CFDictionary', [ 'Modules/_CoreFoundation_CFDictionary.m' ], - extra_link_args=['-framework', 'CoreFoundation']), + extra_link_args=['-framework', 'Cocoa']), Extension('CoreFoundation._CFFileDescriptor', [ 'Modules/_CoreFoundation_CFFileDescriptor.m' ], - extra_link_args=['-framework', 'CoreFoundation']), + extra_link_args=['-framework', 'Cocoa']), Extension('CoreFoundation._CFMachPort', [ 'Modules/_CoreFoundation_CFMachPort.m' ], - extra_link_args=['-framework', 'CoreFoundation']), + extra_link_args=['-framework', 'Cocoa']), Extension('CoreFoundation._CFMessagePort', [ 'Modules/_CoreFoundation_CFMessagePort.m' ], - extra_link_args=['-framework', 'CoreFoundation']), + extra_link_args=['-framework', 'Cocoa']), Extension('CoreFoundation._CFNumber', [ 'Modules/_CoreFoundation_CFNumber.m' ], - extra_link_args=['-framework', 'CoreFoundation']), + extra_link_args=['-framework', 'Cocoa']), Extension('CoreFoundation._CFReadStream', [ 'Modules/_CoreFoundation_CFReadStream.m' ], - extra_link_args=['-framework', 'CoreFoundation']), + extra_link_args=['-framework', 'Cocoa']), Extension('CoreFoundation._CFSet', [ 'Modules/_CoreFoundation_CFSet.m' ], - extra_link_args=['-framework', 'CoreFoundation']), + extra_link_args=['-framework', 'Cocoa']), Extension('CoreFoundation._CFSocket', [ 'Modules/_CoreFoundation_CFSocket.m' ], - extra_link_args=['-framework', 'CoreFoundation']), + extra_link_args=['-framework', 'Cocoa']), Extension('CoreFoundation._CFWriteStream', [ 'Modules/_CoreFoundation_CFWriteStream.m' ], - extra_link_args=['-framework', 'CoreFoundation']), + extra_link_args=['-framework', 'Cocoa']), Extension('CoreFoundation._CFRunLoopObserver', [ 'Modules/_CoreFoundation_CFRunLoopObserver.m' ], - extra_link_args=['-framework', 'CoreFoundation']), + extra_link_args=['-framework', 'Cocoa']), Extension('CoreFoundation._CFRunLoopSource', [ 'Modules/_CoreFoundation_CFRunLoopSource.m' ], - extra_link_args=['-framework', 'CoreFoundation']), + extra_link_args=['-framework', 'Cocoa']), Extension('CoreFoundation._CFRunLoopTimer', [ 'Modules/_CoreFoundation_CFRunLoopTimer.m' ], - extra_link_args=['-framework', 'CoreFoundation']), + extra_link_args=['-framework', 'Cocoa']), # Foundation Extension('Foundation._nsinvocation', diff -ur a/pyobjc-framework-CoreText/setup.py b/pyobjc-framework-CoreText/setup.py --- a/pyobjc-framework-CoreText/setup.py 2009-10-14 17:05:03.000000000 +1100 +++ b/pyobjc-framework-CoreText/setup.py 2010-02-21 03:58:17.000000000 +1100 @@ -19,7 +19,7 @@ ext_modules = [ Extension('CoreText._manual', [ 'Modules/_manual.m' ], - extra_link_args=['-framework', 'CoreServices'], + extra_link_args=['-framework', 'Cocoa'], ), ], install_requires = [ diff -ur a/pyobjc-framework-FSEvents/setup.py b/pyobjc-framework-FSEvents/setup.py --- a/pyobjc-framework-FSEvents/setup.py 2009-10-14 17:05:03.000000000 +1100 +++ b/pyobjc-framework-FSEvents/setup.py 2010-02-21 03:58:53.000000000 +1100 @@ -23,6 +23,7 @@ ext_modules = [ Extension("FSEvents._callbacks", [ "Modules/_callbacks.m" ], + extra_link_args=['-framework', 'Cocoa'], ), ], ) diff -ur a/pyobjc-framework-Quartz/setup.py b/pyobjc-framework-Quartz/setup.py --- a/pyobjc-framework-Quartz/setup.py 2009-10-14 17:05:03.000000000 +1100 +++ b/pyobjc-framework-Quartz/setup.py 2010-02-21 04:01:44.000000000 +1100 @@ -51,6 +51,7 @@ # CoreVideo Extension('Quartz.CoreVideo._CVPixelBuffer', [ 'Modules/_CVPixelBuffer.m' ], + extra_link_args=['-framework', 'Cocoa', '-framework', 'Quartz'], ), # CoreGraphics @@ -59,15 +60,19 @@ ), Extension('Quartz.CoreGraphics._callbacks', [ 'Modules/_callbacks.m' ], + extra_link_args=['-framework', 'Cocoa'], ), Extension('Quartz.CoreGraphics._doubleindirect', [ 'Modules/_doubleindirect.m' ], + extra_link_args=['-framework', 'Cocoa'], ), Extension('Quartz.CoreGraphics._sortandmap', [ 'Modules/_sortandmap.m' ], + extra_link_args=['-framework', 'Cocoa'], ), Extension('Quartz.CoreGraphics._coregraphics', [ 'Modules/_coregraphics.m' ], + extra_link_args=['-framework', 'Cocoa'], ), ], ) diff -ur a/pyobjc-framework-SystemConfiguration/setup.py b/pyobjc-framework-SystemConfiguration/setup.py --- a/pyobjc-framework-SystemConfiguration/setup.py 2009-10-14 17:05:03.000000000 +1100 +++ b/pyobjc-framework-SystemConfiguration/setup.py 2010-02-21 04:03:01.000000000 +1100 @@ -20,6 +20,7 @@ ext_modules = [ Extension('SystemConfiguration._manual', [ 'Modules/_manual.m' ], + extra_link_args=['-framework', 'Cocoa', '-framework', 'SystemConfiguration'], ), ], ) --- a/pyobjc-core/Modules/objc/objc-class.m 2010-03-07 08:52:20.000000000 +1100 +++ b/pyobjc-core/Modules/objc/objc-class.m 2010-03-07 08:52:26.000000000 +1100 @@ -1413,7 +1413,9 @@ ((PyTypeObject *)result)->tp_as_buffer = &nsmutabledata_as_buffer; } else if (strcmp(className, "NSBlock") == 0) { ((PyTypeObject *)result)->tp_basicsize = sizeof(PyObjCBlockObject); +#if PY_VERSION_HEX >= 0x02060000 PyType_Modified((PyTypeObject*)result); +#endif PyType_Ready((PyTypeObject *)result); } --- NEW FILE: pylibacl-py.patch --- --- pylibacl-0.2.1.orig/setup.py 2002-12-29 06:49:04.000000000 +0000 +++ pylibacl-0.2.1/setup.py 2005-10-30 20:20:07.000000000 +0000 @@ -14,6 +14,8 @@ elif u_sysname == "FreeBSD": macros.append(("HAVE_FREEBSD", None)) libs.append("posix1e") +elif u_sysname == "Darwin": + libs.append("pthread") else: raise ValueError("I don't know your system. Please contact the author") @@ -33,7 +35,7 @@ libraries=libs, define_macros=macros, )], - data_files=[("/usr/share/doc/pylibacl-%s" % version, + data_files=[("share/doc/pylibacl-python2.X", ["README","IMPLEMENTATION", "PLATFORMS", "BENCHMARK", "posix1e.html", "posix1e.txt"])], --- NEW FILE: webpy-py.info --- Info2: << Package: webpy-py%type_pkg[python] Version: 0.21 Revision: 1 Distribution: (%type_pkg[python] = 24) 10.4, (%type_pkg[python] = 24) 10.5 Type: python (2.4 2.5) Depends: python%type_pkg[python] Source: http://webpy.org/static/web.py-%v.tar.gz Source-MD5: 9877a65a31bd97f649562ceab123995d SourceDirectory: webpy CompileScript: %p/bin/python%type_raw[python] setup.py build InstallScript: %p/bin/python%type_raw[python] setup.py install --root=%d Description: Python web framework DescDetail: << web.py is a web framework for python that is as simple as it is powerful. web.py is in the public domain; you can use it for whatever purpose with absolutely no restrictions. << Homepage: http://webpy.org/ License: Public Domain Maintainer: None <fink-de...@lists.sourceforge.net> DescPort: Initial port by Pepe Barbe <pepe.ba...@gmail.com> #Info2 << --- NEW FILE: pyxg-py.info --- Info2: << Package: pyxg-py%type_pkg[python] Version: 0.2.0 Revision: 1 Type: python(2.4 2.5 2.6 2.7) Distribution: (%type_pkg[python] = 24) 10.4, (%type_pkg[python] = 24) 10.5 Maintainer: None <fink-de...@lists.sourceforge.net> BuildDepends: fink (>= 0.24.12-1), pyobjc-py%type_pkg[python]-bin Depends: python%type_pkg[python], pyobjc-py%type_pkg[python] Source: http://pyxg.scipy.org/downloads/PyXG-%v.tar.gz Source-MD5: 9611586e60cf872cf47281fd81ccb5e4 PatchFile: pyxg-py.patch PatchFile-MD5: 34c4238d0f0400341674607010d45cf3 CompileScript: python%type_raw[python] setup.py build InstallScript: python%type_raw[python] setup.py install --root=%d License: BSD Description: Python interface to Apple's Xgrid DescDetail: << PyXG provides a Python interface to Apple's Xgrid. Xgrid is Apple's solution for running jobs on a cluster of Macintosh computers. PyXG enables users to submit and manage Xgrid jobs on a cluster from a Python script or within an interactive Python session. << Homepage: http://pyxg.scipy.org << --- NEW FILE: pyxg-py.patch --- diff -ruN --exclude '*~' PyXG-0.2.0/setup.py PyXG-0.2.0.patched/setup.py --- PyXG-0.2.0/setup.py 2005-12-22 17:09:44.000000000 -0500 +++ PyXG-0.2.0.patched/setup.py 2007-10-07 16:59:29.000000000 -0400 @@ -1,7 +1,7 @@ #!/usr/bin/env python from distutils.core import setup -import bdist_mpkg +#import bdist_mpkg setup(name='PyXG', version='0.2.0', diff -ruN --exclude '*~' PyXG-0.2.0/xg.py PyXG-0.2.0.patched/xg.py --- PyXG-0.2.0/xg.py 2005-12-22 18:14:48.000000000 -0500 +++ PyXG-0.2.0.patched/xg.py 2007-10-07 18:14:37.000000000 -0400 @@ -1331,14 +1331,14 @@ @type isExecutable: boolean """ - path = NSString.stringWithString_(unicode(filePath)).stringByStandardizingPath() + path = NSString.stringWithString_(unicode(filepath)).stringByStandardizingPath() data = NSData.dataWithContentsOfFile_(path) self._checkInputFiles() if isExecutable: isExecString = u'YES' else: isExecString = u'NO' - self._jobDict[u'inputFiles'][unicode(fileName)] = \ + self._jobDict[u'inputFiles'][unicode(filename)] = \ {u'fileData':data,u'isExecutable':isExecString} def delFile(self,fileName): ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs