svn commit: r566636 - in head/devel: . py-spyder-kernels

Rainer Hurling rhurlin at FreeBSD.org
Fri Feb 26 20:08:42 UTC 2021


Author: rhurlin
Date: Fri Feb 26 20:08:40 2021
New Revision: 566636
URL: https://svnweb.freebsd.org/changeset/ports/566636

Log:
  New port: devel/py-spyder-kernels: Jupyter kernels for the Spyder console
  
  https://github.com/spyder-ide/spyder-kernels/

Added:
  head/devel/py-spyder-kernels/
  head/devel/py-spyder-kernels/Makefile   (contents, props changed)
  head/devel/py-spyder-kernels/distinfo   (contents, props changed)
  head/devel/py-spyder-kernels/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri Feb 26 19:51:24 2021	(r566635)
+++ head/devel/Makefile	Fri Feb 26 20:08:40 2021	(r566636)
@@ -5099,6 +5099,7 @@
     SUBDIR += py-speaklater
     SUBDIR += py-speg
     SUBDIR += py-spyder
+    SUBDIR += py-spyder-kernels
     SUBDIR += py-squint
     SUBDIR += py-srsly
     SUBDIR += py-stackexchange

Added: head/devel/py-spyder-kernels/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-spyder-kernels/Makefile	Fri Feb 26 20:08:40 2021	(r566636)
@@ -0,0 +1,44 @@
+# Created by: Rainer Hurling <rhurlin at gwdg.de>
+# $FreeBSD$
+
+PORTNAME=	spyder-kernels
+PORTVERSION=	1.10.2
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	rhurlin at FreeBSD.org
+COMMENT=	Jupyter kernels for the Spyder console
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cloudpickle>0:devel/py-cloudpickle@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ipykernel5>0:devel/py-ipykernel5@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jupyter_client>0:devel/py-jupyter_client@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyzmq>=0:net/py-pyzmq@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wurlitzer>0:misc/py-wurlitzer@${PY_FLAVOR}
+TEST_DEPENDS=	${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}cython>0:lang/cython@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dask>0:devel/py-dask@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}distributed>0:devel/py-distributed@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}flaky>0:devel/py-flaky@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}xarray>0:devel/py-xarray@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+# test target currently not executable, because several deprecated functions of ipykernel are used
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v #-rs -o addopts= tests
+
+.include <bsd.port.mk>

Added: head/devel/py-spyder-kernels/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-spyder-kernels/distinfo	Fri Feb 26 20:08:40 2021	(r566636)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1614359109
+SHA256 (spyder-kernels-1.10.2.tar.gz) = a507397f5ff0426cff50f1b67996b191bdc8148583aa565f5dffd3d0111c0262
+SIZE (spyder-kernels-1.10.2.tar.gz) = 63439

Added: head/devel/py-spyder-kernels/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-spyder-kernels/pkg-descr	Fri Feb 26 20:08:40 2021	(r566636)
@@ -0,0 +1,8 @@
+Provides Jupyter kernels for use with the consoles of Spyder,
+the Scientific Python Development Environment.
+
+These kernels can be launched either through Spyder itself or
+in an independent Python session, and allow interactive or
+file-based execution of Python code inside Spyder.
+
+WWW: https://github.com/spyder-ide/spyder-kernels


More information about the svn-ports-all mailing list