py-jupyter-console: Rename to versioned command name

And add a trailing slash to HOMEPAGE.
This commit is contained in:
Ryo ONODERA 2020-12-10 20:49:22 +09:00
parent 7d8b5b7597
commit c24df549cc
3 changed files with 9 additions and 2 deletions

View File

@ -0,0 +1 @@
bin/jupyter-console @PREFIX@/bin/jupyter-console-@PYVERSSUFFIX@

View File

@ -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"

View File

@ -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