Info2: << Package: pyobjc-py%type_pkg[python] Version: 1.3.7 Revision: 1 Type: python(2.3 2.4) Description: Glue to interface Python with Objective-C License: BSD Homepage: http://pyobjc.sourceforge.net/ Maintainer: None # Dependencies. Depends: python%type_pkg[python] # Unpack Phase. Source: mirror:sourceforge:pyobjc/pyobjc-%v.tar.gz Source-MD5: 7e2d181ba27ca579ba135c322990482c # Compile Phase. CompileScript: << #!/bin/sh -ev packagename="%n" cwd="`pwd`" matches="`%p/bin/fink list -i %n | grep "[[:space:]]%n" | wc -l`" if test "$matches" -gt 0; then echo "*** Cannot build $packagename when it is currently" 2>&1 echo "*** installed. See the file" 2>&1 echo "*** $cwd/Install.txt" 2>&1 echo "*** for more information. Please run" 2>&1 echo "*** %p/bin/fink remove $packagename" 2>&1 echo "*** and" 2>&1 echo "*** %p/bin/fink install $packagename" 2>&1 echo "*** to build this package." 2>&1 exit 1 fi %p/bin/python%type_raw[python] setup.py build << # Install Phase. InstallScript: << %p/bin/python%type_raw[python] setup.py install --root=%d mkdir -p %i/share/doc/%n-doc cp -rp Doc %i/share/doc/%n-doc cp -rp Examples %i/share/doc/%n-doc mkdir -p %i/share/%n cp -rp Xcode %i/share/%n << DocFiles: HISTORIC.txt Install.html Install.txt License.txt NEWS.html README.txt ReadMe.html SplitOff: << Description: Binaries for pyobjc Package: %N-bin Depends: %N (= %v-%r) Conflicts: pyobjc-py22-bin, pyobjc-py23-bin, pyobjc-py24-bin Replaces: pyobjc-py22-bin, pyobjc-py23-bin, pyobjc-py24-bin Files: bin DocFiles: HISTORIC.txt Install.html Install.txt License.txt NEWS.html README.txt ReadMe.html << SplitOff2: << Description: Docs and example scripts for pyobjc Package: %N-doc Files: share/doc/%n DocFiles: HISTORIC.txt Install.html Install.txt License.txt NEWS.html README.txt ReadMe.html << # Documentation. 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. << DescPackaging: << Official license is MIT. For Fink, this is treated as "License:BSD". << <<