Info2: << Package: otrfileconverter-py%type_pkg[python] Version: 0.0.2 Revision: 1 Type: python (2.6 2.7 3.1 3.2) Description: Convert OTR keys between IM programs DescDetail: << This project is for converting the various OTR file formats between each other. We are focusing on two major versions: libotr format and otr4j, and then a few variants of those major formats. << Maintainer: Hans-Christoph Steiner License: DFSG-Approved Homepage: https://github.com/guardianproject/otrfileconverter # Source: https://github.com/guardianproject/otrfileconverter/tarball/%v SourceRename: otrfileconverter-%v.tar.gz SourceDirectory: guardianproject-otrfileconverter-de63122 Source-MD5: e6e5a12ed32e0fc638f13abde75e6fa3 # Depends: python%type_pkg[python], pycrypto-py%type_pkg[python], pyparsing-py%type_pkg[python], pyjavaproperties-py%type_pkg[python], python-potr-py%type_pkg[python] (>= 1.0.0beta5), gnupg-interface-py%type_pkg[python], pyasn1-py%type_pkg[python] BuildDepends: fink (>= 0.24.12), setuptools-tng-py%type_pkg[python] CompileScript: %p/bin/python%type_raw[python] setup.py build InfoTest: << # TestScript: %p/bin/python%type_raw[python] %b/otrfileconverter_test.py || exit 2 << InstallScript: << %p/bin/python%type_raw[python] setup.py install --root=%d mv %i/bin/otrfileconverter %i/bin/otrfileconverter-py%type_pkg[python] mv %i/bin/otrfileconverter-gui %i/bin/otrfileconverter-gui-py%type_pkg[python] mv %i/share/man/man1/otrfileconverter.1 %i/share/man/man1/otrfileconverter-py%type_pkg[python].1 << DocFiles: README.txt LICENSE.txt PostInstScript: << if [ "$1" = configure ]; then update-alternatives --install %p/bin/otrfileconverter otrfileconverter %p/bin/otrfileconverter-py%type_pkg[python] %type_pkg[python] --slave %p/share/man/man1/otrfileconverter.1 otrfileconverter.1 %p/share/man/man1/otrfileconverter-py%type_pkg[python].1 update-alternatives --install %p/bin/otrfileconverter-gui otrfileconverter-gui %p/bin/otrfileconverter-gui-py%type_pkg[python] %type_pkg[python] fi << PreRmScript: << if [ "$1" = remove ]; then update-alternatives --remove otrfileconverter %p/bin/otrfileconverter-py%type_pkg[python] update-alternatives --remove otrfileconverter-gui %p/bin/otrfileconverter-gui-py%type_pkg[python] fi << # <<