science/py-jupyter_jsmol: upgrade to 2022.1.0

Release notes at
	<https://github.com/fekad/jupyter-jsmol/releases/tag/v2022.1.0>.

Also switch to PYPI.
This commit is contained in:
Thierry Thomas 2023-05-07 18:59:13 +02:00
parent ac91093abc
commit 4644451b49
5 changed files with 1387 additions and 1362 deletions

View file

@ -1,41 +1,29 @@
PORTNAME= jupyter-jsmol
PORTVERSION= 2021.3.0
DISTVERSIONPREFIX= v
PORTREVISION= 2
PORTVERSION= 2022.1.0
CATEGORIES= science devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:C/-/_/}-${DISTVERSIONFULL}
MAINTAINER= thierry@FreeBSD.org
COMMENT= JSmol viewer widget for Jupyter Notebooks and JupyterLab
WWW= https://github.com/fekad/jupyter-jsmol
LICENSE= BSD3CLAUSE
LICENSE= MIT
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jupyter-packaging>=0:devel/py-jupyter-packaging@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}widgetsnbextension>0:devel/py-widgetsnbextension@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ipykernel>=5.0.0:devel/py-ipykernel@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ipywidgets>0:devel/py-ipywidgets@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ipython>=7.0.0:devel/ipython@${PY_FLAVOR}
USE_GITHUB= yes
GH_ACCOUNT= fekad
USES= python:3.7+ pytest
USE_PYTHON= distutils
PYDISTUTILS_CONFIGUREARGS= --skip-npm
PYDISTUTILS_BUILDARGS= --skip-npm
OPTIONS_DEFINE= EXAMPLES
EXAMPLES_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ase>0:science/py-ase@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}plotly>0:graphics/py-plotly@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR}
PORTEXAMPLES= *
PLIST_SUB+= VER=${PORTVERSION}
NO_ARCH= yes
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1615570268
SHA256 (fekad-jupyter-jsmol-v2021.3.0_GH0.tar.gz) = b7117c11ccfb9682c51a74c1fecea99e89dafad94ae1f53140f7bbf01d930d02
SIZE (fekad-jupyter-jsmol-v2021.3.0_GH0.tar.gz) = 17375178
TIMESTAMP = 1642082485
SHA256 (jupyter_jsmol-2022.1.0.tar.gz) = 6889b236dcd1eb69093ec1bc87ce352809c89a551214eada81186c2830c07c9a
SIZE (jupyter_jsmol-2022.1.0.tar.gz) = 6740679

View file

@ -1 +1,3 @@
JSmol viewer widget which can be used in Jupyter Notebooks and JupyterLab.
See also: https://github.com/fekad/jupyter-jsmol

View file

@ -1,8 +0,0 @@
[
{ type: install
message: <<EOM
To run the examples, install the ports science/py-pymatgen
and science/py-ase.
EOM
}
]

File diff suppressed because it is too large Load diff