svn commit: r335350 - in head: audio/mma audio/py-tagpy devel/py-virtualenvwrapper
Nicola Vitale
nivit at FreeBSD.org
Sat Nov 30 22:58:46 UTC 2013
Author: nivit
Date: Sat Nov 30 22:58:44 2013
New Revision: 335350
URL: http://svnweb.freebsd.org/changeset/ports/335350
Log:
- Remove implicit lang/python dependency
Required by: python (via mva)
Modified:
head/audio/mma/Makefile (contents, props changed)
head/audio/py-tagpy/Makefile
head/devel/py-virtualenvwrapper/Makefile
Modified: head/audio/mma/Makefile
==============================================================================
--- head/audio/mma/Makefile Sat Nov 30 21:25:21 2013 (r335349)
+++ head/audio/mma/Makefile Sat Nov 30 22:58:44 2013 (r335350)
@@ -11,9 +11,14 @@ DISTFILES= ${PORTNAME}-bin-${PORTVERSION
MAINTAINER= nivit at FreeBSD.org
COMMENT= Musical MIDI Accompaniment generator
+USES= shebangfix
USE_PYTHON= -2.7
NO_STAGE= yes
+python_CMD= ${PYTHON_CMD}
+python_OLD_CMD= /usr/bin/env python
+SHEBANG_FILES= mma.py
+
OPTIONS_DEFINE= TIMIDITY PLAYMIDI DOCS EXAMPLES
TIMIDITY_DESC= Install timidity++ as MIDI player
Modified: head/audio/py-tagpy/Makefile
==============================================================================
--- head/audio/py-tagpy/Makefile Sat Nov 30 21:25:21 2013 (r335349)
+++ head/audio/py-tagpy/Makefile Sat Nov 30 22:58:44 2013 (r335350)
@@ -16,6 +16,7 @@ LICENSE= MIT
LIB_DEPENDS= boost_python:${PORTSDIR}/devel/boost-python-libs \
tag:${PORTSDIR}/audio/taglib
+USES= shebangfix
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= configure.py
CONFIGURE_ARGS= --taglib-inc-dir="${LOCALBASE}/include/taglib" \
@@ -23,6 +24,9 @@ CONFIGURE_ARGS= --taglib-inc-dir="${LOCA
--boost-inc-dir="${PYTHON_INCLUDEDIR},${LOCALBASE}/include" \
--boost-lib-dir="${PYTHON_LIBDIR},${LOCALBASE}/lib" \
--boost-python-libname="boost_python"
+python_OLD_CMD= /usr/bin/env python
+python_CMD= ${PYTHON_CMD}
+SHEBANG_FILES= configure.py
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
Modified: head/devel/py-virtualenvwrapper/Makefile
==============================================================================
--- head/devel/py-virtualenvwrapper/Makefile Sat Nov 30 21:25:21 2013 (r335349)
+++ head/devel/py-virtualenvwrapper/Makefile Sat Nov 30 22:58:44 2013 (r335350)
@@ -33,6 +33,10 @@ PYDISTUTILS_BUILD_TARGET+= build_sphinx
BUILD_DEPENDS+= sphinx-build:${PORTSDIR}/textproc/py-sphinx \
${PKGNAMEPREFIX}sphinxcontrib-bitbucket>=1.0:${PORTSDIR}/textproc/py-sphinxcontrib-bitbucket
+post-patch:
+ @${REINPLACE_CMD} -e 's|python setup.py|${PYTHON_CMD} setup.py|' \
+ ${WRKSRC}/docs/source/conf.py
+
post-install:
${MKDIR} ${DOCSDIR}
@cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${DOCSDIR}
More information about the svn-ports-head
mailing list