diff options
Diffstat (limited to 'dev-python')
18 files changed, 313 insertions, 15 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex d7c144d499a0..a215e93f1691 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/ipython_genutils/Manifest b/dev-python/ipython_genutils/Manifest index a4352dce5b01..70956215bb50 100644 --- a/dev-python/ipython_genutils/Manifest +++ b/dev-python/ipython_genutils/Manifest @@ -1,3 +1,5 @@ +AUX ipython_genutils-0.2.0-remove-nose.patch 8942 BLAKE2B 341047baeebfaa9317717da5674291c63f38630b14fb1f3252e672c8666c26588444c7d3242884c4e723d502ed14efc1a2e6ea58cea52d141f6383818c2042b6 SHA512 47c262744f7e24cea89c47114e8f061d77d6d992bac5f1ca3f33ac354680ff64d9df4503a0d0ca28340d1799bd0f5f6ec2693a17b4121fd3780690d48f26d4c0 DIST ipython_genutils-0.2.0.tar.gz 22208 BLAKE2B 1a898e11cec26787f530f72e2d2a79e7834664e0f6be6a27ddd426bc2d0b3f39ee46e9ea10ad03e01a08054873c9752007038e863d7dd9e501613a68e40e1635 SHA512 0e5a9f8be17d98dfb74ec77d1360ee79276a13fe1914e6d31e8740f06375ed1671c49356a77f118495f50823b8384c1e2c5b6fae73965e3d4249c831b9a2b095 EBUILD ipython_genutils-0.2.0-r3.ebuild 585 BLAKE2B 9e9c76692aaeb40d4a108166aa23bb68a830b75e3824b8b771ec04de8817d4d503df35910a5be9389637155e1521f90d07d727a92286ed72b113918ed4f5fb7e SHA512 aa9047c01ad8b4c300eb20941bc0e837721ac0f331c37efcf67c1c7b1a6517e9b400129db7bb1c76c999e4ddb2a7adb2542bbb83f7c4db6e77cff8a654159151 +EBUILD ipython_genutils-0.2.0-r4.ebuild 664 BLAKE2B aa9d5ebee30a25792425d8d41242af6e6ae55a3c92aa57fa8833ff6531722669c862621c272d4274def57af2356f424e80db2ea10210f9f461e83fb73be3c437 SHA512 fa8f61e53d37fb3e555be5f220daa7c2540577526b641c84ce7b99c0ec1c46112fcdcde80194077dc081c95a724f2d2aef5eecc309677033bd5dcb1cd9cae6f6 MISC metadata.xml 862 BLAKE2B e520f2f567209b25e738b0ffddf7f6c636edd9c4f5a5dfe888009a48f23a73fbcc3c1c0d6ee9886d5b3b3969e1fcdc3cef7e6a9438228236ea3808446757df57 SHA512 b153b7a1d384236b7ac65738dd35d1b7a1557e3db72344a26e9c2a5f472ed971c8bce1787a507f140a85bd066daeade1d990b3b76b272354e18248de2f65c98e diff --git a/dev-python/ipython_genutils/files/ipython_genutils-0.2.0-remove-nose.patch b/dev-python/ipython_genutils/files/ipython_genutils-0.2.0-remove-nose.patch new file mode 100644 index 000000000000..a483aad330fa --- /dev/null +++ b/dev-python/ipython_genutils/files/ipython_genutils-0.2.0-remove-nose.patch @@ -0,0 +1,264 @@ +Use pytest instead of nose in testing & backend implementation + +https://build.opensuse.org/package/view_file/devel:languages:python:jupyter/python-ipython_genutils/denose.patch + +--- a/ipython_genutils/testing/decorators.py ++++ b/ipython_genutils/testing/decorators.py +@@ -35,6 +35,7 @@ import sys + import os + import tempfile + import unittest ++import pytest + + # For onlyif_cmd_exists decorator + from ..py3compat import string_types, which +@@ -131,81 +132,12 @@ def make_label_dec(label,ds=None): + # Inspired by numpy's skipif, but uses the full apply_wrapper utility to + # preserve function metadata better and allows the skip condition to be a + # callable. +-def skipif(skip_condition, msg=None): +- ''' Make function raise SkipTest exception if skip_condition is true +- +- Parameters +- ---------- +- +- skip_condition : bool or callable +- Flag to determine whether to skip test. If the condition is a +- callable, it is used at runtime to dynamically make the decision. This +- is useful for tests that may require costly imports, to delay the cost +- until the test suite is actually executed. +- msg : string +- Message to give on raising a SkipTest exception. +- +- Returns +- ------- +- decorator : function +- Decorator, which, when applied to a function, causes SkipTest +- to be raised when the skip_condition was True, and the function +- to be called normally otherwise. +- +- Notes +- ----- +- You will see from the code that we had to further decorate the +- decorator with the nose.tools.make_decorator function in order to +- transmit function name, and various other metadata. +- ''' +- +- def skip_decorator(f): +- # Local import to avoid a hard nose dependency and only incur the +- # import time overhead at actual test-time. +- import nose +- +- # Allow for both boolean or callable skip conditions. +- if callable(skip_condition): +- skip_val = skip_condition +- else: +- skip_val = lambda : skip_condition +- +- def get_msg(func,msg=None): +- """Skip message with information about function being skipped.""" +- if msg is None: out = 'Test skipped due to test condition.' +- else: out = msg +- return "Skipping test: %s. %s" % (func.__name__,out) +- +- # We need to define *two* skippers because Python doesn't allow both +- # return with value and yield inside the same function. +- def skipper_func(*args, **kwargs): +- """Skipper for normal test functions.""" +- if skip_val(): +- raise nose.SkipTest(get_msg(f,msg)) +- else: +- return f(*args, **kwargs) +- +- def skipper_gen(*args, **kwargs): +- """Skipper for test generators.""" +- if skip_val(): +- raise nose.SkipTest(get_msg(f,msg)) +- else: +- for x in f(*args, **kwargs): +- yield x +- +- # Choose the right skipper to use when building the actual generator. +- if nose.util.isgenerator(f): +- skipper = skipper_gen +- else: +- skipper = skipper_func +- +- return nose.tools.make_decorator(f)(skipper) +- +- return skip_decorator ++def skipif(skip_condition, msg=""): ++ return pytest.mark.skipif(skip_condition, reason=msg) + + # A version with the condition set to true, common case just to attach a message + # to a skip decorator +-def skip(msg=None): ++def skip(msg=""): + """Decorator factory - mark a test function for skipping from test suite. + + Parameters +@@ -219,7 +151,6 @@ def skip(msg=None): + Decorator, which, when applied to a function, causes SkipTest + to be raised, with the optional message added. + """ +- + return skipif(True,msg) + + +--- a/ipython_genutils/tests/test_importstring.py ++++ b/ipython_genutils/tests/test_importstring.py +@@ -3,25 +3,25 @@ + # Copyright (c) IPython Development Team. + # Distributed under the terms of the Modified BSD License. + +-import nose.tools as nt +- + from ..importstring import import_item + ++import pytest ++ ++ + def test_import_plain(): + "Test simple imports" + import os + os2 = import_item('os') +- nt.assert_true(os is os2) ++ assert os is os2 + + + def test_import_nested(): + "Test nested imports from the stdlib" + from os import path + path2 = import_item('os.path') +- nt.assert_true(path is path2) ++ assert path is path2 + + + def test_import_raises(): + "Test that failing imports raise the right exception" +- nt.assert_raises(ImportError, import_item, 'IPython.foobar') +- ++ pytest.raises(ImportError, import_item, 'IPython.foobar') +--- a/ipython_genutils/tests/test_path.py ++++ b/ipython_genutils/tests/test_path.py +@@ -5,15 +5,12 @@ + # Distributed under the terms of the Modified BSD License. + + import os +-import sys + import tempfile + +-import nose.tools as nt ++import pytest + +-from ..testing.decorators import skip_if_not_win32, skip_win32 +-from .. import path +-from .. import py3compat +-from ..tempdir import TemporaryDirectory ++from ipython_genutils.testing.decorators import skip_if_not_win32, skip_win32 ++from ipython_genutils import path + + + def test_filefind(): +@@ -22,20 +19,24 @@ def test_filefind(): + + + def test_ensure_dir_exists(): +- with TemporaryDirectory() as td: ++ with tempfile.TemporaryDirectory() as td: + d = os.path.join(td, u'∂ir') + path.ensure_dir_exists(d) # create it + assert os.path.isdir(d) + path.ensure_dir_exists(d) # no-op + f = os.path.join(td, u'ƒile') + open(f, 'w').close() # touch +- with nt.assert_raises(IOError): ++ with pytest.raises(IOError): + path.ensure_dir_exists(f) + + + class TestLinkOrCopy(object): ++ def __init__(self): ++ self.tempdir = None ++ self.src = None ++ + def setUp(self): +- self.tempdir = TemporaryDirectory() ++ self.tempdir = tempfile.TemporaryDirectory() + self.src = self.dst("src") + with open(self.src, "w") as f: + f.write("Hello, world!") +@@ -47,17 +48,17 @@ class TestLinkOrCopy(object): + return os.path.join(self.tempdir.name, *args) + + def assert_inode_not_equal(self, a, b): +- nt.assert_not_equals(os.stat(a).st_ino, os.stat(b).st_ino, +- "%r and %r do reference the same indoes" %(a, b)) ++ assert os.stat(a).st_ino != os.stat(b).st_ino, \ ++ "%r and %r do reference the same indoes" % (a, b) + + def assert_inode_equal(self, a, b): +- nt.assert_equals(os.stat(a).st_ino, os.stat(b).st_ino, +- "%r and %r do not reference the same indoes" %(a, b)) ++ assert os.stat(a).st_ino == os.stat(b).st_ino, \ ++ "%r and %r do not reference the same indoes" % (a, b) + + def assert_content_equal(self, a, b): + with open(a) as a_f: + with open(b) as b_f: +- nt.assert_equals(a_f.read(), b_f.read()) ++ assert a_f.read() == b_f.read() + + @skip_win32 + def test_link_successful(self): +@@ -105,4 +106,4 @@ class TestLinkOrCopy(object): + path.link_or_copy(self.src, dst) + path.link_or_copy(self.src, dst) + self.assert_inode_equal(self.src, dst) +- nt.assert_equal(sorted(os.listdir(self.tempdir.name)), ['src', 'target']) ++ assert sorted(os.listdir(self.tempdir.name)) == ['src', 'target'] +--- a/ipython_genutils/tests/test_text.py ++++ b/ipython_genutils/tests/test_text.py +@@ -5,12 +5,7 @@ from __future__ import print_function + # Copyright (c) IPython Development Team. + # Distributed under the terms of the Modified BSD License. + +-import os +-import math + import random +-import sys +- +-import nose.tools as nt + + from .. import text + +@@ -20,11 +15,11 @@ def test_columnize(): + size = 5 + items = [l*size for l in 'abc'] + out = text.columnize(items, displaywidth=80) +- nt.assert_equal(out, 'aaaaa bbbbb ccccc\n') ++ assert out == 'aaaaa bbbbb ccccc\n' + out = text.columnize(items, displaywidth=12) +- nt.assert_equal(out, 'aaaaa ccccc\nbbbbb\n') ++ assert out == 'aaaaa ccccc\nbbbbb\n' + out = text.columnize(items, displaywidth=10) +- nt.assert_equal(out, 'aaaaa\nbbbbb\nccccc\n') ++ assert out == 'aaaaa\nbbbbb\nccccc\n' + + def test_columnize_random(): + """Test with random input to hopfully catch edge case """ +@@ -48,12 +43,11 @@ def test_columnize_medium(): + size = 40 + items = [l*size for l in 'abc'] + out = text.columnize(items, displaywidth=80) +- nt.assert_equal(out, '\n'.join(items+[''])) ++ assert out == '\n'.join(items+['']) + + def test_columnize_long(): + """Test columnize with inputs longer than the display window""" + size = 11 + items = [l*size for l in 'abc'] + out = text.columnize(items, displaywidth=size-1) +- nt.assert_equal(out, '\n'.join(items+[''])) +- ++ assert out == '\n'.join(items+['']) diff --git a/dev-python/ipython_genutils/ipython_genutils-0.2.0-r4.ebuild b/dev-python/ipython_genutils/ipython_genutils-0.2.0-r4.ebuild new file mode 100644 index 000000000000..25326795b10a --- /dev/null +++ b/dev-python/ipython_genutils/ipython_genutils-0.2.0-r4.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Vestigial utilities from IPython" +HOMEPAGE="https://github.com/ipython/ipython_genutils" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# Needed because package provides decorators which use pytest (after patch) +RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" + +PATCHES=( + "${FILESDIR}/${P}-remove-nose.patch" +) + +distutils_enable_tests pytest diff --git a/dev-python/jupyterlab_pygments/Manifest b/dev-python/jupyterlab_pygments/Manifest index 3e426d6aceca..6490d5a711f9 100644 --- a/dev-python/jupyterlab_pygments/Manifest +++ b/dev-python/jupyterlab_pygments/Manifest @@ -1,3 +1,3 @@ DIST jupyterlab_pygments-0.2.2.tar.gz 132378 BLAKE2B a9db4c3bfea9e8e6f357c90e9b1861cf2bcb796fe5d7ea9a0f02677773b18dd5a02966d8555cd17e8314b283056ac9423948077d6cdc127985f34a5faf892ec1 SHA512 59d328522b11ecae6ae67ef8f9eb7168b0e4241cc6a68765096bf0ad26a20489f302179d50e7e46efd5b9de711520e2c67ab1e634cc583416277a98a5f663daa -EBUILD jupyterlab_pygments-0.2.2.ebuild 577 BLAKE2B 77d5da381285de43091e968484eb13828a672ff44dd5b8be80cb130b3dce13b1702e28e65f3e4a2b2c85f9fce05e76da47c79e298160b9c671a449fa23440dd9 SHA512 2925c2d6693c86a8f656847af07a462efc4d0739c9fb2156776075f97604c765535ccc03d283c76a674debffb4ea56d41c96d73a2b1f1755e05113bc291049a8 +EBUILD jupyterlab_pygments-0.2.2.ebuild 577 BLAKE2B a1d976bb1c9aae706d2ab685f69a24e4e734054c5f4043007709c74a166ca95d5b8eeae527981027733896d0ff6995242bd5d8b833c33889accd6a264a36ebc7 SHA512 ee2f87688063e668dccc4ec366cf7a746d3fd542ba89c8cbe114340eb641cac9875dd780c24d32ce83d031af385cf9a522186e8ea8736b1fe09cde5c87f6999e MISC metadata.xml 395 BLAKE2B 61c5b49ef1984252b5be03231c068df3c46d4326368f3d5166d416e20fc29e6fe8356d6e6f3767f61a05154d42f86407ebab060ebf01a742fd082e62d65469b0 SHA512 9eac2fc382341fec3e344fdfc8365e022b9890739419e8f63bdee313293acc18fe75e40234c26b649396f1e164c32e1a7cd43ea26216c24b610bf495db0c5318 diff --git a/dev-python/jupyterlab_pygments/jupyterlab_pygments-0.2.2.ebuild b/dev-python/jupyterlab_pygments/jupyterlab_pygments-0.2.2.ebuild index 27b5ac17d089..9743d7b38c95 100644 --- a/dev-python/jupyterlab_pygments/jupyterlab_pygments-0.2.2.ebuild +++ b/dev-python/jupyterlab_pygments/jupyterlab_pygments-0.2.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=jupyter -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 diff --git a/dev-python/pandocfilters/Manifest b/dev-python/pandocfilters/Manifest index ab7a9d997d66..b0656ce59387 100644 --- a/dev-python/pandocfilters/Manifest +++ b/dev-python/pandocfilters/Manifest @@ -1,3 +1,3 @@ DIST pandocfilters-1.5.0.tar.gz 8405 BLAKE2B 962da4f0e0d469f28f35eb181b10df317cb4130d796f62fe7ef27078d257e52a3554f93c64c303f617bbdd8b517868024686c8fd9f82b83a0ae6a923708c21a5 SHA512 32586d4718fd4b7047d850ca767ffacf8fba60844edf8469458e8549286e571774e7178678c7121be62b9a3c819a25de2d30b8fe58a539553336f322b87e836e -EBUILD pandocfilters-1.5.0.ebuild 462 BLAKE2B 498f6c84bdaa978605f59a1cf4f5a6957d18df0dca9d42e93d0eca868dc539e987f35d9b3c7d6be045320e7a9faa6dc190f577dbde50ec2b007c19c2faeb6c8f SHA512 d6be046f8d58f2a55508193dc5df621c81ba41549186e33f35508a0fe64e910b472455618f191a08c8b9e9adc6e9414cd92f82d203ba7d34d4ab4311115480f0 +EBUILD pandocfilters-1.5.0.ebuild 494 BLAKE2B 663db8a775fa9367764fea555ab73ee417a0ff9fd823c9fc53cd3e4ade36cf253549c0f27fbfeb79e61c532c17785b244843391f099a3c267c1c380c62d384d0 SHA512 32f728cf6a9390e90257df12458875a6a8554549f18b644d6d7da7e6aef73e0af587724fe0b61f5cab1e42cbb83828afe4a0c1a6aeeb85dda75cabc893b7cb10 MISC metadata.xml 531 BLAKE2B 769bc999250385f7fa2ed52c3e3641264a6dcb0b8aac82f2f3b4fcb8725699c64d6fb5c9aec69a7b04255469b8f50c0500ef746ed2d3ddff928cc304c6d6907c SHA512 6cbca8131719f4be0bca59673a9e269a16adf5cd49c997225a8a50ba75d2897e552c812e16702dd19ad3c0bfe2abffb286cb7a7c0b8d1f0d4b8d09b3598fd10f diff --git a/dev-python/pandocfilters/pandocfilters-1.5.0.ebuild b/dev-python/pandocfilters/pandocfilters-1.5.0.ebuild index 82b3946c64f0..8b3a84608114 100644 --- a/dev-python/pandocfilters/pandocfilters-1.5.0.ebuild +++ b/dev-python/pandocfilters/pandocfilters-1.5.0.ebuild @@ -3,7 +3,8 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 DESCRIPTION="Utilities for writing pandoc filters in python" diff --git a/dev-python/prometheus_client/Manifest b/dev-python/prometheus_client/Manifest index 4c517190408f..4417f28bbd26 100644 --- a/dev-python/prometheus_client/Manifest +++ b/dev-python/prometheus_client/Manifest @@ -1,3 +1,3 @@ DIST prometheus_client-0.14.1.gh.tar.gz 76321 BLAKE2B fd924e80d32df9fceb8898530893148f3f1131a13e97a3bac56540ba2fe3846c5498bb78d3cdcb312827dd8a8db2624e831880c5c1f348da0522db96dd0ef29e SHA512 882e7193cb344d154df8a7b7fbdfb5c635363c1aea8bde1ea174a7614bc868fe337399db7a1fb90a94128d7bdfedbc741f5f6c44d514d1ca9ab684c7527e7317 -EBUILD prometheus_client-0.14.1.ebuild 695 BLAKE2B bbb376ccefe73611de730dfcad91367fd3283c4a8e626f73a33624b398938310610b3c0822afb6a134e824a1bbad7c703ef952918b9ceda84e1f399453bb6f10 SHA512 17d6414c99028fe131770a4c06c8affabe07ab7f9e35836a43cc075e7c13bcb62a6bdd22c121bb5f320811bc289dfa70d617ec5f95da50d315295ba0b8b15875 +EBUILD prometheus_client-0.14.1.ebuild 695 BLAKE2B 72d5f5866d8293655155debfd214c9ac0057b950bcb07231ccb7d195daef7b74aacdfbe3a4290dde5cc175a80052577b2551fc93bd472f7b1315447ef8dcff36 SHA512 64d9795ca0ac2795f8c0fe1bfb741543b9d1573f0499a985101569ca400821ae0c8032b228d58068ec03214b0a445dc7f2ba868ad9e2bd128a70bbb0bb99141c MISC metadata.xml 409 BLAKE2B 900f1046ec87679dabe88792bfea55cdf6dbbc1f332260e5487628530a1e5b2e07a1b5776313c484ed2355c205dea165547628297da3fd3e0d9e7c352f4f7a54 SHA512 beee1bb3823aa235e8c2667b18157254335777dbf1169beaee54190d41819dd0e82c58a8ea09c4981740370d7e5463ce11d327e02bf411093dfb653a557077ff diff --git a/dev-python/prometheus_client/prometheus_client-0.14.1.ebuild b/dev-python/prometheus_client/prometheus_client-0.14.1.ebuild index 8f062df5bf59..60739a3214ee 100644 --- a/dev-python/prometheus_client/prometheus_client-0.14.1.ebuild +++ b/dev-python/prometheus_client/prometheus_client-0.14.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 diff --git a/dev-python/pytest-tornado/Manifest b/dev-python/pytest-tornado/Manifest index ced7ab7e9e5c..4a81355929c2 100644 --- a/dev-python/pytest-tornado/Manifest +++ b/dev-python/pytest-tornado/Manifest @@ -1,3 +1,3 @@ DIST pytest-tornado-0.8.1.tar.gz 12616 BLAKE2B 0e9668056c5f6dafd242f311825f830fe1e6428f4c38d030bb0a119f8ae54d511debdb4f839adcfa0881d6ecc79e4889dbed80121cd7a3d4bfb75dd901cb234e SHA512 e655ee9e28461c68b6cc642dbbb203a31154305a603951641e795c605f55970243bb9f7a8858a44bf70faba3d647bea6cf1525f2f9655a968cabbea43beec3d6 -EBUILD pytest-tornado-0.8.1.ebuild 689 BLAKE2B f41dc05367a95ee16b00194e2e42fd1e86eddcd0d34b63c9d8601927f49bb468a164d1ef5629568ea12b0ddf36404227cfdec0746bd5f26cfa05bd7a89cd8535 SHA512 4443b47792b396deeb5e7a42301b03cc282e5de40aa5e84971638a704ad15e2ffa16b243c55f1cbd95962a0bdf60000c19eb4ff52146a887f637be9f47429113 +EBUILD pytest-tornado-0.8.1.ebuild 689 BLAKE2B 59e8db24251b06a5768afb467e357fb88166ba4e1680a0b2770f547caf92cbd4bac2b186d6dc351d4b0a2214c5232686308fc075ab3dc232a8c1ed9477764e0d SHA512 029d7461db640bdbe17c2cd1af6c8193fbe59fd3c0122efed55b5c2244c1bd2748837deb4ed393ca278e3e8e9c8fc7e92b2f154475019b867193c6aa5d68da8c MISC metadata.xml 518 BLAKE2B 837787bd26b38f956e70d08e16813f69600a6d0a56755574e2a6f6be273ad5301a4680116cb6a0296891b508fb35f3cd090b090fd1df84ec4264f27425055c61 SHA512 923bc0cbc46725a21ae271c09b4bf9a17a4f80c3ed9b99d2d24c00343091b7ef7ad75988387be994bf43131b8e810a56fc45390a061ed647711cd57de7447820 diff --git a/dev-python/pytest-tornado/pytest-tornado-0.8.1.ebuild b/dev-python/pytest-tornado/pytest-tornado-0.8.1.ebuild index 43d04d408248..65f1e345f8e8 100644 --- a/dev-python/pytest-tornado/pytest-tornado-0.8.1.ebuild +++ b/dev-python/pytest-tornado/pytest-tornado-0.8.1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 diff --git a/dev-python/pytest-tornasync/Manifest b/dev-python/pytest-tornasync/Manifest index f2f689b9a0de..94a4f88f92b8 100644 --- a/dev-python/pytest-tornasync/Manifest +++ b/dev-python/pytest-tornasync/Manifest @@ -1,3 +1,3 @@ DIST pytest-tornasync-0.6.0.post2.tar.gz 6201 BLAKE2B 6b6a2f941e649fb33373ef39b9d848d68a8af0f5e0d1a5e4496a9160e8e63ea108832437e87382c8203bb2c75673fad37b4ebd76157913199eb1661cd0216591 SHA512 2e258913b17a5442d18928833ee7e9771b6dbd148dbf251a7661432a54d4b9f9f3a7c396134eb544c0e3ce0af48c99d2d632399ac6ebdcf148187a7a523f4974 -EBUILD pytest-tornasync-0.6.0_p2.ebuild 840 BLAKE2B 5a8518748b81b086725a10828f8968779f04a4551d635e17d54c7a37f134f27180387225dbcab9f9bd6ef1e230480920c772f945b35fb52fd37331e057b28f5b SHA512 d24716429cd06aaeba17cfc00d0ae6d70ddbf15bace7deed5481a8942a9a51917450817d6aed1a2bea68428c34d60dced3674852ca90d9d1dff5054df910c299 +EBUILD pytest-tornasync-0.6.0_p2.ebuild 840 BLAKE2B 34da07d3fb5b250152a00cdbbdf05329de544e23e288382f8345db2d6f5b49e632f4f2645038f6273714579ae300fd340c5ae2308c8a1deaee23a3c493704362 SHA512 dc0762d60dae5c94447fb2d750a2e64135c5fd0ab80583268dd2c975f2c268b5754f6a2d5da2419f37d50df1d09a110eac6347a2a2705b6419ee154c2b97d82c MISC metadata.xml 423 BLAKE2B 5f62fb4f40fb223be599f7ad934bc2c23d2fd843cd90708eed0042e464c89c1385375d7217707646ea4b5d98903f7fbace04c465eebcfef102805346b2fe9cbd SHA512 22ad021af9cce23bfe4eb799cf015beb26fd042daddf0f8b6e6adb03365b850f2a3a3aa623c5f3c5b9b56a8149d6d53cb254b0f9730e0cbf55ef2d0400981d08 diff --git a/dev-python/pytest-tornasync/pytest-tornasync-0.6.0_p2.ebuild b/dev-python/pytest-tornasync/pytest-tornasync-0.6.0_p2.ebuild index eb035f62c0d5..729ab8e9b9f8 100644 --- a/dev-python/pytest-tornasync/pytest-tornasync-0.6.0_p2.ebuild +++ b/dev-python/pytest-tornasync/pytest-tornasync-0.6.0_p2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 diff --git a/dev-python/python-socks/Manifest b/dev-python/python-socks/Manifest index ea015cf1e966..1c410945aec7 100644 --- a/dev-python/python-socks/Manifest +++ b/dev-python/python-socks/Manifest @@ -1,3 +1,3 @@ DIST python-socks-2.0.3.gh.tar.gz 40697 BLAKE2B c1e6f72763d1bd767af78ea1188e411814a6d41f703488dd67165d5a9b9ce1e2f9070b35a46cd72859b65c10519cdb02c91d1702a97c2d82cb5891b46187d02a SHA512 9d51e61d03b4a46e94a66fc037ac759715db2e2c5d631aaf6088a0363ad13140c00da44a513088a40c0f149b9d4ee2bb4165f59f76c3956f0aede8104772fc5d -EBUILD python-socks-2.0.3.ebuild 1081 BLAKE2B a2f9504f4db9b3b03c0b1040d319c882c5f176ac0a54ce082166c80cd9b72eb2621d4d4449efab56b898c18e3e7bec0cd088c6e212f4dff889affcabde426a4e SHA512 9e275fcecf88fa7febba748b15be618356289846a167f1277b6c3631cf4ca3039cc937c6b3e2853e50027eed2ef32e665c970c3bcd2fdf6affd131d4481d6d89 +EBUILD python-socks-2.0.3.ebuild 1170 BLAKE2B c77b7190ba5c0146225fc206f2d10951e8bd437c887b4ce41d391e105fced970e9b01fc71712672120a8b8c7126742fdfe47be376a08470f66d55381b6bd4aa9 SHA512 5287474b79044a0f3d96f25147d713c7a5911033da9ded0a8c0bdaa075458245257b6a9a30230c908e7b596798ae2e9e621102006b2939fc555142dc7c331350 MISC metadata.xml 380 BLAKE2B 2209abdbafd26baae585840e774843c37e0c6103fa93d75e8c1ddbc8dd1b96f269a3e76f14c39a55294d4d642d7fbe9f87c6b1a0b64152c671590a9e0a6ef959 SHA512 ccbb1a5c9fd05ae1da346f4f92efe156921f7adf9f5544635a407ba4a8154c896bda2e445e05e70a8e46c2829b8d4a38d3bf5d73804a3641c811acd2be62099a diff --git a/dev-python/python-socks/python-socks-2.0.3.ebuild b/dev-python/python-socks/python-socks-2.0.3.ebuild index 9afd16d096de..7a637139c9fa 100644 --- a/dev-python/python-socks/python-socks-2.0.3.ebuild +++ b/dev-python/python-socks/python-socks-2.0.3.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} pypy3 ) +PYTHON_COMPAT=( python3_{8..11} pypy3 ) inherit distutils-r1 DESCRIPTION="SOCKS4, SOCKS5, HTTP tunneling functionality for Python" @@ -36,3 +36,8 @@ BDEPEND=" )" distutils_enable_tests pytest + +python_test() { + # can be removed on next version bump + epytest --asyncio-mode=strict +} diff --git a/dev-python/websocket-client/Manifest b/dev-python/websocket-client/Manifest index e3841a4e8bff..c0bd8362982d 100644 --- a/dev-python/websocket-client/Manifest +++ b/dev-python/websocket-client/Manifest @@ -1,5 +1,5 @@ DIST websocket-client-1.3.2.tar.gz 47821 BLAKE2B bdd398885f1c76646e094f6e2efa3c886bfddb0d5f1a2961ad2586444c9bff7272f61d880567e7826aa49c36ac48d6cad1583d0cc4bdb73d0f1702e9b4bf2e2b SHA512 c2a38aa3fff0e7f94433cec1939ce75074d9f89d403c0627f34e3a0486dc35fe00230ba7c05f9172a89d3ee49f0ef53ae367eca864f34ec95932966b31d6c3a8 DIST websocket-client-1.3.3.tar.gz 48250 BLAKE2B 1d6027d7ad2f45ad774da8c4d5ad9c19c084998429cbd0ad5ade89700bcc21dc7c2ac452d0f4238432c0af16ca82d01442d002f988204c96e655d810906730b7 SHA512 e70b6c074cbcac1e97dc11b0ccf60dc67fc066f8394b6cbd20349c1d41d625966c03645da5ccd0a81198c80e2e40fdc267ac599bc5dfacadad4c511a83e06de1 EBUILD websocket-client-1.3.2.ebuild 760 BLAKE2B 337853a44a530b579af732fa05bd06791b68d9eb1f6a3d5cab5196d8105e516bceec83c2f82183e9d217b23d9cad706390b922779c2df0322973b67f24ec6148 SHA512 a23f3bb351133e73099fda4441a567bb68689689b72e2a06375a04b482436ec1e0d5b5fb9f7909cee85d6720a05d5268e773cdc5920c888b2c01bd938ab8500d -EBUILD websocket-client-1.3.3.ebuild 768 BLAKE2B ac6058810797ef17701f1dd88408dd9a3c3370dff30a7d0e1965dab286bab26e26fb7893008bc9f89763083a48f9cbd6bb6330b4bb970f20c100e4996f09a057 SHA512 00768aa12367da003b02bb15557d83582e36bd66cf66a734bf9f62634e771d448799aa5ad63086d5742d6c854198cc03eccb537991d338fc0323f633166299fa +EBUILD websocket-client-1.3.3.ebuild 768 BLAKE2B 847d9a3ef01883de1346f3bbf9b8d9d02b6d32bf7e68c34c58c49ec85743634a027d12380bd09ef5ac2a6740af5dfaea7cf94cb33110cf9761a00fab5960f9b2 SHA512 cb3cf8c86ad48a3171871e870ab7bb1365f05d8e220533f90a12581ef231b0b12fdee8eb2d54d44b8d0932db5a1c9c147a6f301e7de743d5eb2e2584a1cbf8f2 MISC metadata.xml 498 BLAKE2B de7c287e513c7e64b4bec29693e6eb9104ff963e0d4d942ed37402bf341739fb17b2ebdb1bf0aaa0081934bae34e16f025d0549f94c1a863be95d64a338eede4 SHA512 13dd8cf0f3e363a3fbf2b246bcc1ccd78a898d5ca830e30fb1606947ce129d99f2d8065c3668dc2c7749bbd4e24e39e5a7c483065737a580246a89dd4d41eaa7 diff --git a/dev-python/websocket-client/websocket-client-1.3.3.ebuild b/dev-python/websocket-client/websocket-client-1.3.3.ebuild index ec8a093a7efb..688e78df8634 100644 --- a/dev-python/websocket-client/websocket-client-1.3.3.ebuild +++ b/dev-python/websocket-client/websocket-client-1.3.3.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{8..10} ) +PYTHON_COMPAT=( pypy3 python3_{8..11} ) inherit distutils-r1 |