pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

icestorm-git - Update PLIST, Substitute the path to python3.4



Module Name:	pkgsrc-wip
Committed By:	Sevan Janiyan <venture37%geeklan.co.uk@localhost>
Pushed By:	sevan
Date:		Wed Feb 15 04:49:37 2017 +0000
Changeset:	6b6ebc454e4ab511f467b4ae705171b70c34e65b

Modified Files:
	icestorm-git/Makefile
	icestorm-git/PLIST

Log Message:
icestorm-git - Update PLIST, Substitute the path to python3.4

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6b6ebc454e4ab511f467b4ae705171b70c34e65b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 icestorm-git/Makefile | 23 ++++++++++++++++++++++-
 icestorm-git/PLIST    |  1 +
 2 files changed, 23 insertions(+), 1 deletion(-)

diffs:
diff --git a/icestorm-git/Makefile b/icestorm-git/Makefile
index caed7db8c7..ebc83d0993 100644
--- a/icestorm-git/Makefile
+++ b/icestorm-git/Makefile
@@ -13,10 +13,31 @@ LICENSE=	mit
 USE_LANGUAGES+=		c c++
 USE_TOOLS+= 		pkg-config gmake
 LIBS+= 			-lm -lstdc++
+PYTHON_VERSIONS_ACCEPTED= 34 35 36
 
 WRKSRC=			${WRKDIR}/icestorm-${GITHUB_TAG}
 
+SUBST_CLASSES+= 	python
+SUBST_MESSAGE.python= 	Fixing non-shellbang references to python3.
+SUBST_STAGE.python= 	pre-configure
+SUBST_SED.python= 	-e 's,python3,${PYTHONBIN},g'
+SUBST_FILES.python=	icebox/Makefile icefuzz/Makefile icetime/Makefile
+
+REPLACE_INTERPRETER+= 	usrbinenv
+REPLACE.usrbinenv.old= 	'/usr/bin/env\ python3'
+REPLACE.usrbinenv.new= 	${PYTHONBIN}
+REPLACE_FILES.usrbinenv= 	icebox/icebox.py
+REPLACE_FILES.usrbinenv+= 	icebox/icebox_chipdb.py
+REPLACE_FILES.usrbinenv+= 	icefuzz/timings.py
+REPLACE_FILES.usrbinenv+=	icebox/icebox_colbuf.py
+REPLACE_FILES.usrbinenv+= 	icebox/icebox_diff.py
+REPLACE_FILES.usrbinenv+= 	icebox/icebox_explain.py
+REPLACE_FILES.usrbinenv+= 	icebox/icebox_html.py
+REPLACE_FILES.usrbinenv+= 	icebox/icebox_maps.py
+REPLACE_FILES.usrbinenv+= 	icebox/icebox_stat.py
+REPLACE_FILES.usrbinenv+= 	icebox/icebox_vlog.py
+
 .include "../../lang/python34/buildlink3.mk"
 .include "../../devel/libftdi/buildlink3.mk"
-#.include "../../lang/python/application.mk"
+.include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/icestorm-git/PLIST b/icestorm-git/PLIST
index c6d560256b..3a0d96e8e2 100644
--- a/icestorm-git/PLIST
+++ b/icestorm-git/PLIST
@@ -6,6 +6,7 @@ bin/icebox_diff
 bin/icebox_explain
 bin/icebox_html
 bin/icebox_maps
+bin/icebox_stat
 bin/icebox_vlog
 bin/iceboxdb.py
 bin/icebram


Home | Main Index | Thread Index | Old Index