mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 02:46:27 -04:00
- Fix the usage of 'python' to get rid of the implicit lang/python
dependency Approved by: portmgr (blanket)
This commit is contained in:
parent
8d46303f76
commit
efe165c4fd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335893
2 changed files with 7 additions and 2 deletions
|
@ -21,9 +21,14 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django>=1.4.2<1.5:${PORTSDIR}/www/py-django1
|
|||
${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>
|
||||
|
|
|
@ -13,7 +13,7 @@ COMMENT= Various clock displays for Gnome 2.x
|
|||
|
||||
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:
|
||||
|
|
Loading…
Add table
Reference in a new issue