Info2: << Package: pymtp-py%type_pkg[python] Version: 0.0.5 Revision: 1 Type: python (2.5 2.6 2.7 3.1 3.2) License: GPL3+ Homepage: http://pypi.python.org/pypi/pymtp Maintainer: Hans-Christoph Steiner Description: LibMTP Python binding to access MTP devices DescDetail: << PyMTP is a Pythonic binding to LibMTP that allows Python programs to interact over Media Transfer Protocol (MTP) with LibMTP-supported devices. These devices include all recent Android devices, several popular MP3 players, including Creative Zen, several iRiver devices, NormSoft Pocket Tunes and many others. << Source: https://pypi.python.org/packages/source/P/PyMTP/PyMTP-%v.tar.gz Source-MD5: 91141a63f23145b65200318c4bda3ffa Depends: python%type_pkg[python], libmtp1-shlibs BuildDepends: fink (>= 0.24.12) CompileScript: << perl -pi -e 's,#!/usr/bin/env python,#!%p/bin/python%type_raw[python],' \ %b/examples/*.py %b/pymtp.py perl -pi -e 's,sys\.path\.insert\(0\, "\.\./"\) # so the examples work out of the box,,' \ %b/examples/*.py # hardcode the path to Fink's libmtp perl -pi -e 's,ctypes\.util\.find_library\("mtp"\),"%p/lib/libmtp.9.dylib",' %b/pymtp.py %p/bin/python%type_raw[python] setup.py build << InstallScript: << %p/bin/python%type_raw[python] setup.py install --root=%d install -d %i/share/doc/pymtp-py%type_pkg[python]/examples install %b/examples/*.py %i/share/doc/pymtp-py%type_pkg[python]/examples << DocFiles: COPYING README <<