py-jupyter-console: Rename to versioned command name
And add a trailing slash to HOMEPAGE.
This commit is contained in:
parent
7d8b5b7597
commit
c24df549cc
|
@ -0,0 +1 @@
|
|||
bin/jupyter-console @PREFIX@/bin/jupyter-console-@PYVERSSUFFIX@
|
|
@ -6,7 +6,7 @@ CATEGORIES= devel python
|
|||
MASTER_SITES= ${MASTER_SITE_PYPI:=j/jupyter_console/}
|
||||
|
||||
MAINTAINER= kamelderouiche@yahoo.com
|
||||
HOMEPAGE= https://jupyter.org
|
||||
HOMEPAGE= https://jupyter.org/
|
||||
COMMENT= Jupyter terminal console
|
||||
LICENSE= modified-bsd
|
||||
|
||||
|
@ -18,5 +18,11 @@ DEPENDS+= ${PYPKGPREFIX}-pygments>=2.3.1:../../textproc/py-pygments
|
|||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
post-install:
|
||||
.for name in console
|
||||
cd ${DESTDIR}${PREFIX}/bin && \
|
||||
${MV} jupyter-${name} jupyter-${name}-${PYVERSSUFFIX} || ${TRUE}
|
||||
.endfor
|
||||
|
||||
.include "../../lang/python/egg.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@comment $NetBSD$
|
||||
bin/jupyter-console
|
||||
bin/jupyter-console-${PYVERSSUFFIX}
|
||||
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
|
||||
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
|
||||
|
|
Loading…
Reference in New Issue