Date: Sun, 8 Dec 2013 13:36:11 +0000 (UTC) From: Marcus von Appen <mva@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335893 - in head: www/py-djblets x11-clocks/gdesklets-clock Message-ID: <201312081336.rB8DaB1M083063@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mva Date: Sun Dec 8 13:36:11 2013 New Revision: 335893 URL: http://svnweb.freebsd.org/changeset/ports/335893 Log: - Fix the usage of 'python' to get rid of the implicit lang/python dependency Approved by: portmgr (blanket) Modified: head/www/py-djblets/Makefile (contents, props changed) head/x11-clocks/gdesklets-clock/Makefile Modified: head/www/py-djblets/Makefile ============================================================================== --- head/www/py-djblets/Makefile Sun Dec 8 13:33:54 2013 (r335892) +++ head/www/py-djblets/Makefile Sun Dec 8 13:36:11 2013 (r335893) @@ -21,9 +21,14 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}djan ${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging \ ${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz +USES= shebangfix USE_PYTHON= -2.7 USE_PYDISTUTILS= easy_install PYDISTUTILS_PKGNAME= Djblets +python_OLD_CMD= /usr/bin/env python +python_CMD= ${PYTHON_CMD} +SHEBANG_FILES= contrib/internal/build-media.py + NO_STAGE= yes .include <bsd.port.mk> Modified: head/x11-clocks/gdesklets-clock/Makefile ============================================================================== --- head/x11-clocks/gdesklets-clock/Makefile Sun Dec 8 13:33:54 2013 (r335892) +++ head/x11-clocks/gdesklets-clock/Makefile Sun Dec 8 13:36:11 2013 (r335893) @@ -13,7 +13,7 @@ COMMENT= Various clock displays for Gnom RUN_DEPENDS= gdesklets:${PORTSDIR}/deskutils/gdesklets -USE_PYTHON= yes +USE_PYTHON= 2 SUB_FILES= pkg-message SUB_LIST= NAME="${NAME}" @@ -25,7 +25,7 @@ LANG= de fr pt sq sr sr@Latn sv NO_STAGE= yes do-build: - @${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC} + @${PYTHON_CMD} ${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC} @${PATCH} ${WRKSRC}/Clock/__init__.py < ${FILESDIR}/Clock::__init__.py do-install:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312081336.rB8DaB1M083063>