summaryrefslogtreecommitdiff
path: root/dev-python/ipywidgets
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/ipywidgets')
-rw-r--r--dev-python/ipywidgets/Manifest3
-rw-r--r--dev-python/ipywidgets/files/ipywidgets-7.6.3-py310.patch37
-rw-r--r--dev-python/ipywidgets/ipywidgets-7.6.3.ebuild8
3 files changed, 45 insertions, 3 deletions
diff --git a/dev-python/ipywidgets/Manifest b/dev-python/ipywidgets/Manifest
index 55bb04236d16..5a60b253674b 100644
--- a/dev-python/ipywidgets/Manifest
+++ b/dev-python/ipywidgets/Manifest
@@ -1,7 +1,8 @@
+AUX ipywidgets-7.6.3-py310.patch 1526 BLAKE2B 102af6c7656f938aa6019a3e1cb82868d879f8bd233ec5ee6df99bb6e7f2f06bc9b4b90f13813844bf607f4b72908ad98823e7e2714b0919e9f61bb469471a90 SHA512 6a539b3c1d617facb0e9ebe0121c390d524a2181e4bfa11c59494a56f41265483bcedda06b9b3b6f60d81eccea971bf94a108014baa4aef78712f624ce0b956d
DIST ipywidgets-7.5.1.tar.gz 5656334 BLAKE2B 8bd98f523b619bea02e01ae5faffb08040dc5011905dd69510728b02736e66444b3c3cdf1e7272884c1df97f610aff790063f783e1d0939786669ef39cd1fc94 SHA512 856b3e4dad331766eff6e5f1fd31984a4b6ede5c678ffd51a4896f6448dac53ba181ccec2821f10e07e0f1095318427affe19f1420d0337bc3d37ef1e0a9ea0d
DIST ipywidgets-7.6.2.tar.gz 4066260 BLAKE2B b0d75d83108336bac204c24d2a67e88a200939cd8308d99bdb3842916387266f24607726ce0b8781b4a8b6330b9e26bf1eeeeebcaf7588b74980d5bc6603e1b8 SHA512 a8c25ee82e0b0752f850a314fd9a05bbcdd098c9fbe8a0cf0b23e097380beaf7fc916e555fe1597a45bd0085efebc40593da66ef1408114fc6d3085467d95183
DIST ipywidgets-7.6.3.tar.gz 4072376 BLAKE2B 095226ef6a9ee0821b875dc117afe4155132b6b2d94da71b937959c1c4e9f33fa2837d8b736a47caed77c4c52fbb95d8afb5db9e58e99e567a34d6c8cf39afa3 SHA512 7b3506b43214948d73f4f2c55af81ceacff3d7cccc167dd32c72df6bffb8b1b1f8bdbfac7162d343858f723e7b3f3a1cd78f20c2f93b14a8eb39125ae2aee7b4
EBUILD ipywidgets-7.5.1-r1.ebuild 662 BLAKE2B 59d22bbe2c5149799509cdb5bf95592b6e4eaadb687fb8a6337ba39b111aece352e86fc44cc811ec45c174ca8e83bdc7c0c17a933312e355f5a355b19413516e SHA512 3f7c57a8e75fdd19b6a718cc09f6bb5b296070f22e2fff8a4a231633c0dd201bb2c96e8083389950086145584f592c670197fc7808fac4d96f4c7c1292e00c61
EBUILD ipywidgets-7.6.2.ebuild 692 BLAKE2B 050bb849c9300a5ffc23659c29624a989034907527b297997517c3704ca63feba144ca276f2903d8d683db54be73cb28e3e4f333abbd23d3fc9799c48ccbc9f3 SHA512 53de75afe4494284a17082d230651f707d64e09f338b10c4523d442e4d887e5277efd5b31ddf1bcb81029ba19d73af2bde942aa9d44f06fdbb763e90f9e6d037
-EBUILD ipywidgets-7.6.3.ebuild 702 BLAKE2B ca87c39addf167bf1dbb5f92635d9007a84b76ef131389e2c8d62e0b4c765ec9697f80d4f8c1b4db5f23735f2ae76cdf0af6514571ad7e13a22ecc20760dd35b SHA512 4fa5618be4f853345a907546064b9f81b31db01e2fdaaccff7a710627634078319dad27b411fa51216f03e51cefcd707926754cb2fb2e57b79679eef4fd07b80
+EBUILD ipywidgets-7.6.3.ebuild 748 BLAKE2B 44eb462ddf12cf1a6371babdca0e6e77abe614d5fc2c5d7441dbfb136fb11528777b767e84173afb4eee1b95112645a2f48a25098f77ebcffd68019b703392a5 SHA512 a673fbb37c68cdbdfb87a10adf5139388ceb13f3d11c75753182435f8a498388f464a932f816f098fcf621a94030b05379a16049006c6530eb3f3678a0a5ced4
MISC metadata.xml 536 BLAKE2B 885f71096220f3b226d03e8b44bfb31ccccf060a55c1de6634369d2570463912e19146577c10c0152ad0aac8c5d0a107317db1e2a2f705bc8a21efb6ac59a636 SHA512 2e7e02e4dbb0b2ef05216f597a14bca27af0526da6ec962da402e206ec5eb8a9b08174d52cf5d6d231c20c899a7e87a8f942c7cefb93dfa50eeab7bc65d61a05
diff --git a/dev-python/ipywidgets/files/ipywidgets-7.6.3-py310.patch b/dev-python/ipywidgets/files/ipywidgets-7.6.3-py310.patch
new file mode 100644
index 000000000000..f3d82d0a8ec1
--- /dev/null
+++ b/dev-python/ipywidgets/files/ipywidgets-7.6.3-py310.patch
@@ -0,0 +1,37 @@
+From f9a13dbb3b8f1ffefef483bdb4c14f04f7743ff1 Mon Sep 17 00:00:00 2001
+From: Jason Grout <jgrout6@bloomberg.net>
+Date: Tue, 31 Dec 2019 12:57:52 -0800
+Subject: [PATCH] Fix more python 3 deprecations
+
+---
+ ipywidgets/widgets/interaction.py | 2 +-
+ ipywidgets/widgets/tests/test_interaction.py | 3 ++-
+ 2 files changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/ipywidgets/widgets/interaction.py b/ipywidgets/widgets/interaction.py
+index 3dd7272047..6e3b9fc955 100644
+--- a/ipywidgets/widgets/interaction.py
++++ b/ipywidgets/widgets/interaction.py
+@@ -246,7 +246,7 @@ def update(self, *args):
+ except Exception as e:
+ ip = get_ipython()
+ if ip is None:
+- self.log.warn("Exception in interact callback: %s", e, exc_info=True)
++ self.log.warning("Exception in interact callback: %s", e, exc_info=True)
+ else:
+ ip.showtraceback()
+ finally:
+diff --git a/ipywidgets/widgets/tests/test_interaction.py b/ipywidgets/widgets/tests/test_interaction.py
+index 1ee946744e..c792c5377a 100644
+--- a/ipywidgets/widgets/tests/test_interaction.py
++++ b/ipywidgets/widgets/tests/test_interaction.py
+@@ -249,7 +249,8 @@ def test_iterable_tuple():
+ check_widgets(c, lis=d)
+
+ def test_mapping():
+- from collections import Mapping, OrderedDict
++ from collections.abc import Mapping
++ from collections import OrderedDict
+ class TestMapping(Mapping):
+ def __init__(self, values):
+ self.values = values
diff --git a/dev-python/ipywidgets/ipywidgets-7.6.3.ebuild b/dev-python/ipywidgets/ipywidgets-7.6.3.ebuild
index a8791123ada1..21b3e27415a5 100644
--- a/dev-python/ipywidgets/ipywidgets-7.6.3.ebuild
+++ b/dev-python/ipywidgets/ipywidgets-7.6.3.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
DISTUTILS_USE_SETUPTOOLS=no
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
@@ -25,3 +25,7 @@ RDEPEND="
"
distutils_enable_tests pytest
+
+PATCHES=(
+ "${FILESDIR}/${P}-py310.patch"
+)