Package: python23-nox Version: 2.3.2 Revision: 2 Epoch: 1 Maintainer: Jeffrey Whitaker Conflicts: python23, python (<= 2.2.1-8) Replaces: python23, python (<= 2.2.1-8), python-nox (<= 2.2.1-8) # FIXME: when fink 0.17.0 comes out, change the %N-shlibs dependency to: # Depends: %N-shlibs (= %e:%v-%r) # Also add "fink (>= 0.17.0)" to the BuildDepends, and remove all the # (strictly spoken: illegal) Epoch fields from the splitoffs. Depends: dlcompat-shlibs, %N-shlibs (>= %v-%r), python23-socket-nox BuildDepends: readline (>= 4.3-5), db4, gdbm (>= 1.8.0-4), gmp, libpoll, expat, dlcompat-dev, bzip2-dev, gettext-dev, ncurses-dev Source: http://python.org/ftp/python/%v/Python-%v.tgz Source-MD5: f54d7a529d444994b4b33429bbb45479 PatchScript: (sed 's|@PREFIX@|%p|g' < %a/%n.patch | patch -p1) ConfigureParams: --mandir='${prefix}/share/man' GCC: 3.1 InstallScript: << make install prefix=%i (cd %i/bin; sed 's|%p/bin/python|%p/bin/python2.3|g' < pydoc > pydoc2.3; chmod 755 pydoc2.3; rm -f pydoc) (cd Misc; /bin/rm -rf RPM) mkdir -p %i/share/doc/%n cp -R Demo Doc %i/share/doc/%n cp -R Misc Tools %i/lib/python2.3 /bin/rm -f %i/bin/python /bin/mv %i/share/man/man1/python.1 %i/share/man/man1/python23.1 cc -dynamiclib -all_load -framework System -framework CoreServices -framework Foundation %i/lib/python2.3/config/libpython2.3.a -o %i/lib/python2.3/config/libpython2.3.dylib -install_name %p/lib/python2.3/config/libpython2.3.dylib -current_version 2.3 -compatibility_version 2.3 -L%p/lib -ldl (cd %i/lib/python2.3/config; mv Makefile Makefile.orig; sed 's|-fno-common||g' < Makefile.orig > Makefile; /bin/rm -f Makefile.orig) ln -s %p/bin/python2.3 %i/bin/python ln -s %p/bin/pydoc2.3 %i/bin/pydoc ln -s %p/share/man/man1/python23.1 %i/share/man/man1/python.1 << SplitOff: << Package: %N-shlibs Epoch: 1 Depends: readline-shlibs (>= 4.3-5), dlcompat, expat-shlibs, gdbm-shlibs (>= 1.8.0-4), gmp-shlibs, db4-shlibs, libpoll-shlibs Conflicts: python23-shlibs Replaces: python23-shlibs, python (<= 2.2.1-8), python-nox (<= 2.2.1-8) Files: lib/python2.3/config/libpython2.3.dylib Shlibs: %p/lib/python2.3/config/libpython2.3.dylib 2.3.0 python23-shlibs (>= 2.3-1) | python23-nox-shlibs (>= 2.3-1) DocFiles: README LICENSE << SplitOff2: << Package: python-nox Epoch: 1 Depends: python23-nox, dlcompat-shlibs Conflicts: python Replaces: python Files: bin/pydoc bin/python share/man/man1/python.1 DocFiles: README LICENSE << SplitOff3: << Package: python23-socket-nox Epoch: 1 Replaces: python23-socket-ssl, python23-socket Files: lib/python2.3/lib-dynload/_socket.so DocFiles: README LICENSE Description: Socket plugin for python << DocFiles: README LICENSE Description: Interpreted, object-oriented language DescDetail: << Python is often compared to Tcl, Perl, Scheme or Java. This package installs unix python - not the OSX Framework version. Builds a two-level namespace dynamic libpython (needed for koffice). Much help from Dave Morrison and Peter O'Gorman << DescPackaging: All available extension modules are built. License: OSI-Approved Homepage: http://www.python.org