From f923e8035223ec3eebfde96ff493be28d35c1213 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Wed, 5 Jan 2022 01:38:28 +0000 Subject: Adding metadata --- dev-python/astroid/Manifest | 1 + dev-python/astroid/astroid-2.9.2.ebuild | 49 ++++ dev-python/cattrs/Manifest | 1 + dev-python/cattrs/cattrs-1.10.0.ebuild | 47 ++++ dev-python/charset_normalizer/Manifest | 1 + .../charset_normalizer-2.0.10.ebuild | 27 +++ dev-python/django/Manifest | 14 +- dev-python/django/django-2.2.25.ebuild | 92 -------- dev-python/django/django-2.2.26.ebuild | 92 ++++++++ dev-python/django/django-3.1.14.ebuild | 95 -------- dev-python/django/django-3.2.10.ebuild | 101 -------- dev-python/django/django-3.2.11.ebuild | 101 ++++++++ dev-python/django/django-4.0.1.ebuild | 103 +++++++++ dev-python/django/django-4.0.ebuild | 103 --------- dev-python/jc/Manifest | 1 + dev-python/jc/jc-1.17.6.ebuild | 25 ++ dev-python/libarchive-c/Manifest | 1 - dev-python/libarchive-c/libarchive-c-3.1.ebuild | 17 -- dev-python/libvirt-python/Manifest | 16 -- .../libvirt-python/libvirt-python-7.0.0.ebuild | 51 ----- .../libvirt-python/libvirt-python-7.1.0.ebuild | 51 ----- .../libvirt-python/libvirt-python-7.2.0.ebuild | 51 ----- .../libvirt-python/libvirt-python-7.3.0.ebuild | 51 ----- .../libvirt-python/libvirt-python-7.4.0.ebuild | 51 ----- .../libvirt-python/libvirt-python-7.5.0.ebuild | 51 ----- .../libvirt-python/libvirt-python-7.8.0.ebuild | 51 ----- .../libvirt-python/libvirt-python-7.9.0.ebuild | 51 ----- dev-python/nbconvert/Manifest | 1 + dev-python/nbconvert/nbconvert-6.4.0.ebuild | 73 ++++++ dev-python/pyghmi/Manifest | 1 + dev-python/pyghmi/pyghmi-1.5.32.ebuild | 31 +++ dev-python/pygments/pygments-2.11.1.ebuild | 2 +- dev-python/pytest-regressions/Manifest | 1 + .../pytest-regressions-2.3.0.ebuild | 43 ++++ .../files/pytest-4.5.0-strip-setuptools_scm.patch | 25 -- .../python-lsp-server-1.2.4-unpin-pylint.patch | 254 --------------------- dev-python/python-utils/Manifest | 1 + dev-python/python-utils/python-utils-3.0.0.ebuild | 29 +++ dev-python/sphinx-autodoc-typehints/Manifest | 1 + .../sphinx-autodoc-typehints-1.13.1.ebuild | 39 ++++ dev-python/ubelt/Manifest | 1 + dev-python/ubelt/ubelt-0.11.0.ebuild | 27 +++ .../wcag-contrast-ratio-0.9.ebuild | 2 +- 43 files changed, 704 insertions(+), 1122 deletions(-) create mode 100644 dev-python/astroid/astroid-2.9.2.ebuild create mode 100644 dev-python/cattrs/cattrs-1.10.0.ebuild create mode 100644 dev-python/charset_normalizer/charset_normalizer-2.0.10.ebuild delete mode 100644 dev-python/django/django-2.2.25.ebuild create mode 100644 dev-python/django/django-2.2.26.ebuild delete mode 100644 dev-python/django/django-3.1.14.ebuild delete mode 100644 dev-python/django/django-3.2.10.ebuild create mode 100644 dev-python/django/django-3.2.11.ebuild create mode 100644 dev-python/django/django-4.0.1.ebuild delete mode 100644 dev-python/django/django-4.0.ebuild create mode 100644 dev-python/jc/jc-1.17.6.ebuild delete mode 100644 dev-python/libarchive-c/libarchive-c-3.1.ebuild delete mode 100644 dev-python/libvirt-python/libvirt-python-7.0.0.ebuild delete mode 100644 dev-python/libvirt-python/libvirt-python-7.1.0.ebuild delete mode 100644 dev-python/libvirt-python/libvirt-python-7.2.0.ebuild delete mode 100644 dev-python/libvirt-python/libvirt-python-7.3.0.ebuild delete mode 100644 dev-python/libvirt-python/libvirt-python-7.4.0.ebuild delete mode 100644 dev-python/libvirt-python/libvirt-python-7.5.0.ebuild delete mode 100644 dev-python/libvirt-python/libvirt-python-7.8.0.ebuild delete mode 100644 dev-python/libvirt-python/libvirt-python-7.9.0.ebuild create mode 100644 dev-python/nbconvert/nbconvert-6.4.0.ebuild create mode 100644 dev-python/pyghmi/pyghmi-1.5.32.ebuild create mode 100644 dev-python/pytest-regressions/pytest-regressions-2.3.0.ebuild delete mode 100644 dev-python/pytest/files/pytest-4.5.0-strip-setuptools_scm.patch delete mode 100644 dev-python/python-lsp-server/files/python-lsp-server-1.2.4-unpin-pylint.patch create mode 100644 dev-python/python-utils/python-utils-3.0.0.ebuild create mode 100644 dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.13.1.ebuild create mode 100644 dev-python/ubelt/ubelt-0.11.0.ebuild (limited to 'dev-python') diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index 6a22cb614277..b165c8867461 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -2,3 +2,4 @@ DIST astroid-2.7.3.tar.gz 378876 BLAKE2B 016ab6e798f1a608c0e0ce0bd81865145349c70 DIST astroid-2.8.6.tar.gz 394852 BLAKE2B 400531227ce5a8b0f284f51ccb2d37aeb0463ee0fc7faceb3fd33b4bd727b7283421fb69c50eba3246217e06dca2cecfac49030d33c7e2a7cf252144860b50a3 SHA512 8fae723f0b7df34ba51d7f97634b09173956ae1eaa1543b81af8a80b5d9c9fcbdd96de709da2432a935dd5fc7369f9f1ea03cf2b7e3f0b09dac8485145d8f1d9 DIST astroid-2.9.0.tar.gz 404906 BLAKE2B 2aefe21392289b95a4ea3bde047e6f33b6915f4feac722164b4c35cc97dedb83f7d2e7f277485c5a3a8c7abc7865ccd88923266aa675755eeb17b0bd22077931 SHA512 949520268303a257102c2348920df9ff779bf5736739be5985b0441fae664212bee476445dc5d52478e789e08bbd5826ef83cf8a730a73d4e2d6eb04251c3cee DIST astroid-2.9.1.tar.gz 408617 BLAKE2B 921178fc6be9f3905c0e93c755fbf0ff70da4bf6242cb10a6881e78b66f9636fa39d7aef1ba9435ec69ae314968d33126a64d2d11a8da2aa2ee0dc9010d58ce3 SHA512 b6c69a316bd9f21be34b5e15505e38719721991c0b9a9162233c2c8c7b0fcef792027f6564fa58f083448d00bbae910f8dad1a2957aad5d3bf23c1bfb6727e31 +DIST astroid-2.9.2.tar.gz 408664 BLAKE2B 918fcf1e90667a9f3c69689557026f282e5fbbb40a8e3c184569f53d9a005d9822538cd15401e984256f928731d44a04d1a618ca818eb1eeae57b32e94d06425 SHA512 e9523f5874dec8cc3f252efc2b2f6707999772cc9809cf982d92693182052e575eac31c7d759c9aea22068e90a9bb25d89a20bc8d89dfe2ba44ebcc04f78471e diff --git a/dev-python/astroid/astroid-2.9.2.ebuild b/dev-python/astroid/astroid-2.9.2.ebuild new file mode 100644 index 000000000000..20b93fd65346 --- /dev/null +++ b/dev-python/astroid/astroid-2.9.2.ebuild @@ -0,0 +1,49 @@ +# 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_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Abstract Syntax Tree for logilab packages" +HOMEPAGE=" + https://github.com/PyCQA/astroid/ + https://pypi.org/project/astroid/" +SRC_URI=" + https://github.com/PyCQA/astroid/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# Version specified in __pkginfo__.py. +RDEPEND=" + >=dev-python/lazy-object-proxy-1.4.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-3.10[${PYTHON_USEDEP}] + =1.6, - # remove _width_of_current_line in terminal.py -@@ -18,10 +19,12 @@ INSTALL_REQUIRES = [ - ] - - -+with open("src/_pytest/_version.py", 'wt') as fp: -+ fp.write('version = "{}"'.format(os.environ['PV'])) -+ - def main(): - setup( -- use_scm_version={"write_to": "src/_pytest/_version.py"}, -- setup_requires=["setuptools-scm", "setuptools>=40.0"], -+ version=os.environ['PV'], - package_dir={"": "src"}, - # fmt: off - extras_require={ diff --git a/dev-python/python-lsp-server/files/python-lsp-server-1.2.4-unpin-pylint.patch b/dev-python/python-lsp-server/files/python-lsp-server-1.2.4-unpin-pylint.patch deleted file mode 100644 index 8c849720447e..000000000000 --- a/dev-python/python-lsp-server/files/python-lsp-server-1.2.4-unpin-pylint.patch +++ /dev/null @@ -1,254 +0,0 @@ -diff --git a/.pylintrc b/.pylintrc -index 4249ac5..326751f 100644 ---- a/.pylintrc -+++ b/.pylintrc -@@ -16,7 +16,8 @@ disable = - too-few-public-methods, - too-many-arguments, - too-many-instance-attributes, -- import-error -+ import-error, -+ consider-using-f-string, - - [REPORTS] - -diff --git a/pylsp/__main__.py b/pylsp/__main__.py -index a480823..4698d5c 100644 ---- a/pylsp/__main__.py -+++ b/pylsp/__main__.py -@@ -92,7 +92,7 @@ def _configure_logger(verbose=0, log_config=None, log_file=None): - root_logger = logging.root - - if log_config: -- with open(log_config, 'r') as f: -+ with open(log_config, 'r', encoding='utf-8') as f: - logging.config.dictConfig(json.load(f)) - else: - formatter = logging.Formatter(LOG_FORMAT) -diff --git a/pylsp/_utils.py b/pylsp/_utils.py -index 92376f6..9ac30cf 100644 ---- a/pylsp/_utils.py -+++ b/pylsp/_utils.py -@@ -144,8 +144,8 @@ def format_docstring(contents): - Until we can find a fast enough way of discovering and parsing each format, - we can do a little better by at least preserving indentation. - """ -- contents = contents.replace('\t', u'\u00A0' * 4) -- contents = contents.replace(' ', u'\u00A0' * 2) -+ contents = contents.replace('\t', '\u00A0' * 4) -+ contents = contents.replace(' ', '\u00A0' * 2) - return contents - - -diff --git a/pylsp/plugins/flake8_lint.py b/pylsp/plugins/flake8_lint.py -index 7ac8c62..aefd09e 100644 ---- a/pylsp/plugins/flake8_lint.py -+++ b/pylsp/plugins/flake8_lint.py -@@ -79,7 +79,7 @@ def run_flake8(flake8_executable, args, document): - try: - cmd = [flake8_executable] - cmd.extend(args) -- p = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE) # pylint: disable=consider-using-with -+ p = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE) - except IOError: - log.debug("Can't execute %s. Trying with 'python -m flake8'", flake8_executable) - cmd = ['python', '-m', 'flake8'] -diff --git a/pylsp/plugins/pylint_lint.py b/pylsp/plugins/pylint_lint.py -index bdb65fe..69bad1c 100644 ---- a/pylsp/plugins/pylint_lint.py -+++ b/pylsp/plugins/pylint_lint.py -@@ -236,7 +236,7 @@ def _run_pylint_stdio(pylint_executable, document, flags): - cmd = [pylint_executable] - cmd.extend(flags) - cmd.extend(['--from-stdin', document.path]) -- p = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE) # pylint: disable=consider-using-with -+ p = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE) - except IOError: - log.debug("Can't execute %s. Trying with 'python -m pylint'", pylint_executable) - cmd = ['python', '-m', 'pylint'] -diff --git a/pylsp/workspace.py b/pylsp/workspace.py -index ec031b6..bf312f6 100644 ---- a/pylsp/workspace.py -+++ b/pylsp/workspace.py -@@ -76,7 +76,7 @@ def root_uri(self): - return self._root_uri - - def is_local(self): -- return (self._root_uri_scheme == '' or self._root_uri_scheme == 'file') and os.path.exists(self._root_path) -+ return (self._root_uri_scheme in ['', 'file']) and os.path.exists(self._root_path) - - def get_document(self, doc_uri): - """Return a managed document if-present, else create one pointing at disk. -diff --git a/setup.py b/setup.py -index 3f79774..14ade20 100755 ---- a/setup.py -+++ b/setup.py -@@ -52,7 +52,7 @@ def get_version(module='pylsp'): - 'pycodestyle>=2.7.0', - 'pydocstyle>=2.0.0', - 'pyflakes>=2.3.0,<2.4.0', -- 'pylint>=2.5.0,<2.10.0', -+ 'pylint>=2.5.0', - 'rope>=0.10.5', - 'yapf', - ], -@@ -62,10 +62,10 @@ def get_version(module='pylsp'): - 'pycodestyle': ['pycodestyle>=2.7.0'], - 'pydocstyle': ['pydocstyle>=2.0.0'], - 'pyflakes': ['pyflakes>=2.3.0,<2.4.0'], -- 'pylint': ['pylint>=2.5.0,<2.10.0'], -+ 'pylint': ['pylint>=2.5.0'], - 'rope': ['rope>0.10.5'], - 'yapf': ['yapf'], -- 'test': ['pylint>=2.5.0,<2.10.0', 'pytest', 'pytest-cov', 'coverage', -+ 'test': ['pylint>=2.5.0', 'pytest', 'pytest-cov', 'coverage', - 'numpy', 'pandas', 'matplotlib', 'pyqt5', 'flaky'], - }, - entry_points={ -diff --git a/test/fixtures.py b/test/fixtures.py -index 3ced0d5..e57bda6 100644 ---- a/test/fixtures.py -+++ b/test/fixtures.py -@@ -101,7 +101,7 @@ def temp_workspace_factory(workspace): # pylint: disable=redefined-outer-name - def fn(files): - def create_file(name, content): - fn = os.path.join(workspace.root_path, name) -- with open(fn, 'w') as f: -+ with open(fn, 'w', encoding='utf-8') as f: - f.write(content) - workspace.put_document(uris.from_fs_path(fn), content) - -diff --git a/test/plugins/test_flake8_lint.py b/test/plugins/test_flake8_lint.py -index 046127c..e82a226 100644 ---- a/test/plugins/test_flake8_lint.py -+++ b/test/plugins/test_flake8_lint.py -@@ -93,7 +93,7 @@ def get_flake8_cfg_settings(workspace, config_str): - This function creates a ``setup.cfg``; you'll have to delete it yourself. - """ - -- with open(os.path.join(workspace.root_path, "setup.cfg"), "w+") as f: -+ with open(os.path.join(workspace.root_path, "setup.cfg"), "w+", encoding='utf-8') as f: - f.write(config_str) - - workspace.update_config({"pylsp": {"configurationSources": ["flake8"]}}) -diff --git a/test/plugins/test_pycodestyle_lint.py b/test/plugins/test_pycodestyle_lint.py -index c0d1d7e..e238147 100644 ---- a/test/plugins/test_pycodestyle_lint.py -+++ b/test/plugins/test_pycodestyle_lint.py -@@ -91,7 +91,7 @@ def test_pycodestyle_config(workspace): - - for conf_file, (content, working) in list(content.items()): - # Now we'll add config file to ignore it -- with open(os.path.join(workspace.root_path, conf_file), 'w+') as f: -+ with open(os.path.join(workspace.root_path, conf_file), 'w+', encoding='utf-8') as f: - f.write(content) - workspace._config.settings.cache_clear() - -diff --git a/test/plugins/test_pyflakes_lint.py b/test/plugins/test_pyflakes_lint.py -index 494cb63..d52ac63 100644 ---- a/test/plugins/test_pyflakes_lint.py -+++ b/test/plugins/test_pyflakes_lint.py -@@ -21,7 +21,7 @@ def hello(): - DOC_UNDEFINED_NAME_ERR = "a = b" - - --DOC_ENCODING = u"""# encoding=utf-8 -+DOC_ENCODING = """# encoding=utf-8 - import sys - """ - -diff --git a/test/plugins/test_pylint_lint.py b/test/plugins/test_pylint_lint.py -index cf7a7e4..5b5b99c 100644 ---- a/test/plugins/test_pylint_lint.py -+++ b/test/plugins/test_pylint_lint.py -@@ -37,7 +37,7 @@ def temp_document(doc_text, workspace): - - - def write_temp_doc(document, contents): -- with open(document.path, 'w') as temp_file: -+ with open(document.path, 'w', encoding='utf-8') as temp_file: - temp_file.write(contents) - - -diff --git a/test/test_document.py b/test/test_document.py -index b543a40..3dcabb6 100644 ---- a/test/test_document.py -+++ b/test/test_document.py -@@ -16,7 +16,7 @@ def test_document_lines(doc): - - - def test_document_source_unicode(workspace): -- document_mem = Document(DOC_URI, workspace, u'my source') -+ document_mem = Document(DOC_URI, workspace, 'my source') - document_disk = Document(DOC_URI, workspace) - assert isinstance(document_mem.source, type(document_disk.source)) - -@@ -44,27 +44,27 @@ def test_word_at_position(doc): - - - def test_document_empty_edit(workspace): -- doc = Document('file:///uri', workspace, u'') -+ doc = Document('file:///uri', workspace, '') - doc.apply_change({ - 'range': { - 'start': {'line': 0, 'character': 0}, - 'end': {'line': 0, 'character': 0} - }, -- 'text': u'f' -+ 'text': 'f' - }) -- assert doc.source == u'f' -+ assert doc.source == 'f' - - - def test_document_line_edit(workspace): -- doc = Document('file:///uri', workspace, u'itshelloworld') -+ doc = Document('file:///uri', workspace, 'itshelloworld') - doc.apply_change({ -- 'text': u'goodbye', -+ 'text': 'goodbye', - 'range': { - 'start': {'line': 0, 'character': 3}, - 'end': {'line': 0, 'character': 8} - } - }) -- assert doc.source == u'itsgoodbyeworld' -+ assert doc.source == 'itsgoodbyeworld' - - - def test_document_multiline_edit(workspace): -@@ -73,8 +73,8 @@ def test_document_multiline_edit(workspace): - " print a\n", - " print b\n" - ] -- doc = Document('file:///uri', workspace, u''.join(old)) -- doc.apply_change({'text': u'print a, b', 'range': { -+ doc = Document('file:///uri', workspace, ''.join(old)) -+ doc.apply_change({'text': 'print a, b', 'range': { - 'start': {'line': 1, 'character': 4}, - 'end': {'line': 2, 'character': 11} - }}) -@@ -89,8 +89,8 @@ def test_document_end_of_file_edit(workspace): - "print 'a'\n", - "print 'b'\n" - ] -- doc = Document('file:///uri', workspace, u''.join(old)) -- doc.apply_change({'text': u'o', 'range': { -+ doc = Document('file:///uri', workspace, ''.join(old)) -+ doc.apply_change({'text': 'o', 'range': { - 'start': {'line': 2, 'character': 0}, - 'end': {'line': 2, 'character': 0} - }}) -diff --git a/test/test_workspace.py b/test/test_workspace.py -index a008e7e..44d754b 100644 ---- a/test/test_workspace.py -+++ b/test/test_workspace.py -@@ -51,7 +51,7 @@ def test_non_root_project(pylsp, metafiles): - os.mkdir(project_root) - - for metafile in metafiles: -- with open(os.path.join(project_root, metafile), 'w+') as f: -+ with open(os.path.join(project_root, metafile), 'w+', encoding='utf-8') as f: - f.write('# ' + metafile) - - test_uri = uris.from_fs_path(os.path.join(project_root, 'hello/test.py')) diff --git a/dev-python/python-utils/Manifest b/dev-python/python-utils/Manifest index 60c609ddd0e5..b27835398dd0 100644 --- a/dev-python/python-utils/Manifest +++ b/dev-python/python-utils/Manifest @@ -3,3 +3,4 @@ DIST python-utils-2.6.0.tar.gz 14885 BLAKE2B 089d7a57a8469968bed147a01907f35d143 DIST python-utils-2.6.3.tar.gz 14914 BLAKE2B 6df19348feba000dccc516704db38af299613c70505cd7fa16a2e37c4a46b1cff7ee9bf164be13da33a3b4eb6b9577b76202bfbffdaed47b1b7b60e948d349ac SHA512 3c5834976408eae6b37aa07581960ee5511765f9ea1e6347523465a93ca801bc2d71f785a73a2050706dad2c09ffcfb5227715a9b4d0700904d31eb1295b30b6 DIST python-utils-2.7.0.tar.gz 27743 BLAKE2B 5cd0671ad1e003932aed0bf0b69326d907013d3f739e833f218600ee056d76bc87dd2a424f5459654de30dacc3378c14f10af1664344ac66813410d261718c61 SHA512 3401c9ad2e4933d0d40d4bc90f1dbe212e672289e7239a4a46d79a04e80f85bb0def67324f0184ca397ec3708cb935839ffe922a202de9c911198ea86d88e2c5 DIST python-utils-2.7.1.tar.gz 28997 BLAKE2B 3da11dcb297cace3c2c48ae91e6011be2f484a83f264be375437775eb99d9bafe703626ab0d2217da79ec096f90648d387ec7b41611e915ef33fce152553a18c SHA512 9f74a33089886dcd28dfd45602c53a7c6cfc90b151a053dd7e49a5fd502479e889d08bd8b10fdd2ec3bc26e334ae66238740ff59291f4ac95fb486b64f925d4a +DIST python-utils-3.0.0.tar.gz 23243 BLAKE2B 640ebc1b3e59a30be5a5c40291d121919b9f90a71476acf66741cb4b8af691c50c3826d9e8e6b30464f2be8e5ba0ac4683f79962c8833073b8a43a108ead281d SHA512 b03f97b66b71af8eb023ecfa1b671f2d566d139464f63cd512b129a5830651172843285fe7ef028047ca03f345221f5208eac8e1647361f173f1c7b3aed866a6 diff --git a/dev-python/python-utils/python-utils-3.0.0.ebuild b/dev-python/python-utils/python-utils-3.0.0.ebuild new file mode 100644 index 000000000000..0888f4f0af2f --- /dev/null +++ b/dev-python/python-utils/python-utils-3.0.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Collection of small Python functions & classes" +HOMEPAGE="https://pypi.org/project/python-utils/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +BDEPEND="test? ( dev-python/pytest-asyncio[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + docs +) + +python_prepare_all() { + sed -i -e '/--cov/d' -e '/--mypy/d' pytest.ini || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/sphinx-autodoc-typehints/Manifest b/dev-python/sphinx-autodoc-typehints/Manifest index ab17792d41e8..a66eb24f1dc3 100644 --- a/dev-python/sphinx-autodoc-typehints/Manifest +++ b/dev-python/sphinx-autodoc-typehints/Manifest @@ -1,2 +1,3 @@ DIST sphinx-autodoc-typehints-1.12.0.tar.gz 19494 BLAKE2B beacc4f8ab453612dfd5264f1c65fd6bdd957269a28ee5b71b762d0baf5a3d4be58398b32d4263f996648281c1139f47a7564e8fc6444a94095f6a970b4cc27a SHA512 92fa340495a48111fa3d600d8c46d83214505ac2a5c71cb1303e846ac439f1e0ff14f8ce8dfd5ffdb6a62a9fa15dde8a5227f946840d9377ad5f7fde25894b75 DIST sphinx-autodoc-typehints-1.13.0.gh.tar.gz 19898 BLAKE2B a927802a9daec5a2755c06a974aaea30fa92dfd16712d705c9ecb1c9a7b15d5285ade1d8e83d20e9220823500e0257e278b7e48942d9ee6cafdbc36793e9698f SHA512 cc2f91da6b76eb4ccd7579ce27c4d8f2117707b253bd2246711a5179faecc61c4873b3a5e8c1346e03d1db4c59ae76bea0160f34c66f1a0c2dbba1ac2a8086a1 +DIST sphinx-autodoc-typehints-1.13.1.gh.tar.gz 19923 BLAKE2B d0f72b814c83dd8987b80bdbaffbab5c3a7c671d9e56e9bb62d3cf44dec1df7b5fb9c591928b89680427069ce8d5953f4dea52de9eb4a4add07a332be96c730a SHA512 50e2958aafaa661cb209da04bb456dadddc4782dd2168c3f6524fba26d906479c66e5b22b3f49fff0c4022acb4b5b99ff73b250cb3e4d5dd9f083c4a5ab12531 diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.13.1.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.13.1.ebuild new file mode 100644 index 000000000000..3925228515f3 --- /dev/null +++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.13.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Type hints support for the Sphinx autodoc extension " +HOMEPAGE=" + https://github.com/tox-dev/sphinx-autodoc-typehints/ + https://pypi.org/project/sphinx-autodoc-typehints/ +" +SRC_URI=" + https://github.com/tox-dev/sphinx-autodoc-typehints/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +SLOT="0" + +RDEPEND=">=dev-python/sphinx-4[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/sphobjinv[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # this package is addicted to Internet + tests/test_sphinx_autodoc_typehints.py::test_format_annotation +) + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/ubelt/Manifest b/dev-python/ubelt/Manifest index 116b3d811c43..5fb79ec89be9 100644 --- a/dev-python/ubelt/Manifest +++ b/dev-python/ubelt/Manifest @@ -1,2 +1,3 @@ DIST ubelt-0.10.1.tar.gz 216033 BLAKE2B e481b2cf61788b50038ad69f0e2b637dfa0259d24ecca1a5587fe283d2270de205cb085112b9285cf57f664ce8a9d107f08b9b6735c8bea6fb97f6f48935dba9 SHA512 c15af249e6b94f69050703a4004307d91854e2ac7e25c5ac8d467b5b5f3363989f93bf2917eaf3c0f2485258b3530d7317f39449d5ac7ad5ed9b4615d916decb DIST ubelt-0.10.2.tar.gz 240069 BLAKE2B 34a24781264dd910e7a3afd87287f8ec9d1e4d1b4dd205f249fdc878861cd9c511121c61a5ca208b3f8ced785a0cec26c715b6a9ef3fee4a8f903e8557d3790f SHA512 8666a05f53d29d39ddd0fca213a9465948fd108bef9e95fc6160cb8331ae6876b9e7297d380cac37383c602d7ad4c248a4d7e03b4306dad5c6b26e0423720afb +DIST ubelt-0.11.0.tar.gz 251931 BLAKE2B 628c62395b38da5fe70cf5c4eaef74f411cb431ca3837aadc0bfafd28d9ba15a75850d22b317d207e79d81c7e015a7adad28fb14804c25b3e9ef1a473d5af8c2 SHA512 ae95f719238e89ece2bd8ef525d7acc72058a770ff8c0be58e27d9fd0f50b1ae978d71589474133ce1065130562cae63282c4c97f69756ce1c64ce4330a5da1e diff --git a/dev-python/ubelt/ubelt-0.11.0.ebuild b/dev-python/ubelt/ubelt-0.11.0.ebuild new file mode 100644 index 000000000000..3bd313f60128 --- /dev/null +++ b/dev-python/ubelt/ubelt-0.11.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="A stdlib like feel, and extra batteries. Hashing, Caching, Timing, Progress" +HOMEPAGE="https://github.com/Erotemic/ubelt" +SRC_URI="https://github.com/Erotemic/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}] + dev-python/ordered-set[${PYTHON_USEDEP}]" + +DEPEND="test? ( dev-python/xdoctest[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # relies on passwd home being equal to ${HOME} + ubelt/util_path.py::userhome:0 +) diff --git a/dev-python/wcag-contrast-ratio/wcag-contrast-ratio-0.9.ebuild b/dev-python/wcag-contrast-ratio/wcag-contrast-ratio-0.9.ebuild index cdf0b4ff044d..e8b6e658ff47 100644 --- a/dev-python/wcag-contrast-ratio/wcag-contrast-ratio-0.9.ebuild +++ b/dev-python/wcag-contrast-ratio/wcag-contrast-ratio-0.9.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc" BDEPEND=" test? ( -- cgit v1.3