diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2017-04-19 13:08:04 +0800 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2017-04-19 13:08:04 +0800 |
commit | 12e894e605e6a95e338042cd08c23450c281e858 (patch) | |
tree | 49c4f75f589a86af3817ff5dd686363236b9c9d2 | |
parent | 41afca14ff1bba954f14937a07f4d49bd0fef717 (diff) | |
download | freebsd-ports-gnome-12e894e605e6a95e338042cd08c23450c281e858.tar.gz freebsd-ports-gnome-12e894e605e6a95e338042cd08c23450c281e858.tar.zst freebsd-ports-gnome-12e894e605e6a95e338042cd08c23450c281e858.zip |
- Fix shebangs
-rw-r--r-- | benchmarks/pybench/Makefile | 9 | ||||
-rw-r--r-- | devel/fnorb/Makefile | 5 | ||||
-rw-r--r-- | devel/py-omniorb-3/Makefile | 12 | ||||
-rw-r--r-- | devel/py-omniorb/Makefile | 9 | ||||
-rw-r--r-- | devel/py-ply/Makefile | 10 | ||||
-rw-r--r-- | devel/py-roxlib/Makefile | 5 |
6 files changed, 41 insertions, 9 deletions
diff --git a/benchmarks/pybench/Makefile b/benchmarks/pybench/Makefile index 37b52dbb59f4..d9d233bbffde 100644 --- a/benchmarks/pybench/Makefile +++ b/benchmarks/pybench/Makefile @@ -3,6 +3,7 @@ PORTNAME= pybench PORTVERSION= 2.0 +PORTREVISION= 1 CATEGORIES= benchmarks python MASTER_SITES= http://downloads.egenix.com/python/ @@ -11,10 +12,16 @@ COMMENT= Extensible benchmark suite for Python WRKSRC= ${WRKDIR}/${PORTNAME} -USES= python zip +USES= python shebangfix zip +SHEBANG_FILES= platform.py PORTDOCS= README +post-patch: + ${REINPLACE_CMD} -e 's|/usr/local/bin/python -O|${python_CMD}|' \ + ${WRKSRC}/pybench.py + @${FIND} ${WRKSRC} -name \*.bak -delete + do-build: @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} diff --git a/devel/fnorb/Makefile b/devel/fnorb/Makefile index d47d96580a95..3835dbddce31 100644 --- a/devel/fnorb/Makefile +++ b/devel/fnorb/Makefile @@ -3,7 +3,7 @@ PORTNAME= Fnorb PORTVERSION= 1.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel python MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl}/${PORTNAME}%20${PORTVERSION} @@ -12,8 +12,9 @@ COMMENT= CORBA 2.0 ORB written in Python RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter -USES= python +USES= python shebangfix USE_PYTHON= distutils noegginfo +SHEBANG_FILES= tests/interop/*.py tests/datatransfer/*.py PYDISTUTILS_INSTALLNOSINGLE= yes PYDISTUTILS_SETUP= ${PYSETUP} diff --git a/devel/py-omniorb-3/Makefile b/devel/py-omniorb-3/Makefile index 438c529be56c..07e68acfd595 100644 --- a/devel/py-omniorb-3/Makefile +++ b/devel/py-omniorb-3/Makefile @@ -3,7 +3,7 @@ PORTNAME= omniorb PORTVERSION= 3.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= SF/${PORTNAME}/omniORBpy/omniORBpy-${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -33,7 +33,15 @@ GNU_CONFIGURE= yes CONFIGURE_OUTSOURCE= yes MAKEFILE= GNUmakefile USE_LDCONFIG= yes -USES= gmake python tar:bzip2 ssl +USES= gmake python shebangfix ssl tar:bzip2 +SHEBANG_FILES= examples/tests/*.py examples/poa/*.py \ + examples/fortune/*.py examples/embed/*.py \ + examples/valuetype/tests/*.py \ + examples/valuetype/simple/*.py \ + examples/tictactoe/*.py \ + examples/echo/*.py \ + examples/weather/*.py \ + examples/random/*.py CONFIGURE_ENV+= PYTHON=${PYTHON_CMD} CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE} --with-omniorb=${LOCALBASE} diff --git a/devel/py-omniorb/Makefile b/devel/py-omniorb/Makefile index d8efc99f81f6..be6e9a8f8c10 100644 --- a/devel/py-omniorb/Makefile +++ b/devel/py-omniorb/Makefile @@ -3,6 +3,7 @@ PORTNAME= omniorb DISTVERSION= 4.2.1-2 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= SF/${PORTNAME}/omniORBpy/omniORBpy-${DISTVERSION:S/-2//} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -32,7 +33,13 @@ GNU_CONFIGURE= yes CONFIGURE_OUTSOURCE= yes MAKEFILE= GNUmakefile USE_LDCONFIG= yes -USES= gmake python tar:bzip2 ssl +USES= gmake python shebangfix ssl tar:bzip2 +SHEBANG_FILES= examples/tests/*.py examples/poa/*.py \ + examples/fortune/*.py examples/embed/*.py \ + examples/valuetype/tests/*.py \ + examples/valuetype/simple/*.py \ + examples/ami/*.py examples/tictactoe/*.py \ + examples/echo/*.py CONFIGURE_ENV+= PYTHON=${PYTHON_CMD} CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE} --with-omniorb=${LOCALBASE} diff --git a/devel/py-ply/Makefile b/devel/py-ply/Makefile index 7bbe0e882299..dbf92812cb49 100644 --- a/devel/py-ply/Makefile +++ b/devel/py-ply/Makefile @@ -3,6 +3,7 @@ PORTNAME= ply PORTVERSION= 3.10 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= http://www.dabeaz.com/ply/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,14 +13,21 @@ COMMENT= Python Lex-Yacc LICENSE= BSD3CLAUSE -USES?= python +USES?= python shebangfix USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +SHEBANG_FILES= example/newclasscalc/calc.py \ + example/classcalc/calc.py PORTDOCS= ply.html internal.html OPTIONS_DEFINE= DOCS EXAMPLES +post-patch: + @${REINPLACE_CMD} -e 's|/usr/local/bin/python|${python_CMD}|' \ + ${WRKSRC}/example/yply/yply.py + @${FIND} ${WRKSRC} -name \*.bak -delete + post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/ply.html ${STAGEDIR}${DOCSDIR} diff --git a/devel/py-roxlib/Makefile b/devel/py-roxlib/Makefile index c34983ef3eed..0f4436542b8c 100644 --- a/devel/py-roxlib/Makefile +++ b/devel/py-roxlib/Makefile @@ -2,7 +2,7 @@ PORTNAME= roxlib PORTVERSION= 2.0.6 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel python MASTER_SITES= SF/rox/ROX-Lib/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,8 +11,9 @@ DISTNAME= rox-lib2-${PORTVERSION} MAINTAINER= olgeni@FreeBSD.org COMMENT= Python libraries for ROX -USES= python tar:bzip2 +USES= python shebangfix tar:bzip2 USE_GNOME= pygtk2:run +SHEBANG_FILES= ROX-Lib2/AppRun ROX-Lib2/python/make_docs.py RUN_DEPENDS= ${LOCALBASE}/bin/rox:x11-fm/rox-filer |