summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/py-numba/ALTERNATIVES2
-rw-r--r--math/py-numba/Makefile10
-rw-r--r--math/py-numba/PLIST6
3 files changed, 14 insertions, 4 deletions
diff --git a/math/py-numba/ALTERNATIVES b/math/py-numba/ALTERNATIVES
new file mode 100644
index 00000000000..3099529eecc
--- /dev/null
+++ b/math/py-numba/ALTERNATIVES
@@ -0,0 +1,2 @@
+bin/numba @PREFIX@/bin/numba@PYVERSSUFFIX@
+bin/pycc @PREFIX@/bin/pycc@PYVERSSUFFIX@
diff --git a/math/py-numba/Makefile b/math/py-numba/Makefile
index 567277f40b0..86a0dc532f1 100644
--- a/math/py-numba/Makefile
+++ b/math/py-numba/Makefile
@@ -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 @@ DEPENDS+= ${PYPKGPREFIX}-singledispatch-[0-9]*:../../devel/py-singledispatch
.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 --git a/math/py-numba/PLIST b/math/py-numba/PLIST
index 774e08c67cd..23400a3574e 100644
--- a/math/py-numba/PLIST
+++ b/math/py-numba/PLIST
@@ -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