diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-09-20 01:44:38 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-09-20 01:44:38 +0000 |
| commit | a3be64552ce9fb6471744889161baee97af4ef4d (patch) | |
| tree | d61ab81fec4a79765bf9104c9a28bda51c7d74e9 /dev-python | |
| parent | c3e380abeb6a8b6f648df61aab556a3cefa167b5 (diff) | |
| download | baldeagleos-repo-a3be64552ce9fb6471744889161baee97af4ef4d.tar.gz baldeagleos-repo-a3be64552ce9fb6471744889161baee97af4ef4d.tar.xz baldeagleos-repo-a3be64552ce9fb6471744889161baee97af4ef4d.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
18 files changed, 454 insertions, 27 deletions
diff --git a/dev-python/aesara/Manifest b/dev-python/aesara/Manifest index 2b77f643a0ea..222f2b542e60 100644 --- a/dev-python/aesara/Manifest +++ b/dev-python/aesara/Manifest @@ -1,2 +1,3 @@ DIST aesara-rel-2.1.3.tar.gz 8170822 BLAKE2B dbbc4a453c5d7f9cd4ab2c925dd9293e835db23100686a8d7ab2c47182b1bc05f883eeb60d6f47f8f34e4187f3ac07b632cde43fe82a99e2145a2f699a2b3582 SHA512 52d1724eb7b3c9bae4bdbf1735db9ef96cdfa94f3e2281b255201d0baba260fe31f78c00719a53ce3c59ea9c66ff218d8acd7bc012b386942f29806c07ffc466 DIST aesara-rel-2.2.1.tar.gz 8166022 BLAKE2B af3c17029dacb3d365bf49eb01d4d03b5a4f770f66d3e5eba2c4576ef156056bc1aca3571442c1cb7352c358978b47faa7af70ca0da2a2168d8c9bfd47b17138 SHA512 f7bab8ca80e8d13ef7698c1efa56ff37c561786330bf756c7a00c54ae1f131810d68bfd6e328b0705d45788759bd984d42306d2c545d2de6b9a3592b5c021ad8 +DIST aesara-rel-2.2.2.tar.gz 8174668 BLAKE2B c95347e8b74f6600c3570177f86b7ebd7511899ed0ceb24a2d79a03a44ee498a8062b92fb79867f59b609f66315704ee92e28e12a5ab600d54d0d35ef799b66b SHA512 d5f62e42c36100b2fd25eba492590eb306b1394aa01bf2e90d43e84ac67701e5b756be6bc08d0e6b82fb1f37689dbbba1d7ef67c8525555a700a634d742056bb diff --git a/dev-python/aesara/aesara-2.2.2.ebuild b/dev-python/aesara/aesara-2.2.2.ebuild new file mode 100644 index 000000000000..5687dd835470 --- /dev/null +++ b/dev-python/aesara/aesara-2.2.2.ebuild @@ -0,0 +1,70 @@ +# Copyright 2021 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 optfeature + +MY_P=aesara-rel-${PV} +DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays" +HOMEPAGE="https://github.com/aesara-devs/aesara" +SRC_URI="https://github.com/aesara-devs/aesara/archive/rel-${PV}.tar.gz -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + dev-python/filelock[${PYTHON_USEDEP}] + >=dev-python/numpy-1.17.0[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + )" + +distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme' +distutils_enable_tests pytest + +python_prepare_all() { + sed -i -e "s/tests.\*/tests\*/" setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local exclude=( + # speed tests are unreliable + tests/scan/test_basic.py::test_speed + tests/scan/test_basic.py::test_speed_rnn + tests/scan/test_basic.py::test_speed_batchrnn + tests/link/test_vm.py::test_speed + tests/link/test_vm.py::test_speed_lazy + tests/tensor/test_gc.py::test_merge_opt_runtime + + # rounding problem? + # https://github.com/aesara-devs/aesara/issues/477 + tests/tensor/test_math_scipy.py::TestGammaUBroadcast::test_good + tests/tensor/test_math_scipy.py::TestGammaUInplaceBroadcast::test_good + ) + + distutils_install_for_testing + # we do not package numba + epytest ${exclude[@]/#/--deselect } \ + --ignore tests/link/test_numba.py \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} + +# https://dev.gentoo.org/~mgorny/python-guide/concept.html#packaging-pkgutil-style-namespaces-in-gentoo +python_install() { + rm "${BUILD_DIR}"/lib/bin/__init__.py || die + distutils-r1_python_install +} + +pkg_postinst() { + optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk + optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda +} diff --git a/dev-python/aioresponses/aioresponses-0.7.2.ebuild b/dev-python/aioresponses/aioresponses-0.7.2.ebuild index c1ec1d4aec48..bf0b2bbfb7d9 100644 --- a/dev-python/aioresponses/aioresponses-0.7.2.ebuild +++ b/dev-python/aioresponses/aioresponses-0.7.2.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]" BDEPEND=" diff --git a/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.8.0.ebuild b/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.8.0.ebuild index 776bd0ea1f69..130f51cea7be 100644 --- a/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.8.0.ebuild +++ b/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.8.0.ebuild @@ -2,6 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 + PYTHON_COMPAT=( python3_{6,7,8,9,10} ) inherit distutils-r1 @@ -15,7 +16,6 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" -IUSE="" RDEPEND=" >=dev-python/botocore-1.12.122[${PYTHON_USEDEP}] @@ -33,6 +33,10 @@ BDEPEND=" dev-python/webtest[${PYTHON_USEDEP}] )" +PATCHES=( + "${FILESDIR}/${P}-fix-py3.10-loops.patch" +) + distutils_enable_tests pytest python_test() { @@ -40,34 +44,28 @@ python_test() { local -x AWS_SECRET_ACCESS_KEY=fake_key local -x AWS_ACCESS_KEY_ID=fake_id - local args=( - # unpackaged deps - --ignore tests/ext/aiobotocore - --ignore tests/ext/pg8000 - --ignore tests/ext/psycopg2 - --ignore tests/ext/pymysql - --ignore tests/ext/pynamodb - --ignore tests/ext/sqlalchemy_core/test_postgres.py - --deselect tests/ext/django/test_db.py - + local EPYTEST_DESELECT=( # Internet access - --deselect tests/test_patcher.py::test_external_file - --deselect tests/test_patcher.py::test_external_module - --deselect tests/test_patcher.py::test_external_submodules_full - --deselect tests/test_patcher.py::test_external_submodules_ignores_file - --deselect tests/test_patcher.py::test_external_submodules_ignores_module - --deselect tests/ext/aiohttp/test_client.py - --ignore + ) + local EPYTEST_IGNORE=( + # unpackaged deps + tests/ext/aiobotocore + tests/ext/pg8000 + tests/ext/psycopg2 + tests/ext/pymysql + tests/ext/pynamodb + tests/ext/sqlalchemy_core/test_postgres.py + tests/ext/django/test_db.py + # Internet access tests/ext/httplib - --ignore tests/ext/requests ) - epytest -p no:django "${args[@]}" + epytest -p no:django } diff --git a/dev-python/aws-xray-sdk-python/files/aws-xray-sdk-python-2.8.0-fix-py3.10-loops.patch b/dev-python/aws-xray-sdk-python/files/aws-xray-sdk-python-2.8.0-fix-py3.10-loops.patch new file mode 100644 index 000000000000..cde91a8d0cda --- /dev/null +++ b/dev-python/aws-xray-sdk-python/files/aws-xray-sdk-python-2.8.0-fix-py3.10-loops.patch @@ -0,0 +1,36 @@ +diff --git a/tests/ext/aiohttp/test_middleware.py b/tests/ext/aiohttp/test_middleware.py +index c8b2333..4f8cac6 100644 +--- a/tests/ext/aiohttp/test_middleware.py ++++ b/tests/ext/aiohttp/test_middleware.py +@@ -279,8 +279,7 @@ async def test_concurrent(test_client, loop, recorder): + + await asyncio.wait([get_delay(), get_delay(), get_delay(), + get_delay(), get_delay(), get_delay(), +- get_delay(), get_delay(), get_delay()], +- loop=loop) ++ get_delay(), get_delay(), get_delay()]) + + # Ensure all ID's are different + ids = [item.id for item in recorder.emitter.local] +diff --git a/tests/test_async_local_storage.py b/tests/test_async_local_storage.py +index b43cc0e..4b13ffd 100644 +--- a/tests/test_async_local_storage.py ++++ b/tests/test_async_local_storage.py +@@ -19,7 +19,7 @@ def test_localstorage_isolation(loop): + random_int = random.random() + local_storage.randint = random_int + +- await asyncio.sleep(0.0, loop=loop) ++ await asyncio.sleep(0.0) + + current_random_int = local_storage.randint + assert random_int == current_random_int +@@ -30,7 +30,7 @@ def test_localstorage_isolation(loop): + + # Run loads of concurrent tasks + results = loop.run_until_complete( +- asyncio.wait([_test() for _ in range(0, 100)], loop=loop) ++ asyncio.wait([_test() for _ in range(0, 100)]) + ) + results = [item.result() for item in results[0]] + diff --git a/dev-python/dask/dask-2021.8.1.ebuild b/dev-python/dask/dask-2021.8.1.ebuild index 56fed399ca27..60981b787413 100644 --- a/dev-python/dask/dask-2021.8.1.ebuild +++ b/dev-python/dask/dask-2021.8.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/cloudpickle-0.2.2[${PYTHON_USEDEP}] diff --git a/dev-python/genshi/files/genshi-0.7.5-fix-py3.10.patch b/dev-python/genshi/files/genshi-0.7.5-fix-py3.10.patch new file mode 100644 index 000000000000..fea4e6434b26 --- /dev/null +++ b/dev-python/genshi/files/genshi-0.7.5-fix-py3.10.patch @@ -0,0 +1,233 @@ +From: Felix Schwarz <felix.schwarz@oss.schwarz.eu> +https://github.com/edgewall/genshi/pull/49 + +--- a/genshi/util.py ++++ b/genshi/util.py +@@ -119,7 +119,6 @@ def _insert_item(self, item): + + def _manage_size(self): + while len(self._dict) > self.capacity: +- olditem = self._dict[self.tail.key] + del self._dict[self.tail.key] + if self.tail != self.head: + self.tail = self.tail.prv + +--- a/genshi/core.py ++++ b/genshi/core.py +@@ -20,7 +20,8 @@ + + import six + +-from genshi.util import plaintext, stripentities, striptags, stringrepr ++from genshi.compat import stringrepr ++from genshi.util import stripentities, striptags + + __all__ = ['Stream', 'Markup', 'escape', 'unescape', 'Attrs', 'Namespace', + 'QName'] +--- a/genshi/filters/tests/i18n.py ++++ b/genshi/filters/tests/i18n.py +@@ -12,7 +12,6 @@ + # history and logs, available at http://genshi.edgewall.org/log/. + + from datetime import datetime +-import doctest + from gettext import NullTranslations + import unittest + +--- a/genshi/filters/tests/test_html.py ++++ b/genshi/filters/tests/test_html.py +@@ -11,7 +11,6 @@ + # individuals. For the exact contribution history, see the revision + # history and logs, available at http://genshi.edgewall.org/log/. + +-import doctest + import unittest + + import six +--- a/genshi/filters/tests/transform.py ++++ b/genshi/filters/tests/transform.py +@@ -12,7 +12,6 @@ + # history and logs, available at http://genshi.edgewall.org/log/. + + import doctest +-from pprint import pprint + import unittest + + import six +--- a/genshi/input.py ++++ b/genshi/input.py +@@ -22,8 +22,6 @@ + import six + from six.moves import html_entities as entities, html_parser as html + +-import six +- + from genshi.core import Attrs, QName, Stream, stripentities + from genshi.core import START, END, XML_DECL, DOCTYPE, TEXT, START_NS, \ + END_NS, START_CDATA, END_CDATA, PI, COMMENT +--- a/genshi/output.py ++++ b/genshi/output.py +@@ -20,7 +20,7 @@ + + import six + +-from genshi.core import escape, Attrs, Markup, Namespace, QName, StreamEventKind ++from genshi.core import escape, Attrs, Markup, QName, StreamEventKind + from genshi.core import START, END, TEXT, XML_DECL, DOCTYPE, START_NS, END_NS, \ + START_CDATA, END_CDATA, PI, COMMENT, XML_NAMESPACE + +--- a/genshi/template/base.py ++++ b/genshi/template/base.py +@@ -15,7 +15,6 @@ + + from collections import deque + import os +-import sys + + import six + +--- a/genshi/template/directives.py ++++ b/genshi/template/directives.py +@@ -19,8 +19,7 @@ + from genshi.path import Path + from genshi.template.base import TemplateRuntimeError, TemplateSyntaxError, \ + EXPR, _apply_directives, _eval_expr +-from genshi.template.eval import Expression, ExpressionASTTransformer, \ +- _ast, _parse ++from genshi.template.eval import Expression, _ast, _parse + + __all__ = ['AttrsDirective', 'ChooseDirective', 'ContentDirective', + 'DefDirective', 'ForDirective', 'IfDirective', 'MatchDirective', +--- a/genshi/template/interpolation.py ++++ b/genshi/template/interpolation.py +@@ -16,7 +16,6 @@ + """ + + from itertools import chain +-import os + import re + from tokenize import PseudoToken + +--- a/genshi/template/markup.py ++++ b/genshi/template/markup.py +@@ -15,7 +15,7 @@ + + from itertools import chain + +-from genshi.core import Attrs, Markup, Namespace, Stream, StreamEventKind ++from genshi.core import Attrs, Markup, Namespace, Stream + from genshi.core import START, END, START_NS, END_NS, TEXT, PI, COMMENT + from genshi.input import XMLParser + from genshi.template.base import BadDirectiveError, Template, \ +--- a/genshi/template/text.py ++++ b/genshi/template/text.py +@@ -35,7 +35,6 @@ + TemplateSyntaxError, EXEC, INCLUDE, SUB + from genshi.template.eval import Suite + from genshi.template.directives import * +-from genshi.template.directives import Directive + from genshi.template.interpolation import interpolate + + __all__ = ['NewTextTemplate', 'OldTextTemplate', 'TextTemplate'] +--- a/genshi/tests/core.py ++++ b/genshi/tests/core.py +@@ -11,13 +11,12 @@ + # individuals. For the exact contribution history, see the revision + # history and logs, available at http://genshi.edgewall.org/log/. + +-import doctest + import pickle + import unittest + + from genshi import core + from genshi.core import Markup, Attrs, Namespace, QName, escape, unescape +-from genshi.input import XML, ParseError ++from genshi.input import XML + from genshi.compat import StringIO, BytesIO, IS_PYTHON2 + from genshi.tests.test_utils import doctest_suite + +--- a/genshi/tests/input.py ++++ b/genshi/tests/input.py +@@ -11,8 +11,6 @@ + # individuals. For the exact contribution history, see the revision + # history and logs, available at http://genshi.edgewall.org/log/. + +-import doctest +-import sys + import unittest + + from genshi.core import Attrs, Stream +--- a/genshi/tests/output.py ++++ b/genshi/tests/output.py +@@ -11,9 +11,7 @@ + # individuals. For the exact contribution history, see the revision + # history and logs, available at http://genshi.edgewall.org/log/. + +-import doctest + import unittest +-import sys + + from genshi.core import Attrs, Markup, QName, Stream + from genshi.input import HTML, XML +--- a/genshi/tests/path.py ++++ b/genshi/tests/path.py +@@ -11,7 +11,6 @@ + # individuals. For the exact contribution history, see the revision + # history and logs, available at http://genshi.edgewall.org/log/. + +-import doctest + import unittest + + from genshi.core import Attrs, QName +--- a/genshi/tests/util.py ++++ b/genshi/tests/util.py +@@ -11,7 +11,6 @@ + # individuals. For the exact contribution history, see the revision + # history and logs, available at http://genshi.edgewall.org/log/. + +-import doctest + import unittest + + from genshi import util +--- a/genshi/util.py ++++ b/genshi/util.py +@@ -19,8 +19,6 @@ + + import six + +-from .compat import stringrepr +- + __docformat__ = 'restructuredtext en' + + +--- a/setup.py ++++ b/setup.py +@@ -12,11 +12,8 @@ + # individuals. For the exact contribution history, see the revision + # history and logs, available at http://genshi.edgewall.org/log/. + +-from distutils.cmd import Command + from distutils.command.build_ext import build_ext + from distutils.errors import CCompilerError, DistutilsPlatformError +-import doctest +-from glob import glob + import os + try: + from setuptools import setup, Extension + +--- a/genshi/compat.py ++++ b/genshi/compat.py +@@ -99,6 +99,13 @@ def get_code_params(code): + + + def build_code_chunk(code, filename, name, lineno): ++ if hasattr(code, 'replace'): ++ # Python 3.8+ ++ return code.replace( ++ co_filename=filename, ++ co_name=name, ++ co_firstlineno=lineno, ++ ) + params = [0, code.co_nlocals, code.co_kwonlyargcount, + code.co_stacksize, code.co_flags | 0x0040, + code.co_code, code.co_consts, code.co_names, diff --git a/dev-python/genshi/genshi-0.7.5.ebuild b/dev-python/genshi/genshi-0.7.5.ebuild index 8f7f1c5fd843..3c23d2558ae1 100644 --- a/dev-python/genshi/genshi-0.7.5.ebuild +++ b/dev-python/genshi/genshi-0.7.5.ebuild @@ -22,6 +22,10 @@ BDEPEND=" distutils_enable_tests setup.py +PATCHES=( + "${FILESDIR}/${P}-fix-py3.10.patch" +) + python_install_all() { if use doc; then dodoc doc/*.txt diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 56cdcf1691d7..f2273ef30e2a 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -10,3 +10,4 @@ DIST hypothesis-python-6.21.1.tar.gz 9162836 BLAKE2B af52db17d51801d03496036f14b DIST hypothesis-python-6.21.3.tar.gz 9165503 BLAKE2B ee57b10021d5a8fd4731563e41e2583c879efd602779f5dfaa21a549b34bece29ebdd8386bcb637039b1c679a634f61ff68128c7d1e427ef4ca5ff571197b401 SHA512 0446df21f467cbabc6918a68b8a678db458ac798adaaf57090a756ff3a9b749dee550e77e1f78292d4bfe6f24caac175b104b4f4f1607521776c497649ac9c66 DIST hypothesis-python-6.21.4.tar.gz 9165577 BLAKE2B f2bf805d1ff1d469b2f62aa7095183a6eef2fa6f0e1cbd611a7e62dd978456ae199f64479ac43a7d34ffa7f3ae6b35c4aa1691dc863e6cc509914a23aa767f89 SHA512 7fd8a4c6a35417ac14999cfa668b9976314e022bc432a20387ef82b97021b626fe8a25e43ae92e5ecfdba8ab9cee0f182621132287c82511d64231272365fd06 DIST hypothesis-python-6.21.5.tar.gz 9166120 BLAKE2B 6f51bd99c3c2f38e540f7e9720aa49ec62c0b8308ba5424f50ea72ea97172481dc28fd086d09c34449bde2601a68984158392fe19ad724a3048cba549c88a9fb SHA512 5cfa5196feffd5652e3c771fa8e99b8ebe563539d9a9ee0e87c5d9c08d363af19a207f76dd88fee0ff501f4d748d9cd1af87d01ef7d178d295f886123c11cd1a +DIST hypothesis-python-6.21.6.tar.gz 9166313 BLAKE2B 19ac66c1674be30e14d54faa61244ac6da5b67678da4c5dbc728fefcac2e5f0a99c31f7cbe6fc4bc8738e1b072b4accba6f97863e6d601303d4fd69d4ccbd96a SHA512 454434f37dfc3f171d1865ac72d58821173654fabdd880c1b699ea0ff281405644bb1b370129843d35368cd9b6eb06fa00458e0aa41b2b7dc0b7e05e7f659a5d diff --git a/dev-python/hypothesis/hypothesis-6.21.6.ebuild b/dev-python/hypothesis/hypothesis-6.21.6.ebuild new file mode 100644 index 000000000000..8b48444a4699 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.21.6.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +DESCRIPTION="A library for property based testing" +HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" +SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" +S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' python3_{7..9}) + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/typing-3.7.4.1 + ) +" + +distutils_enable_tests --install pytest + +python_prepare() { + if ! use cli || ! has "${EPYTHON}" python3.{7..9}; then + sed -i -e '/console_scripts/d' setup.py || die + fi +} + +python_test() { + distutils_install_for_testing + epytest tests/cover tests/pytest tests/quality \ + -p no:pytest-describe \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/identify/Manifest b/dev-python/identify/Manifest index 6487be750437..9e8b4e20bcfe 100644 --- a/dev-python/identify/Manifest +++ b/dev-python/identify/Manifest @@ -1,2 +1,3 @@ DIST identify-2.2.13.tar.gz 101136 BLAKE2B b1835ca6b576a15be16de124554cfaf7b6dc55a1dfee70021613d35251135c295c3acf141eb645823add4c260bec9fdcde4799f0b72fbd57bc7a2e8659e416bd SHA512 37764325268c164028b7719f91571c006c9c6db3f4bba5a93d20f3d9ea30712cfe7e5710b175266a3d74f3f85485f16ebf7d21486d4329050b55e5835e8b4197 DIST identify-2.2.14.tar.gz 101144 BLAKE2B 9a23595173ab2ebfcbbcfc503e9750ef1e9c0c068e9d1a1b2f47dd2e08787f734541a79ae65b4a72a7de076b8f7ab4f877f3bb049560f33b38698729b9d5f3ab SHA512 9dc27e745f30fc1e6ee5135cdb82de004a5c60f17c47ab3e1deffe1c3c04adc47211bde161216be202db2171711a7dfea5f0ba60a56fea0cbc75ec6d55c6203f +DIST identify-2.2.15.tar.gz 101146 BLAKE2B 1855598314c191a9e4d2f73c2c7a424957a76177df1daf32b4c7de6ddbda4439fac0860ed105e4a2ca4aef0555843157499e9840cbbccf42cf728aef93b13607 SHA512 5b85c07603381174fb4265ad8fc411645dc0cecb68b3fc9b2afa7111f18eae7cf39d5cf1000eda8ded256f441a4bf05d9ded11f31c9aa80f55efaf2dc6745697 diff --git a/dev-python/identify/identify-2.2.15.ebuild b/dev-python/identify/identify-2.2.15.ebuild new file mode 100644 index 000000000000..bae7649cf429 --- /dev/null +++ b/dev-python/identify/identify-2.2.15.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2021 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="File identification library for Python" +HOMEPAGE="https://github.com/pre-commit/identify" +SRC_URI="https://github.com/pre-commit/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND="dev-python/editdistance-s[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest diff --git a/dev-python/markdown/markdown-3.3.4.ebuild b/dev-python/markdown/markdown-3.3.4.ebuild index 32128793dd95..5ea26fbc7258 100644 --- a/dev-python/markdown/markdown-3.3.4.ebuild +++ b/dev-python/markdown/markdown-3.3.4.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${P^}" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="doc" # importlib_metadata is only necessary for <python:3.8 according to setup.py diff --git a/dev-python/pytest-httpx/pytest-httpx-0.13.0.ebuild b/dev-python/pytest-httpx/pytest-httpx-0.13.0.ebuild index 6f3c9d69d7fc..0be03ce2a1ef 100644 --- a/dev-python/pytest-httpx/pytest-httpx-0.13.0.ebuild +++ b/dev-python/pytest-httpx/pytest-httpx-0.13.0.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" =dev-python/httpx-0.19*[${PYTHON_USEDEP}] diff --git a/dev-python/python-xmlsec/python-xmlsec-1.3.11.ebuild b/dev-python/python-xmlsec/python-xmlsec-1.3.11.ebuild index 50a93cc1225c..7e257e8d50ad 100644 --- a/dev-python/python-xmlsec/python-xmlsec-1.3.11.ebuild +++ b/dev-python/python-xmlsec/python-xmlsec-1.3.11.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/mehcode/python-xmlsec/archive/${PV}.tar.gz -> ${P}.t LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~ppc64 ~x86" +KEYWORDS="amd64 ~ppc64 x86" DEPEND=" dev-libs/xmlsec:= diff --git a/dev-python/requests-file/requests-file-1.5.1-r1.ebuild b/dev-python/requests-file/requests-file-1.5.1-r1.ebuild index 74573ec54a0b..abd25a9c3b5f 100644 --- a/dev-python/requests-file/requests-file-1.5.1-r1.ebuild +++ b/dev-python/requests-file/requests-file-1.5.1-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" dev-python/requests[${PYTHON_USEDEP}] diff --git a/dev-python/sure/sure-2.0.0.ebuild b/dev-python/sure/sure-2.0.0.ebuild index dd57f9a6f487..c33e59257483 100644 --- a/dev-python/sure/sure-2.0.0.ebuild +++ b/dev-python/sure/sure-2.0.0.ebuild @@ -26,5 +26,7 @@ distutils_enable_tests nose src_prepare() { # remove unnecessary dep sed -i -e '/rednose/d' setup.cfg || die + # broken test with python 3.10, but when manually run, passes + sed -e 's/test_context_is_not_optional/_&/' -i tests/test_old_api.py || die distutils-r1_src_prepare } diff --git a/dev-python/zeep/zeep-4.1.0.ebuild b/dev-python/zeep/zeep-4.1.0.ebuild index fc5d6ec8f904..e05c918ab12f 100644 --- a/dev-python/zeep/zeep-4.1.0.ebuild +++ b/dev-python/zeep/zeep-4.1.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="async" RDEPEND=" |
