pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-jupyter_client
Module Name: pkgsrc
Committed By: adam
Date: Sat Dec 30 11:30:13 UTC 2017
Modified Files:
pkgsrc/devel/py-jupyter_client: Makefile PLIST distinfo
Log Message:
py-jupyter_client: updated to 5.2.0
5.2
- Define Jupyter protocol version 5.3:
- Kernels can now opt to be interrupted by a message sent on the control channel
instead of a system signal. See :ref:kernelspecs and :ref:msging_interrupt
- New jupyter kernel command to launch an installed kernel by name
- Kernelspecs where the command starts with e.g. python3 or
python3.6—matching the version jupyter_client is running on—are now
launched with the same Python executable as the launching process.
This extends the special handling of python added in 5.0.
- Command line arguments specified by a kernelspec can now include
{resource_dir}, which will be substituted with the kernelspec resource
directory path when the kernel is launched.
- Kernelspecs now have an optional metadata field to hold arbitrary metadata
about kernels—see :ref:kernelspecs.
- Make the KernelRestarter class used by a KernelManager configurable
- When killing a kernel on Unix, kill its process group.
- If a kernel dies soon after starting, reassign random ports before restarting
it, in case one of the previously chosen ports has been bound by another
process.
- Avoid unnecessary filesystem operations when finding a kernelspec with
:meth:.KernelSpecManager.get_kernel_spec.
- :meth:.KernelSpecManager.get_all_specs will no longer raise an exception on
encountering an invalid kernel.json file. It will raise a warning and
continue.
- Check for non-contiguous buffers before trying to send them through ZMQ
- Compatibility with upcoming Tornado version 5.0.
- Simplify setup code by always using setuptools.
- Soften warnings when setting the sticky bit on runtime files fails
- Various corrections and improvements to documentation.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-jupyter_client/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-jupyter_client/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-jupyter_client/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-jupyter_client/Makefile
diff -u pkgsrc/devel/py-jupyter_client/Makefile:1.4 pkgsrc/devel/py-jupyter_client/Makefile:1.5
--- pkgsrc/devel/py-jupyter_client/Makefile:1.4 Tue Oct 17 18:19:07 2017
+++ pkgsrc/devel/py-jupyter_client/Makefile Sat Dec 30 11:30:13 2017
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2017/10/17 18:19:07 adam Exp $
+# $NetBSD: Makefile,v 1.5 2017/12/30 11:30:13 adam Exp $
-DISTNAME= jupyter_client-5.1.0
+DISTNAME= jupyter_client-5.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=j/jupyter_client/}
@@ -10,16 +10,22 @@ HOMEPAGE= http://jupyter.org/
COMMENT= Jupyter protocol implementation and client libraries
LICENSE= modified-bsd
-DEPENDS+= ${PYPKGPREFIX}-traitlets>=4.1.0:../../devel/py-traitlets
+DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.1:../../time/py-dateutil
DEPENDS+= ${PYPKGPREFIX}-jupyter_core-[0-9]*:../../devel/py-jupyter_core
+DEPENDS+= ${PYPKGPREFIX}-traitlets>=4.1.0:../../devel/py-traitlets
DEPENDS+= ${PYPKGPREFIX}-zmq>=13.0.0:../../net/py-zmq
-DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.1:../../time/py-dateutil
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
USE_LANGUAGES= # none
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} jupyter-kernel jupyter-kernel${PYVERSSUFFIX} && \
+ ${MV} jupyter-kernelspec jupyter-kernelspec${PYVERSSUFFIX} && \
+ ${MV} jupyter-run jupyter-run${PYVERSSUFFIX} || ${TRUE}
+
do-test:
cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-jupyter_client/PLIST
diff -u pkgsrc/devel/py-jupyter_client/PLIST:1.2 pkgsrc/devel/py-jupyter_client/PLIST:1.3
--- pkgsrc/devel/py-jupyter_client/PLIST:1.2 Sat Jun 24 08:17:00 2017
+++ pkgsrc/devel/py-jupyter_client/PLIST Sat Dec 30 11:30:13 2017
@@ -1,5 +1,13 @@
-@comment $NetBSD: PLIST,v 1.2 2017/06/24 08:17:00 adam Exp $
-${PYSITELIB}/${EGG_FILE}
+@comment $NetBSD: PLIST,v 1.3 2017/12/30 11:30:13 adam Exp $
+bin/jupyter-kernel${PYVERSSUFFIX}
+bin/jupyter-kernelspec${PYVERSSUFFIX}
+bin/jupyter-run${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/jupyter_client/__init__.py
${PYSITELIB}/jupyter_client/__init__.pyc
${PYSITELIB}/jupyter_client/__init__.pyo
@@ -48,6 +56,9 @@ ${PYSITELIB}/jupyter_client/ioloop/resta
${PYSITELIB}/jupyter_client/jsonutil.py
${PYSITELIB}/jupyter_client/jsonutil.pyc
${PYSITELIB}/jupyter_client/jsonutil.pyo
+${PYSITELIB}/jupyter_client/kernelapp.py
+${PYSITELIB}/jupyter_client/kernelapp.pyc
+${PYSITELIB}/jupyter_client/kernelapp.pyo
${PYSITELIB}/jupyter_client/kernelspec.py
${PYSITELIB}/jupyter_client/kernelspec.pyc
${PYSITELIB}/jupyter_client/kernelspec.pyo
@@ -96,6 +107,9 @@ ${PYSITELIB}/jupyter_client/tests/test_c
${PYSITELIB}/jupyter_client/tests/test_jsonutil.py
${PYSITELIB}/jupyter_client/tests/test_jsonutil.pyc
${PYSITELIB}/jupyter_client/tests/test_jsonutil.pyo
+${PYSITELIB}/jupyter_client/tests/test_kernelapp.py
+${PYSITELIB}/jupyter_client/tests/test_kernelapp.pyc
+${PYSITELIB}/jupyter_client/tests/test_kernelapp.pyo
${PYSITELIB}/jupyter_client/tests/test_kernelmanager.py
${PYSITELIB}/jupyter_client/tests/test_kernelmanager.pyc
${PYSITELIB}/jupyter_client/tests/test_kernelmanager.pyo
Index: pkgsrc/devel/py-jupyter_client/distinfo
diff -u pkgsrc/devel/py-jupyter_client/distinfo:1.3 pkgsrc/devel/py-jupyter_client/distinfo:1.4
--- pkgsrc/devel/py-jupyter_client/distinfo:1.3 Sat Jun 24 08:17:00 2017
+++ pkgsrc/devel/py-jupyter_client/distinfo Sat Dec 30 11:30:13 2017
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2017/06/24 08:17:00 adam Exp $
+$NetBSD: distinfo,v 1.4 2017/12/30 11:30:13 adam Exp $
-SHA1 (jupyter_client-5.1.0.tar.gz) = 1f226cd2d437eed5f9c45d572c0c9efe53437ea9
-RMD160 (jupyter_client-5.1.0.tar.gz) = 1c98a5f67daee03996326c7aae0e1e3ca8aa2cb8
-SHA512 (jupyter_client-5.1.0.tar.gz) = eca7adab1f8aae05743c341a257d4ca4338b0838cc3441939dda48229cdfa13b267bdc338b951bc4e6e139d03d26b40a1294140218f84ab800d211f7e0d8bfc7
-Size (jupyter_client-5.1.0.tar.gz) = 265233 bytes
+SHA1 (jupyter_client-5.2.0.tar.gz) = 7f62f5ca47469340f911370bdfd57718ee877766
+RMD160 (jupyter_client-5.2.0.tar.gz) = cd8e649d35050569ccb000c9eacfcf9099a3c727
+SHA512 (jupyter_client-5.2.0.tar.gz) = 0f9ad7621c4bcac37a89efc417ecc6ac5efa6f804ccc1c9b498b855dbcbc8d8b64aa66ac3c4fadf7bb1955b5348ca8b9ede7e186b90f0f8cfc2b05d12625cc9b
+Size (jupyter_client-5.2.0.tar.gz) = 1494898 bytes
Home |
Main Index |
Thread Index |
Old Index