the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: twisted2-py%type_pkg[python]
Version: 8.2.0
Revision: 1
Architecture: i386, powerpc
Description: Asynchronous networking framework
DescDetail: <<
Twisted is an asynchronous networking framework written in
Python, supporting TCP, UDP, multicast, SSL/TLS, serial
communication and more.
<<
Source: http://tmrc.mit.edu/mirror/twisted/Core/8.2/TwistedCore-%v.tar.bz2
Source-MD5: 46f7a6b3e29ef48c4035c22d78f69196
Distribution: (%type_pkg[python] = 24) 10.5
Type: python (2.4 2.5 2.6)
Depends: python%type_pkg[python], pyopenssl-py%type_pkg[python], pycrypto-py%type_pkg[python], zopeinterface-py%type_pkg[python]
Conflicts: twisted2-web2-py%type_pkg[python]
CompileScript: <<
%p/bin/python%type_raw[python] setup.py build
<<
InstallScript: <<
#!/bin/sh -ev
%p/bin/python%type_raw[python] setup.py install --root=%d
mkdir -p %i/share/doc/twisted2-py%type_pkg[python]
cp -Rv doc %i/share/doc/twisted2-py%type_pkg[python]/doc
mv -v %i/bin/manhole %i/bin/manhole%type_raw[python]
mv -v %i/bin/mktap %i/bin/mktap%type_raw[python]
mv -v %i/bin/pyhtmlizer %i/bin/pyhtmlizer%type_raw[python]
mv -v %i/bin/tap2deb %i/bin/tap2deb%type_raw[python]
mv -v %i/bin/tap2rpm %i/bin/tap2rpm%type_raw[python]
mv -v %i/bin/tapconvert %i/bin/tapconvert%type_raw[python]
mv -v %i/bin/trial %i/bin/trial%type_raw[python]
mv -v %i/bin/twistd %i/bin/twistd%type_raw[python]
cd %i/share/doc/%n/doc/man
mkdir -p %i/share/man/man1
for FILE in *.1; do
NAME=`echo $FILE | cut -d '.' -f 1`
mv -v $FILE %i/share/man/man1/"$NAME"%type_raw[python].1
done
<<
PostInstScript: <<
update-alternatives --install %p/bin/twistd twistd %p/bin/twistd%type_raw[python] %type_pkg[python]\
--slave %p/bin/manhole manhole %p/bin/manhole%type_raw[python]\
--slave %p/bin/mktap mktap %p/bin/mktap%type_raw[python]\
--slave %p/bin/pyhtmlizer pyhtmlizer %p/bin/pyhtmlizer%type_raw[python]\
--slave %p/bin/tap2deb tap2deb %p/bin/tap2deb%type_raw[python]\
--slave %p/bin/tap2rpm tap2rpm %p/bin/tap2rpm%type_raw[python]\
--slave %p/bin/tapconvert tapconvert %p/bin/tapconvert%type_raw[python]\
--slave %p/bin/trial trial %p/bin/trial%type_raw[python]\
--slave %p/share/man/man1/twistd.1 twistd.1 %p/share/man/man1/twistd%type_raw[python].1\
--slave %p/share/man/man1/manhole.1 manhole.1 %p/share/man/man1/manhole%type_raw[python].1\
--slave %p/share/man/man1/mktap.1 mktap.1 %p/share/man/man1/mktap%type_raw[python].1\
--slave %p/share/man/man1/pyhtmlizer.1 pyhtmlizer.1 %p/share/man/man1/pyhtmlizer%type_raw[python].1\
--slave %p/share/man/man1/tap2deb.1 tap2deb.1 %p/share/man/man1/tap2deb%type_raw[python].1\
--slave %p/share/man/man1/tap2rpm.1 tap2rpm.1 %p/share/man/man1/tap2rpm%type_raw[python].1\
--slave %p/share/man/man1/tapconvert.1 tapconvert.1 %p/share/man/man1/tapconvert%type_raw[python].1\
--slave %p/share/man/man1/trial.1 trial.1 %p/share/man/man1/trial%type_raw[python].1
<<
PreRmScript: <<
update-alternatives --remove twistd %p/bin/twistd%type_raw[python]
<<
DocFiles: CREDITS LICENSE NEWS README
License: OSI-Approved
Homepage: http://twistedmatrix.com/projects/core/
Maintainer: None
DescPackaging: <<
Maintainer (<= 2.1.0-2): Daniel Henninger
2.1.0-3 Renamed executables to language-versioned forms and
utilized update-alternatives--akh
Maintainer (<= 8.2.0-1): Pepe Barbe
Uses mac toolbox-glue that is not available on x86_84 python
<<
# Info2
<<