git: 0e595dda1a78 - main - devel/py-ipykernel: Update to 6.13.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 09 Jun 2022 11:03:32 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0e595dda1a7898de5455721619f1d5237c30e684

commit 0e595dda1a7898de5455721619f1d5237c30e684
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-09 10:58:13 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-09 10:58:13 +0000

    devel/py-ipykernel: Update to 6.13.1
    
    Changes:        https://github.com/ipython/ipykernel/releases
---
 devel/py-ipykernel/Makefile       |  5 +++-
 devel/py-ipykernel/distinfo       |  6 ++---
 devel/py-ipykernel/files/setup.py | 53 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 60 insertions(+), 4 deletions(-)

diff --git a/devel/py-ipykernel/Makefile b/devel/py-ipykernel/Makefile
index 49b785f83444..9c04edbb6b0c 100644
--- a/devel/py-ipykernel/Makefile
+++ b/devel/py-ipykernel/Makefile
@@ -1,7 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 
 PORTNAME=	ipykernel
-PORTVERSION=	6.13.0
+PORTVERSION=	6.13.1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -27,4 +27,7 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
+post-patch:
+	@${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
+
 .include <bsd.port.mk>
diff --git a/devel/py-ipykernel/distinfo b/devel/py-ipykernel/distinfo
index 5bac08b3e710..5b0feef34ba6 100644
--- a/devel/py-ipykernel/distinfo
+++ b/devel/py-ipykernel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1650228770
-SHA256 (ipykernel-6.13.0.tar.gz) = 0e28273e290858393e86e152b104e5506a79c13d25b951ac6eca220051b4be60
-SIZE (ipykernel-6.13.0.tar.gz) = 131331
+TIMESTAMP = 1654708340
+SHA256 (ipykernel-6.13.1.tar.gz) = 6f42070a5d87ecbf4a2fc27a7faae8d690fd3794825a090ddf6b00b9678a5b69
+SIZE (ipykernel-6.13.1.tar.gz) = 134356
diff --git a/devel/py-ipykernel/files/setup.py b/devel/py-ipykernel/files/setup.py
new file mode 100644
index 000000000000..362970d09e61
--- /dev/null
+++ b/devel/py-ipykernel/files/setup.py
@@ -0,0 +1,53 @@
+# -*- coding: utf-8 -*-
+from setuptools import setup
+
+setup(
+    name='ipykernel',
+    version='%%PORTVERSION%%',
+    description='IPython Kernel for Jupyter',
+    long_description='# IPython Kernel for Jupyter\n\nThis package provides the IPython kernel for Jupyter.\n\n## Installation from source\n\n1. `git clone`\n2. `cd ipykernel`\n3. `pip install -e ".[test]"`\n\nAfter that, all normal `ipython` commands will use this newly-installed version of the kernel.\n\n## Running tests\n\nFollow the instructions from `Installation from source`.\n\nand then from the root directory\n\n```bash\npytest ipykernel\n```\n\n## Running tests with coverage\n\nFollow the instructions from `Installation from source`.\n\nand then from the root directory\n\n```bash\npytest ipykernel -vv -s --cov ipykernel --cov-branch --cov-report term-missing:skip-covered --durations 10\n```\n',
+    author_email='IPython Development Team <ipython-dev@scipy.org>',
+    classifiers=[
+        'Intended Audience :: Developers',
+        'Intended Audience :: Science/Research',
+        'Intended Audience :: System Administrators',
+        'License :: OSI Approved :: BSD License',
+        'Programming Language :: Python',
+        'Programming Language :: Python :: 3',
+        'Programming Language :: Python :: 3.10',
+        'Programming Language :: Python :: 3.7',
+        'Programming Language :: Python :: 3.8',
+        'Programming Language :: Python :: 3.9',
+    ],
+    install_requires=[
+        'appnope; platform_system == "Darwin"',
+        'debugpy>=1.0',
+        'ipython>=7.23.1',
+        'jupyter-client>=6.1.12',
+        'matplotlib-inline>=0.1',
+        'nest-asyncio',
+        'packaging',
+        'psutil',
+        'tornado>=6.1',
+        'traitlets>=5.1.0',
+    ],
+    extras_require={
+        'test': [
+            'flaky',
+            'ipyparallel',
+            'pre-commit',
+            'pytest-cov',
+            'pytest-timeout',
+            'pytest>=6.0',
+        ],
+    },
+    packages=[
+        'ipykernel',
+        'ipykernel.comm',
+        'ipykernel.gui',
+        'ipykernel.inprocess',
+        'ipykernel.inprocess.tests',
+        'ipykernel.pylab',
+        'ipykernel.tests',
+    ],
+)