diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-19 05:39:40 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-19 05:39:40 +0000 |
commit | b24782302154e447b59c3f719970f951cd15cd38 (patch) | |
tree | 463a954988b9099fbc02967de0cf25b250d0caf7 /dev-python/moto | |
parent | 753ad9170f0d68e7f525f1931bc6ebf359268b29 (diff) |
gentoo auto-resync : 19:02:2024 - 05:39:40
Diffstat (limited to 'dev-python/moto')
-rw-r--r-- | dev-python/moto/Manifest | 2 | ||||
-rw-r--r-- | dev-python/moto/moto-5.0.2.ebuild | 152 |
2 files changed, 154 insertions, 0 deletions
diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest index 145500135a6b..461c50fa0dc5 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -10,6 +10,7 @@ DIST moto-4.2.8.tar.gz 4769361 BLAKE2B 2e7d6a7cac04655aa9f05af463e57689c0fc2b67c DIST moto-4.2.9.tar.gz 4775687 BLAKE2B af626a18c9487c08172813ddf2f1112d4bba80dbb64bf8deaf63079a6d4c12464e70d7c99d5a65fd1018f9f3a08bd0b12183e04a549fdfe580942086d49b9e21 SHA512 4cca0bdbe106faa84fa3893eb1dc2b2972a85c98ca718a10fd08a06757e1634954c5576c82b66d88c431a51b989cfedb2a52e6455d718330d4a5dd6e95a90225 DIST moto-5.0.0.tar.gz 4925737 BLAKE2B 45d60d1c7a53d9743cd4f3ac74a2108f9a6916dea09abb067111acbddf2ba5bb69e6ba354cdeb6be88876e4b8a8270876cfd4dab95339e948bf7cfb6e417e7d2 SHA512 44705d9b5aa5b373687fb34cae1d047b67b312bb788414f7b6c19b3f1e06fdf8fa69e88ae5df56bcc2ef0a74809211e0372fadb555ad57f50f313587d7dedb83 DIST moto-5.0.1.tar.gz 4933500 BLAKE2B 730bb8ca2db3e1a82d88cff0362d4be750bf138df0e52a04c18d707d965b093c5e07b400789b0bd8874e68ea7c8159911c0d84b3f535ac1da8d18e786e1f44af SHA512 0f72e6c07ab3c24ba70a309517498e77ed809970121ae5b63c249e4f73ebefa7787bbcfcacc310b0ae566d81c2dd8d0e0d767cba3bbbefb72e2620f1f2ea45fa +DIST moto-5.0.2.tar.gz 4948857 BLAKE2B 664da28791bbf65eae9f76f59fd62f9c53aeb615c714fb142684213fe90f6e1e071f30511dfa44e16b12abd6fcf97316d097f3b4b1008a0f1139e5a419f1bb87 SHA512 4fb03586171dfde6979022623047578634f9b8ec7ac34234bbfe3e60492c34a04b61547c4fb42f7734ad8284271cc238cc33692b746d52d004d33f0c6348852b EBUILD moto-4.2.10.ebuild 5914 BLAKE2B 4016128f8ab1189f6a81171d56b88ce019d6cd2354b8e35d76d4fec571673f398e70ba6ce25ffc0e31f94e1fbb0ce6bc2a32f7e5aec5d4c07f878122d3f17900 SHA512 14aca79dac6b5594b799b848461a3a06a60c10fa7e46724f3ece99fe0b5ab406ae9f35131c24aab0c8bb5a2051302ac8135ad478b8a52c1c549e8538682a8b3c EBUILD moto-4.2.11.ebuild 6009 BLAKE2B 712b425412154d910309d09169ea238101706a0727e2105dfecd457d2a80b831abed92fd0b7f10f200339f2c43823bca5f4a5f64f8876b1dd913c541d189f965 SHA512 a9cf3859a1461acc50811c695f2ee004b68815034582b99a283a05e936a53cc6940b79c808afac55fefab2931320275ccbe3d3b9a3a42e9224805d82812405fc EBUILD moto-4.2.12.ebuild 6543 BLAKE2B a29d86ef2311cb341bfd1c4d8c5227626197b651e39cc386b5497b4338de932764ce18ea6f532a28e96ed782307bc295b448df5a8c4ce24cbc271358eb83872b SHA512 5cd8b29886ca8190726681c01b423a0a23c77085f678bab1e2091cfc67b39cd179fe39219a2c1ba82be01a114ec04a09e03b96a9f1c78fcef2d7f75c3a483d2a @@ -21,4 +22,5 @@ EBUILD moto-4.2.8.ebuild 5490 BLAKE2B 7b20396b028362a9d3574c3195da23b0db482e85c0 EBUILD moto-4.2.9.ebuild 5686 BLAKE2B 04cc2c9889141fb1d54ed028e4046672901c7f1aeaa86a46798a54c0ea2372458ade16ac93d2d9fa74fd8b67555902c60f1b00e1557922d4ac370e43b4648073 SHA512 e7f0246caa5cb751a6b26c55c1309dbe17a1689e89924a0a3f5979262ddb6bb007d801f8ae3a5cc2893287240b430a2a7df90efc592e94baf8c20d5266e612d0 EBUILD moto-5.0.0.ebuild 6626 BLAKE2B 957d9c398c87f73a83afd9feb358b6ce2965a7d046c84f98ab60bd1203a934cea160571c693d86c196d48944a970e70a8212e4434a4ab509bad34892f2fd602c SHA512 434aab010656345047b7c793be213b581fab6529f34b073d387518a5ab3e58bafe38b10bf4dd117d737701c0131126bd94f0fe1f8bbf6fb207172a5f2edf129c EBUILD moto-5.0.1.ebuild 6137 BLAKE2B c3d04cdc36655ee8d3f02c9504842079cd4442d8b7d8cab81af7a5403f0efbf4326fe65f13a45235f755be028a91cf4a189e740e65d5e1f5cb335f1915ecbc60 SHA512 f8d233e0f3c5204ffde35993add831a8ba65814ca25681f5ded1855c0c62cd52cfabeb46d1ab6c6b3016b97adb57977d3dd8752ee46cff44c240e48f0282c80d +EBUILD moto-5.0.2.ebuild 7242 BLAKE2B 07774b247c1f56e98d53069fe0f3ba4511ca830eeeda125ded409765b92e73d9fe9245d15093f85f5d3680b94b3d31e7c3e3e287a91dff28c9e70aa4e4dcfd91 SHA512 a6863ddd53d37e6c461e2de94bc9bf8b99dc79bcdc77ff8d699996a3f88e5c9f167f9b1a0b1bd4823514c878ec3f67f0444cc90564f7d956b97ebf892b7c6591 MISC metadata.xml 553 BLAKE2B 1669d17d3e655aa3fb41a489229a5fbfa6a9cfb23c667e98fbbef931992c7e9645581b9ea12011601093586cba491a5557d68e5256edb9f387c4db362346edf9 SHA512 48ae3bd9be8c3bfb68f7022d0e7bb422c2a06157967809be302067facf91db825023859d18ccea89109931538b0e93181d54a31fcc967628df61a9a3112edd3d diff --git a/dev-python/moto/moto-5.0.2.ebuild b/dev-python/moto/moto-5.0.2.ebuild new file mode 100644 index 000000000000..ce6a7e91b01f --- /dev/null +++ b/dev-python/moto/moto-5.0.2.ebuild @@ -0,0 +1,152 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +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 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] + dev-python/boto3[${PYTHON_USEDEP}] + >=dev-python/botocore-1.14.0[${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-3.0.0[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${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/more-itertools[${PYTHON_USEDEP}] + >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] + >=dev-python/openapi-spec-validator-0.5.0[${PYTHON_USEDEP}] + dev-python/pyaml[${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/responses-0.15.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.5[${PYTHON_USEDEP}] + dev-python/sshpubkeys[${PYTHON_USEDEP}] + dev-python/typing-extensions[${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/sure-1.4.11[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +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 + # 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_awslambda/test_lambda_layers_invoked.py::test_invoke_local_lambda_layers + 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_container_overrides + tests/test_batch/test_batch_jobs.py::test_dependencies + tests/test_batch/test_batch_jobs.py::test_failed_dependencies + tests/test_batch/test_batch_jobs.py::test_failed_job + tests/test_batch/test_batch_jobs.py::test_submit_job_array_size + tests/test_batch/test_batch_jobs.py::test_terminate_job + tests/test_batch/test_batch_jobs.py::test_terminate_nonexisting_job + 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_core/test_docker.py::test_docker_is_running_and_available + tests/test_core/test_request_passthrough.py + tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_aws_and_http_requests + tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_http_requests + tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda + "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_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 + # require py_partiql_parser + tests/test_s3/test_s3_select.py + tests/test_dynamodb/test_dynamodb_statements.py + # require joserfc + tests/test_apigateway/test_apigateway.py::test_update_authorizer_configuration + tests/test_apigateway/test_apigateway.py::test_create_authorizer + tests/test_apigateway/test_apigateway.py::test_delete_authorizer + tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserDeleter::test_authenticate_with_signed_out_user + No + tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserPoolDuplidateEmails::test_use_existing_email__when_email_is_ + - + tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserPoolDuplidateEmails::test_use_existing_email__when_username_ + - + tests/test_cognitoidp/test_cognitoidp_replay.py::TestCreateUserPoolWithPredeterminedID::test_different_seed + No + tests/test_cognitoidp/test_cognitoidp_replay.py::TestCreateUserPoolWithPredeterminedID::test_same_seed + tests/test_cognitoidp/test_server.py::test_sign_up_user_without_authentication + tests/test_cognitoidp/test_server.py::test_admin_create_user_without_authentication + ) + local EPYTEST_IGNORE=( + # require joserfc + tests/test_cognitoidp/test_cognitoidp.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x TZ=UTC + + local serial_tests=( + # these tests set up credentials that are needed by the tests below + tests/test_core/test_importorder.py + # these tests apparently rely on some other test setting credentials + # up for them, so they need to be run separately, after the above + tests/test_awslambda_simple/test_lambda_simple.py::test_run_function{,_no_log} + tests/test_dynamodb/exceptions/test_dynamodb_exceptions.py + tests/test_dynamodb/exceptions/test_dynamodb_transactions.py::test_transaction_with_empty_key + tests/test_dynamodb/test_dynamodb.py::test_transact_write_items_failure__return_item + tests/test_dynamodb/test_dynamodb.py::test_transact_write_items_put_conditional_expressions + tests/test_dynamodb/test_dynamodb_update_expressions.py::test_update_different_map_elements_in_single_request + tests/test_events/test_events.py::test_start_replay_send_to_log_group + tests/test_lakeformation/test_resource_tags_integration.py + tests/test_redshiftdata + tests/test_resourcegroupstaggingapi/test_server.py::test_resourcegroupstaggingapi_list + tests/test_s3/test_s3.py::test_delete_bucket_cors + tests/test_s3/test_s3.py::test_delete_objects_percent_encoded + tests/test_s3/test_s3.py::test_delete_versioned_bucket_returns_metadata + tests/test_s3/test_s3_copyobject.py::test_copy_key_boto3_with_args + tests/test_s3/test_s3_copyobject.py::test_copy_key_boto3_with_args__using_multipart + tests/test_s3/test_s3_file_handles.py::TestS3FileHandleClosuresUsingMocks + tests/test_s3/test_s3_list_object_versions.py + tests/test_s3/test_s3_tagging.py + tests/test_s3control/test_s3control_access_points.py::test_delete_access_point + tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_can_handle_multiple_services + tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_is_reachable + ) + + EPYTEST_XDIST= epytest "${serial_tests[@]}" + + EPYTEST_DESELECT+=( "${serial_tests[@]}" ) + epytest -m 'not network' +} |