svn commit: r438924 - in head: games/ptkei games/py-sgflib graphics/py-mayavi misc/hb security/umit www/py-pelican

Martin Wilke miwi at FreeBSD.org
Thu Apr 20 04:13:41 UTC 2017


Author: miwi
Date: Thu Apr 20 04:13:39 2017
New Revision: 438924
URL: https://svnweb.freebsd.org/changeset/ports/438924

Log:
  - Fix Shebangs
  - Added LICENSE
  - Added NO_ARCH

Modified:
  head/games/ptkei/Makefile
  head/games/py-sgflib/Makefile
  head/graphics/py-mayavi/Makefile
  head/misc/hb/Makefile
  head/security/umit/Makefile
  head/www/py-pelican/Makefile

Modified: head/games/ptkei/Makefile
==============================================================================
--- head/games/ptkei/Makefile	Thu Apr 20 03:31:48 2017	(r438923)
+++ head/games/ptkei/Makefile	Thu Apr 20 04:13:39 2017	(r438924)
@@ -3,6 +3,7 @@
 
 PORTNAME=	ptkei
 PORTVERSION=	2.00.0
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	SF/ptkei2
 
@@ -12,7 +13,8 @@ COMMENT=	Python/Tk graphical client for 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter \
 		${PYTHON_SITELIBDIR}/Pmw/__init__.py:x11-toolkits/py-Pmw
 
-USES=		python
+USES=		python shebangfix
+SHEBANG_FILES=	empire.py scripts/*.py
 
 do-build:
 	@${FIND} ${WRKSRC} -name "*.pyc" -delete

Modified: head/games/py-sgflib/Makefile
==============================================================================
--- head/games/py-sgflib/Makefile	Thu Apr 20 03:31:48 2017	(r438923)
+++ head/games/py-sgflib/Makefile	Thu Apr 20 04:13:39 2017	(r438924)
@@ -3,6 +3,7 @@
 
 PORTNAME=	sgflib
 PORTVERSION=	1.0
+PORTREVISION=	1
 CATEGORIES=	games python
 MASTER_SITES=	http://gotools.sourceforge.net/sgflib/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,10 +13,19 @@ EXTRACT_SUFX=	.tgz
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Smart Game Format parser library for Python
 
-USES=		python
+LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/lgpl.txt
+
+USES=		python shebangfix
 NO_BUILD=	yes
+NO_ARCH=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}${PORTVERSION}
 
+do-patch:
+	@${REINPLACE_CMD} -e 's|/usr/local/bin/python|${python_CMD}|' \
+		${WRKSRC}/*.py
+	@${FIND} ${WRKSRC} -name "*.bak" -delete
+
 do-install:
 	@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
 	(cd ${WRKSRC} && ${INSTALL_SCRIPT} sgflib.py typelib.py \

Modified: head/graphics/py-mayavi/Makefile
==============================================================================
--- head/graphics/py-mayavi/Makefile	Thu Apr 20 03:31:48 2017	(r438923)
+++ head/graphics/py-mayavi/Makefile	Thu Apr 20 04:13:39 2017	(r438924)
@@ -3,7 +3,7 @@
 
 PORTNAME=	mayavi
 PORTVERSION=	4.5.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics science python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -31,10 +31,11 @@ RUN_DEPENDS=	vtk6>=6.1.0_8:math/vtk6 \
 		${PYTHON_PKGNAMEPREFIX}scimath>=4.1.2:science/py-scimath \
 		${PYTHON_PKGNAMEPREFIX}traitsui>=4.5.1:graphics/py-traitsui
 
-USES=		execinfo python:-2.7 tar:bzip2
+USES=		execinfo python:-2.7 shebangfix tar:bzip2
 USE_PYTHON=	autoplist distutils
 USE_WX=		2.8+
 WX_COMPS=	python:run
+SHEBANG_FILES=	mayavi/tests/csv_files/csv_2_py
 
 DEP1=		vtk6
 

Modified: head/misc/hb/Makefile
==============================================================================
--- head/misc/hb/Makefile	Thu Apr 20 03:31:48 2017	(r438923)
+++ head/misc/hb/Makefile	Thu Apr 20 04:13:39 2017	(r438924)
@@ -3,12 +3,18 @@
 
 PORTNAME=	hb
 PORTVERSION=	1.88
+PORTREVISION=	1
 CATEGORIES=	misc python
 MASTER_SITES=	http://www.tundraware.com/Software/hb/
 
 MAINTAINER=	tundra at tundraware.com
 COMMENT=	Simple, but complete budget management in Python
 
-USES=		python
+USES=		python shebangfix
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|/usr/local/bin/python|${python_CMD}|' \
+		${WRKSRC}/hb.py
+	@${FIND} ${WRKSRC} -name "*.bak" -delete
 
 .include <bsd.port.mk>

Modified: head/security/umit/Makefile
==============================================================================
--- head/security/umit/Makefile	Thu Apr 20 03:31:48 2017	(r438923)
+++ head/security/umit/Makefile	Thu Apr 20 04:13:39 2017	(r438924)
@@ -3,7 +3,7 @@
 
 PORTNAME=	umit
 PORTVERSION=	1.0
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	security
 MASTER_SITES=	SF
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -19,10 +19,13 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqli
 
 NO_ARCH=	yes
 
-USES=		python tar:bzip2
+USES=		python shebangfix tar:bzip2
 USE_GNOME=	pygtk2
 USE_PYTHON=	distutils
 INSTALLS_ICONS=	yes
+SHEBANG_FILES=	*.py umit/gui/*.py higwidgets/*.py umit/interfaceeditor/*.py \
+		umit/plugin/*.py umit/core/*.py umit/merger/*.py \
+		umit/interfaceeditor/selectborder/*.py
 
 PORTDOCS=	*
 

Modified: head/www/py-pelican/Makefile
==============================================================================
--- head/www/py-pelican/Makefile	Thu Apr 20 03:31:48 2017	(r438923)
+++ head/www/py-pelican/Makefile	Thu Apr 20 04:13:39 2017	(r438924)
@@ -3,7 +3,7 @@
 
 PORTNAME=	pelican
 PORTVERSION=	3.6.3
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www textproc python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -23,9 +23,12 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}docu
 		${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock
 
-USES=		python
+NO_ARCH=	yes
+USES=		python shebangfix
 USE_GITHUB=	yes
 USE_PYTHON=	autoplist concurrent distutils
+SHEBANG_FILES=	pelican/tools/templates/publishconf.py.in \
+		pelican/tools/*.py
 
 GH_ACCOUNT=	getpelican
 


More information about the svn-ports-all mailing list