pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/py-numba math/py-numba: Add ALTERNATIVES
details: https://anonhg.NetBSD.org/pkgsrc/rev/05104081a9ff
branches: trunk
changeset: 384835:05104081a9ff
user: minskim <minskim%pkgsrc.org@localhost>
date: Mon Sep 03 23:47:44 2018 +0000
description:
math/py-numba: Add ALTERNATIVES
diffstat:
math/py-numba/ALTERNATIVES | 2 ++
math/py-numba/Makefile | 10 +++++++++-
math/py-numba/PLIST | 6 +++---
3 files changed, 14 insertions(+), 4 deletions(-)
diffs (44 lines):
diff -r 5680ef34bb4e -r 05104081a9ff math/py-numba/ALTERNATIVES
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-numba/ALTERNATIVES Mon Sep 03 23:47:44 2018 +0000
@@ -0,0 +1,2 @@
+bin/numba @PREFIX@/bin/numba@PYVERSSUFFIX@
+bin/pycc @PREFIX@/bin/pycc@PYVERSSUFFIX@
diff -r 5680ef34bb4e -r 05104081a9ff math/py-numba/Makefile
--- a/math/py-numba/Makefile Mon Sep 03 19:09:46 2018 +0000
+++ b/math/py-numba/Makefile Mon Sep 03 23:47:44 2018 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2018/08/28 12:06:42 adam Exp $
+# $NetBSD: Makefile,v 1.3 2018/09/03 23:47:44 minskim Exp $
DISTNAME= numba-0.39.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=n/numba/}
@@ -23,4 +24,11 @@
.include "../../math/py-numpy/buildlink3.mk"
.include "../../lang/python/egg.mk"
+
+post-install:
+.for cmd in numba pycc
+ ${MV} ${DESTDIR}${PREFIX}/bin/${cmd} \
+ ${DESTDIR}${PREFIX}/bin/${cmd}${PYVERSSUFFIX}
+.endfor
+
.include "../../mk/bsd.pkg.mk"
diff -r 5680ef34bb4e -r 05104081a9ff math/py-numba/PLIST
--- a/math/py-numba/PLIST Mon Sep 03 19:09:46 2018 +0000
+++ b/math/py-numba/PLIST Mon Sep 03 23:47:44 2018 +0000
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.2 2018/08/28 12:06:42 adam Exp $
-bin/numba
-bin/pycc
+@comment $NetBSD: PLIST,v 1.3 2018/09/03 23:47:44 minskim Exp $
+bin/numba${PYVERSSUFFIX}
+bin/pycc${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
Home |
Main Index |
Thread Index |
Old Index