the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: pythontidy
Version: 1.16
Revision: 1
Maintainer: Kevin Horton
BuildDepends: fink (>= 0.24.12)
Depends: python25
Source: http://www.lacusveris.com/PythonTidy/PythonTidy-%v.python
Source-MD5: 658f431a5671dcfea358306eebec8cea
SourceRename: PythonTidy.py
NoSourceDirectory: True
#SourceDirectory: PythonTidy
PatchFile: %n.patch
PatchFile-MD5: 4af60ac120f2e8cad8237e556bf354cc
PatchScript: sed 's|@PREFIX@|%p|g' <%{PatchFile} | patch -p1
CompileScript: echo 'nothing to compile'
InstallScript: <<
#!/bin/sh -ev
mkdir %i/bin
/usr/bin/install -m 755 PythonTidy.py %i/bin
/bin/ln -s %p/bin/PythonTidy.py %i/bin/pythontidy
<<
# DocFiles: COPYING
Description: Python code cleanup
DescDetail: <<
Cleans up, regularizes, and reformats the text of Python
It means to encapsulate the wisdom revealed in: PEP 8: Style Guide for
Python Code." 23 Mar. 2006. Python.org. 28 Nov. 2006
The documentation is embedded in the script at %p/bin/pythontidy. It can
be viewed by running "pydoc %p/bin/pythontidy".
<<
License: GPL
Homepage: http://cheeseshop.python.org/pypi/PythonTidy
<<
diff -urN pythontidy-1.16-1/PythonTidy.py /Users/kwh/temp/pythontidy-1.16-1/PythonTidy.py
--- pythontidy-1.16-1/PythonTidy.py 2008-03-16 17:04:25.000000000 -0400
+++ /Users/kwh/temp/pythontidy-1.16-1/PythonTidy.py 2008-03-16 17:06:11.000000000 -0400
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!@PREFIX@/bin/python2.5
# -*- coding: utf-8 -*-
# PythonTidy.py