svn commit: r335893 - in head: www/py-djblets x11-clocks/gdesklets-clock
Marcus von Appen
mva at FreeBSD.org
Sun Dec 8 13:36:12 UTC 2013
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 at 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:
More information about the svn-ports-head
mailing list