diff options
-rw-r--r-- | devel/pythontidy/Makefile | 4 | ||||
-rw-r--r-- | devel/pythontidy/distinfo | 4 |
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 |