Date: Tue, 16 Jan 2007 13:20:05 GMT From: Li-Wen Hsu <lwhsu@lwhsu.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: lwhsu@lwhsu.org Subject: ports/107979: [NEW PORT] devel/py24-pythontidy: Cleans up, regularizes, and reformats the text of Python scripts Message-ID: <200701161320.l0GDK53X042770@jail0.lwhsu.csie.net> Resent-Message-ID: <200701161320.l0GDKLhk071116@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 107979 >Category: ports >Synopsis: [NEW PORT] devel/py24-pythontidy: Cleans up, regularizes, and reformats the text of Python scripts >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jan 16 13:20:21 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Li-Wen Hsu >Release: FreeBSD 6.2-PRERELEASE i386 >Organization: >Environment: System: FreeBSD jail0.lwhsu.csie.net 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Wed Dec 6 11:34:36 CST >Description: This script reads Python code from standard input and writes a revised version to standard output. Alternatively, it may be invoked with file names as arguments: python PythonTidy.py input output Suffice it to say that input defaults to '-', the standard input, and output defaults to '-', the standard output. WWW: http://www.python.org/pypi/PythonTidy/ Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- py24-pythontidy-1.10.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # pythontidy # pythontidy/pkg-descr # pythontidy/Makefile # pythontidy/distinfo # echo c - pythontidy mkdir -p pythontidy > /dev/null 2>&1 echo x - pythontidy/pkg-descr sed 's/^X//' >pythontidy/pkg-descr << 'END-of-pythontidy/pkg-descr' XThis script reads Python code from standard input and writes a revised Xversion to standard output. X XAlternatively, it may be invoked with file names as arguments: X X python PythonTidy.py input output X XSuffice it to say that input defaults to '-', the standard input, and output Xdefaults to '-', the standard output. X XWWW: http://www.python.org/pypi/PythonTidy/ END-of-pythontidy/pkg-descr echo x - pythontidy/Makefile sed 's/^X//' >pythontidy/Makefile << 'END-of-pythontidy/Makefile' X# New ports collection makefile for: pythontidy X# Date created: Jan. 16 ,2007 X# Whom: Li-Wen Hsu <lwhsu@lwhsu.org> X# X# $FreeBSD$ X# X XPORTNAME= pythontidy XPORTVERSION= 1.10 XCATEGORIES= devel python XMASTER_SITES= http://www.lacusveris.com/PythonTidy/ XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} XDISTNAME= PythonTidy-${PORTVERSION}.python XEXTRACT_SUFX= # XDIST_SUBDIR= python X XMAINTAINER= lwhsu@lwhsu.org XCOMMENT= Cleans up, regularizes, and reformats the text of Python scripts X XUSE_PYTHON= yes XNO_BUILD= yes X XPLIST_FILES= bin/pythontidy X Xdo-extract: X @${MKDIR} ${WRKDIR} X @${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} ${WRKDIR} X Xdo-patch: X ${REINPLACE_CMD} -e s,/usr/bin/python,${PYTHON_CMD}, ${WRKDIR}/${DISTFILES} X Xdo-install: X ${INSTALL_SCRIPT} ${WRKDIR}/${DISTFILES} ${TARGETDIR}/bin/pythontidy X X.include <bsd.port.mk> END-of-pythontidy/Makefile echo x - pythontidy/distinfo sed 's/^X//' >pythontidy/distinfo << 'END-of-pythontidy/distinfo' XMD5 (python/PythonTidy-1.10.python) = 675550dbf22afc4527f584a1b735df92 XSHA256 (python/PythonTidy-1.10.python) = ab6c5d98b9eeadd4c911b445e4e628ab2de554eed52fb085ff204932ffbf2037 XSIZE (python/PythonTidy-1.10.python) = 116894 END-of-pythontidy/distinfo exit --- py24-pythontidy-1.10.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701161320.l0GDK53X042770>