summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-03-07 13:51:33 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-03-07 13:51:33 +0000
commit3489ebacb047fd535dd239e5e804dda5fda16c38 (patch)
treeda30d0008791451ab9f263c439607123ebb51970 /dev-python
parent0f8c76c240d2be684ae72d5db356e8f01aa629b0 (diff)
downloadbaldeagleos-repo-3489ebacb047fd535dd239e5e804dda5fda16c38.tar.gz
baldeagleos-repo-3489ebacb047fd535dd239e5e804dda5fda16c38.tar.xz
baldeagleos-repo-3489ebacb047fd535dd239e5e804dda5fda16c38.zip
Adding metadata
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/jupyter-server-terminals/jupyter-server-terminals-0.4.4.ebuild2
-rw-r--r--dev-python/jupyter_server/jupyter_server-2.2.1-r1.ebuild2
-rw-r--r--dev-python/jupyter_server/jupyter_server-2.2.1.ebuild2
-rw-r--r--dev-python/jupyter_server/jupyter_server-2.3.0.ebuild2
-rw-r--r--dev-python/loguru/Manifest1
-rw-r--r--dev-python/loguru/files/0.6.0-py311-fix.patch68
-rw-r--r--dev-python/loguru/loguru-0.6.0-r1.ebuild6
-rw-r--r--dev-python/moto/Manifest1
-rw-r--r--dev-python/moto/moto-4.1.4.ebuild101
-rw-r--r--dev-python/poetry-core/poetry-core-1.5.1.ebuild1
-rw-r--r--dev-python/pygame/pygame-2.1.3.ebuild2
11 files changed, 182 insertions, 6 deletions
diff --git a/dev-python/jupyter-server-terminals/jupyter-server-terminals-0.4.4.ebuild b/dev-python/jupyter-server-terminals/jupyter-server-terminals-0.4.4.ebuild
index e86a4d82b763..b3a33e3ba32a 100644
--- a/dev-python/jupyter-server-terminals/jupyter-server-terminals-0.4.4.ebuild
+++ b/dev-python/jupyter-server-terminals/jupyter-server-terminals-0.4.4.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~s390 ~sparc"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc"
RDEPEND="
dev-python/terminado[${PYTHON_USEDEP}]
diff --git a/dev-python/jupyter_server/jupyter_server-2.2.1-r1.ebuild b/dev-python/jupyter_server/jupyter_server-2.2.1-r1.ebuild
index 13cf4ba6ac5f..3ff22905047f 100644
--- a/dev-python/jupyter_server/jupyter_server-2.2.1-r1.ebuild
+++ b/dev-python/jupyter_server/jupyter_server-2.2.1-r1.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc"
RDEPEND="
>=dev-python/anyio-3.1.0[${PYTHON_USEDEP}]
diff --git a/dev-python/jupyter_server/jupyter_server-2.2.1.ebuild b/dev-python/jupyter_server/jupyter_server-2.2.1.ebuild
index e59d749cf521..7c8ee676a57c 100644
--- a/dev-python/jupyter_server/jupyter_server-2.2.1.ebuild
+++ b/dev-python/jupyter_server/jupyter_server-2.2.1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
RDEPEND="
>=dev-python/anyio-3.1.0[${PYTHON_USEDEP}]
diff --git a/dev-python/jupyter_server/jupyter_server-2.3.0.ebuild b/dev-python/jupyter_server/jupyter_server-2.3.0.ebuild
index 677e4a2a470e..3ff22905047f 100644
--- a/dev-python/jupyter_server/jupyter_server-2.3.0.ebuild
+++ b/dev-python/jupyter_server/jupyter_server-2.3.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~s390 ~sparc"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc"
RDEPEND="
>=dev-python/anyio-3.1.0[${PYTHON_USEDEP}]
diff --git a/dev-python/loguru/Manifest b/dev-python/loguru/Manifest
index 90c60f6e77ba..208a6357826c 100644
--- a/dev-python/loguru/Manifest
+++ b/dev-python/loguru/Manifest
@@ -1,2 +1,3 @@
+DIST loguru-0.6.0-py311-repr-tests.patch 4251 BLAKE2B 21891ede1845387f915d3889dfb077af78e88909ce7efe25cd194516dab465738d3c398195552e8a8a54913804df1bc74bf95c4e12494b8e7f628894d0c12177 SHA512 e1da062ba49e53ecfedc044d59f969797bd1dec99c64e42d5420af6cba80db95d242ed7d155b180e84dacba4bd56298fd5a4cae784ef4eec1709905da1a1c93f
DIST loguru-0.6.0.gh.tar.gz 417660 BLAKE2B a7b7d95ffcf652769503db3423768ff85a4fa4898f0e2b155d96ce0c42fa7f24255f9dc49ba62e8a4f19bb3b7cc8b374580fe0965c9683b14d9bcea9866e71a5 SHA512 6ca7087cde3b4ce11255e31af988e5e118a7ebfbb338b97ebd6e7e4af716f0301c0180a59b18c879fd799c25802b428411b868290b7593212f06d70bcbd6a9ca
DIST loguru-0.6.0.tar.gz 417660 BLAKE2B a7b7d95ffcf652769503db3423768ff85a4fa4898f0e2b155d96ce0c42fa7f24255f9dc49ba62e8a4f19bb3b7cc8b374580fe0965c9683b14d9bcea9866e71a5 SHA512 6ca7087cde3b4ce11255e31af988e5e118a7ebfbb338b97ebd6e7e4af716f0301c0180a59b18c879fd799c25802b428411b868290b7593212f06d70bcbd6a9ca
diff --git a/dev-python/loguru/files/0.6.0-py311-fix.patch b/dev-python/loguru/files/0.6.0-py311-fix.patch
new file mode 100644
index 000000000000..a7d29b911fac
--- /dev/null
+++ b/dev-python/loguru/files/0.6.0-py311-fix.patch
@@ -0,0 +1,68 @@
+Fix failing tests on Python 3.11 (#654)
+
+Issue: https://github.com/Delgan/loguru/issues/654
+Commit: https://github.com/Delgan/loguru/commit/5b77724ca75aa8f4b1c8866e0b786c3cbe30ca99
+
+diff --git a/tests/test_filesink_rotation.py b/tests/test_filesink_rotation.py
+index bdf75a3..fb80b69 100644
+--- a/tests/test_filesink_rotation.py
++++ b/tests/test_filesink_rotation.py
+@@ -49,8 +49,8 @@ def monkeypatch_filesystem(monkeypatch):
+ return self._timestamp
+ return getattr(self._wrapped, name)
+
+- def patched_stat(filepath):
+- stat = __stat__(filepath)
++ def patched_stat(filepath, *args, **kwargs):
++ stat = __stat__(filepath, *args, **kwargs)
+ wrapped = StatWrapper(stat, filesystem.get(os.path.abspath(filepath)))
+ return wrapped
+
+diff --git a/tests/test_interception.py b/tests/test_interception.py
+index a05802a..2f570b9 100644
+--- a/tests/test_interception.py
++++ b/tests/test_interception.py
+@@ -1,4 +1,5 @@
+ import logging
++import sys
+
+ from loguru import logger
+
+@@ -7,15 +8,15 @@ from .conftest import make_logging_logger
+
+ class InterceptHandler(logging.Handler):
+ def emit(self, record):
+- # Get corresponding Loguru level if it exists
++ # Get corresponding Loguru level if it exists.
+ try:
+ level = logger.level(record.levelname).name
+ except ValueError:
+ level = record.levelno
+
+- # Find caller from where originated the logged message
+- frame, depth = logging.currentframe(), 2
+- while frame.f_code.co_filename == logging.__file__:
++ # Find caller from where originated the logged message.
++ frame, depth = sys._getframe(6), 6
++ while frame and frame.f_code.co_filename == logging.__file__:
+ frame = frame.f_back
+ depth += 1
+
+@@ -30,7 +31,7 @@ def test_formatting(writer):
+
+ expected = (
+ "tests.test_interception - test_interception.py - test_formatting - DEBUG - "
+- "10 - 38 - test_interception - This is the message\n"
++ "10 - 39 - test_interception - This is the message\n"
+ )
+
+ with make_logging_logger("tests", InterceptHandler()) as logging_logger:
+@@ -157,4 +158,4 @@ def test_using_logging_function(writer):
+ logging.warning("ABC")
+
+ result = writer.read()
+- assert result == "test_using_logging_function 157 test_interception test_interception.py ABC\n"
++ assert result == "test_using_logging_function 158 test_interception test_interception.py ABC\n"
+--
+2.39.2
+
diff --git a/dev-python/loguru/loguru-0.6.0-r1.ebuild b/dev-python/loguru/loguru-0.6.0-r1.ebuild
index 38638770fad4..3d948087ac30 100644
--- a/dev-python/loguru/loguru-0.6.0-r1.ebuild
+++ b/dev-python/loguru/loguru-0.6.0-r1.ebuild
@@ -16,6 +16,8 @@ HOMEPAGE="
SRC_URI="
https://github.com/Delgan/loguru/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
+ https://github.com/Delgan/loguru/commit/4fe21f66991abeb1905e24c3bc3c634543d959a2.patch
+ -> ${P}-py311-repr-tests.patch
"
LICENSE="MIT"
@@ -29,7 +31,9 @@ BDEPEND="
"
PATCHES=(
- "${FILESDIR}/0.6.0-typos.patch"
+ "${FILESDIR}/${PV}-typos.patch"
+ "${FILESDIR}/${PV}-py311-fix.patch"
+ "${DISTDIR}/${P}-py311-repr-tests.patch"
)
# filesystem buffering tests may fail
diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest
index d50e9290e035..5f2b2475ba04 100644
--- a/dev-python/moto/Manifest
+++ b/dev-python/moto/Manifest
@@ -4,3 +4,4 @@ DIST moto-4.1.0.tar.gz 2561695 BLAKE2B ce95abe8d49bee64d5323988526e251c52cd5ee5d
DIST moto-4.1.1.tar.gz 2581128 BLAKE2B a4af36e5f87633a8b3f0dcfc5b786d95925dc787acf4b6a7698262637208a1fa0344e734a4a5c8073643e5d92740ee52d3b37f305b1afbf81e3a2f8496b5ecf1 SHA512 1b7ec2cd1a2a7273a22cc8fe3ddf64b9e4447cdf7d4fd966dee1cbde6b95c1a51d1e5870530eee1f19dbdaa196bff5c283a2df08462ab9ffac3b683f789bca25
DIST moto-4.1.2.tar.gz 2593920 BLAKE2B c07ed5169fa24318e5ea081c470b07d93071c7d6e2242643e770aa3c3f59afa5f808855c47e053265aa51ad12b041d962282387a800d619309fc37ba7a360122 SHA512 73975b95b8d2caaede4f1c32ff72da68d57d28ce5c2354a2582d7501ee5be7ea6b643437234739ea81e090c611e265e54bd2b137fd8146e12d99346497cf6da6
DIST moto-4.1.3.tar.gz 2612972 BLAKE2B 50bfb84f83258a87815d41c370d69275a2a0ca375b9f9298fc39daf93cb490c1da0a0ad74db1aaa21fb38cee13a363f49f1a444ee916f936ac565334d5973760 SHA512 bc7a9d6ec0759ffebbc8ec5813952d63e859ca8e686c552d314cc398c6ec04420c11fc24783d965e87bd7e1f4dbd61ef522c438c22c590ec164d215355fc9133
+DIST moto-4.1.4.tar.gz 3430354 BLAKE2B 9805ab25ea8f6d4fe88960d895caf0eff48912d31bca14e8ffef4e5453a9c6dd7e0f21a97410069c88166b15545148db4e936304e64e814bdd7907e19d513f0e SHA512 77700834c0816897448ff53c255f8bc0a00e2130bf8c2291e88abad5613b3b31bbc9a9828a052b5a8e6dfbc35b0165297ebd68d97b04a4c681380654db324ff1
diff --git a/dev-python/moto/moto-4.1.4.ebuild b/dev-python/moto/moto-4.1.4.ebuild
new file mode 100644
index 000000000000..edcb43a8002e
--- /dev/null
+++ b/dev-python/moto/moto-4.1.4.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Mock library for boto"
+HOMEPAGE="
+ https://github.com/getmoto/moto/
+ https://pypi.org/project/moto/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+ >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}]
+ >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}]
+ >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}]
+ dev-python/cookies[${PYTHON_USEDEP}]
+ >=dev-python/docker-py-2.5.1[${PYTHON_USEDEP}]
+ >=dev-python/idna-2.5[${PYTHON_USEDEP}]
+ >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}]
+ >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}]
+ dev-python/boto3[${PYTHON_USEDEP}]
+ dev-python/botocore[${PYTHON_USEDEP}]
+ dev-python/flask[${PYTHON_USEDEP}]
+ dev-python/flask-cors[${PYTHON_USEDEP}]
+ dev-python/more-itertools[${PYTHON_USEDEP}]
+ >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}]
+ >=dev-python/openapi-spec-validator-0.2.8[${PYTHON_USEDEP}]
+ dev-python/pretty-yaml[${PYTHON_USEDEP}]
+ >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
+ >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/python-jose[${PYTHON_USEDEP}]
+ dev-python/python-sshpubkeys[${PYTHON_USEDEP}]
+ >=dev-python/responses-0.9.0[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.5[${PYTHON_USEDEP}]
+ dev-python/xmltodict[${PYTHON_USEDEP}]
+ dev-python/werkzeug[${PYTHON_USEDEP}]
+ dev-python/zipp[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/freezegun[${PYTHON_USEDEP}]
+ dev-python/responses[${PYTHON_USEDEP}]
+ >=dev-python/sure-1.4.11[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # TODO
+ tests/test_firehose/test_firehose_put.py::test_put_record_http_destination
+ tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination
+ tests/test_swf/responses/test_decision_tasks.py::test_respond_decision_task_completed_with_schedule_activity_task_boto3
+ tests/test_swf/responses/test_timeouts.py::test_activity_task_heartbeat_timeout_boto3
+ tests/test_swf/responses/test_timeouts.py::test_decision_task_start_to_close_timeout_boto3
+ tests/test_swf/responses/test_timeouts.py::test_workflow_execution_start_to_close_timeout_boto3
+ # broken code (local variable used referenced before definition)
+ tests/test_appsync/test_appsync_schema.py
+ tests/test_appsync/test_server.py::test_appsync_list_tags_for_resource
+ # Needs network (or docker?) but not marked as such, bug #807031
+ # TODO: report upstream
+ tests/test_batch/test_batch_jobs.py::test_terminate_job
+ tests/test_batch/test_batch_jobs.py::test_cancel_pending_job
+ tests/test_batch/test_batch_jobs.py::test_cancel_running_job
+ tests/test_batch/test_batch_jobs.py::test_dependencies
+ tests/test_batch/test_batch_jobs.py::test_container_overrides
+ tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed
+
+ tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function
+ tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda
+ tests/test_sqs/test_integration.py::test_invoke_function_from_sqs_exception
+ tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_exception
+ tests/test_s3/test_server.py::test_s3_server_post_to_bucket_redirect
+ tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header
+ "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]"
+ "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]"
+ "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]"
+ # TODO
+ tests/test_batch/test_batch_jobs.py::test_failed_dependencies
+ tests/test_batch/test_batch_jobs.py::test_failed_job
+ tests/test_batch_simple/test_batch_jobs.py::test_submit_job_by_name
+ tests/test_core/test_environ_patching.py::test_aws_keys_can_be_none
+ tests/test_core/test_mock_all.py::test_context_manager
+ tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue
+ tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -m 'not network'
+}
diff --git a/dev-python/poetry-core/poetry-core-1.5.1.ebuild b/dev-python/poetry-core/poetry-core-1.5.1.ebuild
index 06e9c6e86d81..e5e4f098c691 100644
--- a/dev-python/poetry-core/poetry-core-1.5.1.ebuild
+++ b/dev-python/poetry-core/poetry-core-1.5.1.ebuild
@@ -31,6 +31,7 @@ RDEPEND="
dev-python/tomlkit[${PYTHON_USEDEP}]
"
BDEPEND="
+ ${RDEPEND}
test? (
dev-python/build[${PYTHON_USEDEP}]
dev-python/pep517[${PYTHON_USEDEP}]
diff --git a/dev-python/pygame/pygame-2.1.3.ebuild b/dev-python/pygame/pygame-2.1.3.ebuild
index 6d485a5c779b..96c3c30e60d7 100644
--- a/dev-python/pygame/pygame-2.1.3.ebuild
+++ b/dev-python/pygame/pygame-2.1.3.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="LGPL-2.1"
SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv sparc x86"
IUSE="examples opengl test X"
RESTRICT="!test? ( test )"