- Updating py-jupyter_client from 5.1.0 to 5.2.4
- Taking maintainership. - HOMEPAGE to HTTPS. - Fixed tests. OK bket@ OK danj@
This commit is contained in:
parent
ba67cb19f8
commit
2e2c7daea3
@ -1,16 +1,16 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2017/06/24 09:52:46 shadchin Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2018/12/29 11:53:38 mariani Exp $
|
||||
|
||||
COMMENT = Jupyter protocol implementation and client libraries
|
||||
|
||||
MODPY_EGG_VERSION = 5.1.0
|
||||
MODPY_EGG_VERSION = 5.2.4
|
||||
DISTNAME = jupyter_client-${MODPY_EGG_VERSION}
|
||||
PKGNAME = py-${DISTNAME}
|
||||
|
||||
CATEGORIES = devel
|
||||
|
||||
HOMEPAGE = http://jupyter.org/
|
||||
HOMEPAGE = https://jupyter.org/
|
||||
|
||||
MAINTAINER = Alexandr Shadchin <shadchin@openbsd.org>
|
||||
MAINTAINER = Elias M. Mariani <marianielias@gmail.com>
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
@ -26,18 +26,20 @@ FLAVOR ?=
|
||||
RUN_DEPENDS = devel/py-dateutil${MODPY_FLAVOR} \
|
||||
devel/py-jupyter_core${MODPY_FLAVOR}>=4.3.0 \
|
||||
devel/py-traitlets${MODPY_FLAVOR} \
|
||||
net/py-zmq${MODPY_FLAVOR}
|
||||
net/py-zmq${MODPY_FLAVOR} \
|
||||
www/py-tornado${MODPY_FLAVOR}
|
||||
TEST_DEPENDS = ${RUN_DEPENDS} \
|
||||
devel/ipython${MODPY_FLAVOR}>=5.1.0 \
|
||||
devel/py-ipykernel${MODPY_FLAVOR}>=4.5.2 \
|
||||
devel/py-test${MODPY_FLAVOR} \
|
||||
net/py-msgpack${MODPY_FLAVOR}
|
||||
shells/bash
|
||||
|
||||
.if !${FLAVOR:Mpython3}
|
||||
TEST_DEPENDS += devel/py-mock
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
mv ${PREFIX}/bin/jupyter-kernel{,${MODPY_BIN_SUFFIX}}
|
||||
mv ${PREFIX}/bin/jupyter-kernelspec{,${MODPY_BIN_SUFFIX}}
|
||||
mv ${PREFIX}/bin/jupyter-run{,${MODPY_BIN_SUFFIX}}
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (jupyter_client-5.1.0.tar.gz) = CHVrAhdlyXvFZlOQcApCVcLfMWZurYv/EWs2jQmRKro=
|
||||
SIZE (jupyter_client-5.1.0.tar.gz) = 265233
|
||||
SHA256 (jupyter_client-5.2.4.tar.gz) = tfnLBhBcHS0wcZ21/7PqZ9pgkZ+2jervpYPezNiBNVE=
|
||||
SIZE (jupyter_client-5.2.4.tar.gz) = 273397
|
||||
|
@ -0,0 +1,22 @@
|
||||
$OpenBSD: patch-jupyter_client_connect_py,v 1.1 2018/12/29 11:53:38 mariani Exp $
|
||||
|
||||
Index: jupyter_client/connect.py
|
||||
--- jupyter_client/connect.py.orig
|
||||
+++ jupyter_client/connect.py
|
||||
@@ -18,6 +18,7 @@ import socket
|
||||
import stat
|
||||
import tempfile
|
||||
import warnings
|
||||
+import sys
|
||||
from getpass import getpass
|
||||
|
||||
import zmq
|
||||
@@ -137,7 +138,7 @@ def write_connection_file(fname=None, shell_port=0, io
|
||||
with open(fname, 'w') as f:
|
||||
f.write(json.dumps(cfg, indent=2))
|
||||
|
||||
- if hasattr(stat, 'S_ISVTX'):
|
||||
+ if hasattr(stat, 'S_ISVTX') and not sys.platform.startswith('openbsd'):
|
||||
# set the sticky bit on the file and its parent directory
|
||||
# to avoid periodic cleanup
|
||||
paths = [fname]
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-setup_py,v 1.1 2017/06/24 09:52:46 shadchin Exp $
|
||||
|
||||
Index: setup.py
|
||||
--- setup.py.orig
|
||||
+++ setup.py
|
||||
@@ -70,8 +70,7 @@ setup_args = dict(
|
||||
],
|
||||
)
|
||||
|
||||
-if 'develop' in sys.argv or any(a.startswith('bdist') for a in sys.argv):
|
||||
- import setuptools
|
||||
+import setuptools
|
||||
|
||||
setuptools_args = {}
|
||||
install_requires = setuptools_args['install_requires'] = [
|
@ -1,4 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.4 2017/06/24 09:52:46 shadchin Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.5 2018/12/29 11:53:38 mariani Exp $
|
||||
bin/jupyter-kernel${MODPY_BIN_SUFFIX}
|
||||
bin/jupyter-kernelspec${MODPY_BIN_SUFFIX}
|
||||
bin/jupyter-run${MODPY_BIN_SUFFIX}
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/
|
||||
@ -21,6 +22,7 @@ lib/python${MODPY_VERSION}/site-packages/jupyter_client/${MODPY_PYCACHE}clientab
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/${MODPY_PYCACHE}connect.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/${MODPY_PYCACHE}consoleapp.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/${MODPY_PYCACHE}jsonutil.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/${MODPY_PYCACHE}kernelapp.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/${MODPY_PYCACHE}kernelspec.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/${MODPY_PYCACHE}kernelspecapp.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/${MODPY_PYCACHE}launcher.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
@ -58,6 +60,7 @@ lib/python${MODPY_VERSION}/site-packages/jupyter_client/ioloop/${MODPY_PYCACHE}r
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/ioloop/manager.py
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/ioloop/restarter.py
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/jsonutil.py
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/kernelapp.py
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/kernelspec.py
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/kernelspecapp.py
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/launcher.py
|
||||
@ -77,6 +80,7 @@ lib/python${MODPY_VERSION}/site-packages/jupyter_client/tests/${MODPY_PYCACHE}te
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/tests/${MODPY_PYCACHE}test_client.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/tests/${MODPY_PYCACHE}test_connect.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/tests/${MODPY_PYCACHE}test_jsonutil.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/tests/${MODPY_PYCACHE}test_kernelapp.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/tests/${MODPY_PYCACHE}test_kernelmanager.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/tests/${MODPY_PYCACHE}test_kernelspec.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/tests/${MODPY_PYCACHE}test_localinterfaces.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
@ -89,6 +93,7 @@ lib/python${MODPY_VERSION}/site-packages/jupyter_client/tests/test_adapter.py
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/tests/test_client.py
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/tests/test_connect.py
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/tests/test_jsonutil.py
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/tests/test_kernelapp.py
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/tests/test_kernelmanager.py
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/tests/test_kernelspec.py
|
||||
lib/python${MODPY_VERSION}/site-packages/jupyter_client/tests/test_localinterfaces.py
|
||||
|
Loading…
Reference in New Issue
Block a user