summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2012-03-05 08:06:40 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2012-03-05 08:06:40 +0000
commit827b4b4ba89b883ab0ebcd9de47bf0b78ad978e8 (patch)
tree9e73d1369c7341867cea5cec16e9c5a45eb16b83
parent- Update to 6.05 (diff)
- Update to 1.22
- Use shebang more suitable for FreeBSD
Notes
Notes: svn path=/head/; revision=292722
-rw-r--r--devel/pythontidy/Makefile4
-rw-r--r--devel/pythontidy/distinfo4
2 files changed, 4 insertions, 4 deletions
diff --git a/devel/pythontidy/Makefile b/devel/pythontidy/Makefile
index 18945bea1355..5948cc1bbd6b 100644
--- a/devel/pythontidy/Makefile
+++ b/devel/pythontidy/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= pythontidy
-PORTVERSION= 1.21
+PORTVERSION= 1.22
CATEGORIES= devel python
MASTER_SITES= http://www.lacusveris.com/PythonTidy/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -27,7 +27,7 @@ do-extract:
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} ${WRKDIR}
do-patch:
- ${REINPLACE_CMD} -e s,/usr/bin/python,${PYTHON_CMD}, ${WRKDIR}/${DISTFILES}
+ ${REINPLACE_CMD} -e 's,#!/usr/bin/python,#!/usr/bin/env python,' ${WRKDIR}/${DISTFILES}
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${DISTFILES} ${PREFIX}/bin/pythontidy
diff --git a/devel/pythontidy/distinfo b/devel/pythontidy/distinfo
index c6895f3bfee2..21ced9bb5980 100644
--- a/devel/pythontidy/distinfo
+++ b/devel/pythontidy/distinfo
@@ -1,2 +1,2 @@
-SHA256 (python/PythonTidy-1.21.python) = 4e52bba8b321ccc611503a1028b3660c8a7dcdd9b06466cb0d5ecfe5d9af5006
-SIZE (python/PythonTidy-1.21.python) = 147202
+SHA256 (python/PythonTidy-1.22.python) = f8e4e3836a36c70779794587bc4511073e29735caec1e8f609469668dae2e49f
+SIZE (python/PythonTidy-1.22.python) = 147328