svn commit: r438823 - in head: benchmarks/pybench devel/fnorb devel/py-omniorb devel/py-omniorb-3 devel/py-ply devel/py-roxlib

Martin Wilke miwi at FreeBSD.org
Wed Apr 19 05:08:06 UTC 2017


Author: miwi
Date: Wed Apr 19 05:08:04 2017
New Revision: 438823
URL: https://svnweb.freebsd.org/changeset/ports/438823

Log:
  - Fix shebangs

Modified:
  head/benchmarks/pybench/Makefile
  head/devel/fnorb/Makefile
  head/devel/py-omniorb-3/Makefile
  head/devel/py-omniorb/Makefile
  head/devel/py-ply/Makefile
  head/devel/py-roxlib/Makefile

Modified: head/benchmarks/pybench/Makefile
==============================================================================
--- head/benchmarks/pybench/Makefile	Wed Apr 19 04:58:08 2017	(r438822)
+++ head/benchmarks/pybench/Makefile	Wed Apr 19 05:08:04 2017	(r438823)
@@ -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 
 
 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}

Modified: head/devel/fnorb/Makefile
==============================================================================
--- head/devel/fnorb/Makefile	Wed Apr 19 04:58:08 2017	(r438822)
+++ head/devel/fnorb/Makefile	Wed Apr 19 05:08:04 2017	(r438823)
@@ -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}

Modified: head/devel/py-omniorb-3/Makefile
==============================================================================
--- head/devel/py-omniorb-3/Makefile	Wed Apr 19 04:58:08 2017	(r438822)
+++ head/devel/py-omniorb-3/Makefile	Wed Apr 19 05:08:04 2017	(r438823)
@@ -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}

Modified: head/devel/py-omniorb/Makefile
==============================================================================
--- head/devel/py-omniorb/Makefile	Wed Apr 19 04:58:08 2017	(r438822)
+++ head/devel/py-omniorb/Makefile	Wed Apr 19 05:08:04 2017	(r438823)
@@ -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}

Modified: head/devel/py-ply/Makefile
==============================================================================
--- head/devel/py-ply/Makefile	Wed Apr 19 04:58:08 2017	(r438822)
+++ head/devel/py-ply/Makefile	Wed Apr 19 05:08:04 2017	(r438823)
@@ -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}

Modified: head/devel/py-roxlib/Makefile
==============================================================================
--- head/devel/py-roxlib/Makefile	Wed Apr 19 04:58:08 2017	(r438822)
+++ head/devel/py-roxlib/Makefile	Wed Apr 19 05:08:04 2017	(r438823)
@@ -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 at 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
 


More information about the svn-ports-head mailing list