diff options
author | minskim <minskim@pkgsrc.org> | 2018-09-03 23:47:44 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2018-09-03 23:47:44 +0000 |
commit | 65560ba0db2da81c64787fb0dd23dfcf72da97cf (patch) | |
tree | 6b54a0cc50b21da87cc73390a3e10b9c28509414 /math | |
parent | 8abd7ddfddba55c02bece9183d6d47d5b7627804 (diff) | |
download | pkgsrc-65560ba0db2da81c64787fb0dd23dfcf72da97cf.tar.gz |
math/py-numba: Add ALTERNATIVES
Diffstat (limited to 'math')
-rw-r--r-- | math/py-numba/ALTERNATIVES | 2 | ||||
-rw-r--r-- | math/py-numba/Makefile | 10 | ||||
-rw-r--r-- | math/py-numba/PLIST | 6 |
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 |