Info2: << Package: pytagger-py%type_pkg[python] Version: 0.4 Revision: 11 Type: python (2.3 2.4) Description: Python %type_raw[python] mod for ID3 tags License: BSD Maintainer: Dave Vasilevsky # Dependencies: Depends: python%type_pkg[python] | python%type_pkg[python]-nox # Unpack Phase: Source: http://www.liquidx.net/static/pytagger/pytagger-%v.tar.gz Source-MD5: 15fb12e551c1269cf06c615b0eab7f1e # Patch Phase: PatchScript: << perl -pi -e 's;#!/usr/bin/env python;#!%p/bin/python%type_raw[python];' setup.py << # Compile Phase: CompileScript: << python%type_raw[python] setup.py build << # Install Phase: DocFiles: COPYING ChangeLog README InstallScript: << python%type_raw[python] setup.py install --root=%d mv %i/bin/mp3check.py %i/bin/mp3check%type_raw[python].py << # Additional Info: DescDetail: << pytagger is a ID3 tag reader and writer implemented purely in Python. It supports all the current ID3 tag implementations including ID3v1, ID3v1.1, ID3v2.2, ID3v2.3 and ID3v2.4. << Homepage: http://www.liquidx.net/pytagger PostInstScript: << update-alternatives --install %p/bin/mp3check.py mp3check.py %p/bin/mp3check%type_raw[python].py %type_pkg[python] << PreRmScript: << if [ $1 != "upgrade" ]; then update-alternatives --remove mp3check.py %p/bin/mp3check%type_raw[python].py fi << # End of Info2 <<