science/py-ipygany: Fix build with python-3.11

PR:		275494
Approved by:	portmgr(blanket, fix build)
This commit is contained in:
Wen Heping 2024-01-22 12:20:47 +00:00
parent 345fc748de
commit 821ec0307f

View file

@ -0,0 +1,20 @@
--- setup.py.orig 2021-01-25 10:40:44 UTC
+++ setup.py
@@ -8,7 +8,6 @@ from os import path
from glob import glob
from os import path
-
from jupyter_packaging import (
create_cmdclass, install_npm, ensure_targets,
combine_commands, ensure_python,
@@ -22,9 +21,6 @@ HERE = path.dirname(path.abspath(__file__))
name = 'ipygany'
HERE = path.dirname(path.abspath(__file__))
-
-# Ensure a valid python version
-ensure_python('>=3.6')
# Get our version
version = get_version(path.join(name, '_version.py'))