diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-04-29 08:15:37 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-04-29 08:17:04 +0200 |
commit | fd07743a1d4b9246a581c1cefe4092facad48aeb (patch) | |
tree | cffa0f8ee3b45c69968775bf4ee4716a97f866d8 /dev-python/moto | |
parent | app-admin/awscli: Bump to 1.23.3 (diff) | |
download | gentoo-fd07743a1d4b9246a581c1cefe4092facad48aeb.tar.gz gentoo-fd07743a1d4b9246a581c1cefe4092facad48aeb.tar.bz2 gentoo-fd07743a1d4b9246a581c1cefe4092facad48aeb.zip |
dev-python/moto: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/moto')
-rw-r--r-- | dev-python/moto/Manifest | 5 | ||||
-rw-r--r-- | dev-python/moto/files/moto-3.1.1-32bit-time_t.patch | 68 | ||||
-rw-r--r-- | dev-python/moto/moto-3.0.5.ebuild | 96 | ||||
-rw-r--r-- | dev-python/moto/moto-3.1.1.ebuild | 88 | ||||
-rw-r--r-- | dev-python/moto/moto-3.1.2.ebuild | 84 | ||||
-rw-r--r-- | dev-python/moto/moto-3.1.3.ebuild | 84 | ||||
-rw-r--r-- | dev-python/moto/moto-3.1.4.ebuild | 84 |
7 files changed, 0 insertions, 509 deletions
diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest index 6b58823c8d6d..bebd41387057 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -1,7 +1,2 @@ -DIST moto-3.0.5.tar.gz 2219507 BLAKE2B 019e0f66d8a183f9d758c372252488e79692e140db19820b568279148d88181b944f547d3a213072a29fb61115b73b40b656d3a0657078c54ca1c6de001c65ab SHA512 0529711897a25ff969bf945abfda9e86ab0a310b6b273240b35c981960e04ed14f879a4a86e2251f9824d1d5bc9241afe4a0b964981c8a02a176bca459025359 -DIST moto-3.1.1.tar.gz 2236948 BLAKE2B 8ab52a59dc09f4819c1169d26fd198b13159635c2571fd27e38eaedc0a83fa5e7af0a7adba90db1c48658a849ff0b17e8d9c9750a47c6981960ac786f3d9a4e0 SHA512 2354886a9b3b46bb33b832495a94f1dcd10cf5cb00454b6e8b6b6838618842ca06f8577c1826bca02a10e2f723cf474a7c492cd9fb587bdb660deb118c17aa4d -DIST moto-3.1.2.tar.gz 2245068 BLAKE2B f25a4476bfbbbd3cab77efc1ef2ceeb74b2b7ee9067aac4a02f90c6fd385c5ed0d66d3fd8171945e22dcd78555c9fdbec78656109b9f61fd15950c44b456d4ea SHA512 51dfef58069f09b4654aa59bef2ee0426c0e662af51d78013c19671b664ade78d2c664c20f19592236808ba7bcc50613700232e87be1ac8dcead4be2df36d39b -DIST moto-3.1.3.tar.gz 2246198 BLAKE2B 935271da2b09b160c7ed8c8b1e2466b352d879c7b8bbe4406a410c301f9659fde3187ed76f2ad6695c79a667a44c698570dcb30206a0fe0b525a5e5bef72f40c SHA512 20963f9a1a99a2ac1654660284b3cb60439538da0d363baba92e813dd3c7bde815c125bc39cd1cf5c0cd883fba024dfda85b7e98a54141ad3e25311986c68c9a -DIST moto-3.1.4.tar.gz 2256325 BLAKE2B d0b90eee9f77370ea48e95a5920b139825550850276760842e16ddbe340e09746a0ec6c4e4d9a57f8a68232d807b17920fff4bd88a9a75d0a72c8153cb5cbfb1 SHA512 3ec226dc19b46af50f4a266957e54292b65b9b198a5daf2f5eba6242cf2ab9a42ba743d0af1f30695de625e9fa222871890b497717ac2b9ed111b033f3804b25 DIST moto-3.1.5.tar.gz 2282060 BLAKE2B f7b2cbf1de96b6d96b334e5b51bcdf69fb9645261564b28b290c19c37c27df5c25395ce54cc7d9c424f25cb381f4ddf13dc51456fb7baeec5e21b2da6abf725b SHA512 583c4e76a5acacdcce456cd953109b130dd53d6bf3e50d56d5ead6bfbdcd181109ce3df141686a4717687d3e1e8b33a73bdc7155c36aa5d064a4621e007ab17a DIST moto-3.1.6.tar.gz 2273226 BLAKE2B 91966fd315b3e5b4904ecc0e17c716bb47ecb6b644ccaad2cd52fb92754b79af0edb11573fadfd40b8ae75c17bad3429b6e2c4801424c4f30fea32689cd790d1 SHA512 f97ca412910ec9a0cf6d7e28b2ff2f2bf6a3d142a091f65eb4ccf8d53ae9d5362cccdbd24d72083f2d9c6200a3f6e400cca32c16965731d0fbd22239f9866d59 diff --git a/dev-python/moto/files/moto-3.1.1-32bit-time_t.patch b/dev-python/moto/files/moto-3.1.1-32bit-time_t.patch deleted file mode 100644 index f4ab312f0332..000000000000 --- a/dev-python/moto/files/moto-3.1.1-32bit-time_t.patch +++ /dev/null @@ -1,68 +0,0 @@ -From 878ce5bfd58060324fe58cb0a84653c02d895be4 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Sun, 20 Mar 2022 10:19:18 +0100 -Subject: [PATCH] Fix test failures on systems with 32-bit time_t - -Skip tests if OverflowError is raised when boto3 is processing -timestamps. This is a known limitation of boto3 on 32-bit platforms -(https://github.com/boto/botocore/issues/2355). - -Catching OverflowError is the best option here since some 32-bit -platforms (e.g. NetBSD) use 64-bit time_t, and others are working -on providing a switch to the 64-bit type (e.g. glibc). ---- - tests/test_acm/test_acm.py | 5 ++++- - tests/test_budgets/test_budgets.py | 14 ++++++++++---- - 2 files changed, 14 insertions(+), 5 deletions(-) - -diff --git a/tests/test_acm/test_acm.py b/tests/test_acm/test_acm.py -index b48897c1..6594787a 100644 ---- a/tests/test_acm/test_acm.py -+++ b/tests/test_acm/test_acm.py -@@ -160,7 +160,10 @@ def test_describe_certificate(): - client = boto3.client("acm", region_name="eu-central-1") - arn = _import_cert(client) - -- resp = client.describe_certificate(CertificateArn=arn) -+ try: -+ resp = client.describe_certificate(CertificateArn=arn) -+ except OverflowError: -+ pytest.skip("This test requires 64-bit time_t") - resp["Certificate"]["CertificateArn"].should.equal(arn) - resp["Certificate"]["DomainName"].should.equal(SERVER_COMMON_NAME) - resp["Certificate"]["Issuer"].should.equal("Moto") -diff --git a/tests/test_budgets/test_budgets.py b/tests/test_budgets/test_budgets.py -index 578a7298..b3de3121 100644 ---- a/tests/test_budgets/test_budgets.py -+++ b/tests/test_budgets/test_budgets.py -@@ -22,9 +22,12 @@ def test_create_and_describe_budget_minimal_params(): - ) - resp["ResponseMetadata"]["HTTPStatusCode"].should.equal(200) - -- budget = client.describe_budget(AccountId=ACCOUNT_ID, BudgetName="testbudget")[ -- "Budget" -- ] -+ try: -+ budget = client.describe_budget(AccountId=ACCOUNT_ID, BudgetName="testbudget")[ -+ "Budget" -+ ] -+ except OverflowError: -+ pytest.skip("This test requires 64-bit time_t") - budget.should.have.key("BudgetLimit") - budget["BudgetLimit"].should.have.key("Amount") - budget["BudgetLimit"]["Amount"].should.equal("10") -@@ -140,7 +143,10 @@ def test_create_and_describe_all_budgets(): - }, - ) - -- res = client.describe_budgets(AccountId=ACCOUNT_ID) -+ try: -+ res = client.describe_budgets(AccountId=ACCOUNT_ID) -+ except OverflowError: -+ pytest.skip("This test requires 64-bit time_t") - res["Budgets"].should.have.length_of(1) - - --- -2.35.1 - diff --git a/dev-python/moto/moto-3.0.5.ebuild b/dev-python/moto/moto-3.0.5.ebuild deleted file mode 100644 index 4c400131d65b..000000000000 --- a/dev-python/moto/moto-3.0.5.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# 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..10} ) - -inherit distutils-r1 - -DESCRIPTION="Mock library for boto" -HOMEPAGE="https://github.com/spulec/moto" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86" - -RDEPEND=" - >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/backports-tempfile[${PYTHON_USEDEP}]' python3_{6,7}) - dev-python/boto[${PYTHON_USEDEP}] - dev-python/cfn-lint[${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/pretty-yaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/pytz[${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 - -PATCHES=( - "${FILESDIR}"/moto-3.1.1-32bit-time_t.patch -) - -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_sqs/test_sqs_cloudformation.py::test_describe_stack_subresources - 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 - # 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_sqs/test_integration.py::test_invoke_function_from_sqs_exception - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_exception - # broken by new expat - tests/test_sts/test_sts.py::test_assume_role_with_saml - tests/test_sts/test_sts.py::test_assume_role_with_saml_should_not_rely_on_attribute_order - tests/test_sts/test_sts.py::test_assume_role_with_saml_should_respect_xml_namespaces - tests/test_sts/test_sts.py::test_assume_role_with_saml_should_retrieve_attribute_value_from_text_when_xml_tag_contains_xmlns_attributes - tests/test_sts/test_sts.py::test_assume_role_with_saml_should_default_session_duration_to_3600_seconds_when_saml_attribute_not_provided - ) - - # pytest-django causes freezegun try to mangle stuff inside django - # which fails when django is not really used - epytest -p no:django -m 'not network' -} diff --git a/dev-python/moto/moto-3.1.1.ebuild b/dev-python/moto/moto-3.1.1.ebuild deleted file mode 100644 index 71834ad342e9..000000000000 --- a/dev-python/moto/moto-3.1.1.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# 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..10} ) - -inherit distutils-r1 - -DESCRIPTION="Mock library for boto" -HOMEPAGE="https://github.com/spulec/moto" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -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/boto[${PYTHON_USEDEP}] - dev-python/cfn-lint[${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/pretty-yaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/pytz[${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 - -PATCHES=( - "${FILESDIR}"/moto-3.1.1-32bit-time_t.patch -) - -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 - # 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_sqs/test_integration.py::test_invoke_function_from_sqs_exception - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_exception - ) - - # pytest-django causes freezegun try to mangle stuff inside django - # which fails when django is not really used - epytest -p no:django -m 'not network' -} diff --git a/dev-python/moto/moto-3.1.2.ebuild b/dev-python/moto/moto-3.1.2.ebuild deleted file mode 100644 index 49b6647dfd22..000000000000 --- a/dev-python/moto/moto-3.1.2.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# 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..10} ) - -inherit distutils-r1 - -DESCRIPTION="Mock library for boto" -HOMEPAGE="https://github.com/spulec/moto" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -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/boto[${PYTHON_USEDEP}] - dev-python/cfn-lint[${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/pretty-yaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/pytz[${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 - # 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_sqs/test_integration.py::test_invoke_function_from_sqs_exception - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_exception - ) - - # pytest-django causes freezegun try to mangle stuff inside django - # which fails when django is not really used - epytest -p no:django -m 'not network' -} diff --git a/dev-python/moto/moto-3.1.3.ebuild b/dev-python/moto/moto-3.1.3.ebuild deleted file mode 100644 index 49b6647dfd22..000000000000 --- a/dev-python/moto/moto-3.1.3.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# 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..10} ) - -inherit distutils-r1 - -DESCRIPTION="Mock library for boto" -HOMEPAGE="https://github.com/spulec/moto" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -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/boto[${PYTHON_USEDEP}] - dev-python/cfn-lint[${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/pretty-yaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/pytz[${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 - # 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_sqs/test_integration.py::test_invoke_function_from_sqs_exception - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_exception - ) - - # pytest-django causes freezegun try to mangle stuff inside django - # which fails when django is not really used - epytest -p no:django -m 'not network' -} diff --git a/dev-python/moto/moto-3.1.4.ebuild b/dev-python/moto/moto-3.1.4.ebuild deleted file mode 100644 index 49b6647dfd22..000000000000 --- a/dev-python/moto/moto-3.1.4.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# 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..10} ) - -inherit distutils-r1 - -DESCRIPTION="Mock library for boto" -HOMEPAGE="https://github.com/spulec/moto" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -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/boto[${PYTHON_USEDEP}] - dev-python/cfn-lint[${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/pretty-yaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/pytz[${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 - # 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_sqs/test_integration.py::test_invoke_function_from_sqs_exception - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_exception - ) - - # pytest-django causes freezegun try to mangle stuff inside django - # which fails when django is not really used - epytest -p no:django -m 'not network' -} |