From 2fd57282f0262ca084e05b0f2c63fbada395d02b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 16 Jan 2022 20:27:28 +0000 Subject: gentoo resync : 16.01.2021 --- dev-python/moto/Manifest | 6 ++- dev-python/moto/moto-2.2.18.ebuild | 4 +- dev-python/moto/moto-2.3.1.ebuild | 87 +++++++++++++++++++++++++++++++++++++ dev-python/moto/moto-2.3.2.ebuild | 89 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 183 insertions(+), 3 deletions(-) create mode 100644 dev-python/moto/moto-2.3.1.ebuild create mode 100644 dev-python/moto/moto-2.3.2.ebuild (limited to 'dev-python/moto') diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest index bc40b9667572..9319e6ff6ea1 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -7,13 +7,17 @@ DIST moto-2.2.17.tar.gz 2013217 BLAKE2B 6fe6dd23e96fe8ba210fc9bbb400ced7c27aa662 DIST moto-2.2.18.tar.gz 2077837 BLAKE2B acb4c428e6cc00711e186a209d61e00366954dabf9ad750f7d639d822daaf7e35399ab8a317fa32756113d41bff27d236be79b7c99b4f2ddbd8fb415144cd985 SHA512 5d416b59b9a3bd97b98ea5196bcfc25accb2bed83e9782cda48acf8ec52a9e304e9fe5edfdd5dda60376df06b7a9c0709acec08d058a99127cc34ef2905ba5b3 DIST moto-2.2.19.tar.gz 2083677 BLAKE2B e8471c4acccd213a80b4636a1da2a404f1ea2c10750a80059999212f8ab721ab900c08e29ebb069c271063bf2b67dd837fd311ff25f304956a8551bbc7eb936e SHA512 cd549fad44820900efc28e8d6834c588dac57c44a09214f6f5e51894207e9b1f88300975d60390c14252be29d66696dbe13d484ede87c23c6d16f4c39ba7f2a2 DIST moto-2.2.20.tar.gz 2077649 BLAKE2B 595d9536b21ba442fcf0b9b40e61cc9d3105e220661f67d842cd5e9660ed4ff561e0ea742083e167ef11312b762b204e82381550845a06d6b5a694793adc0c67 SHA512 ac853989ec4822a72139ed62f7bc8b01a91ef2a424b4e622fd0cc6828b3dd21d3a433ba8d50cda5e5b4c03859653d71f9431b7ce2416255be3cf129b1a02e200 +DIST moto-2.3.1.tar.gz 2088810 BLAKE2B 9e1b50bec4e0a7a0bb7496fe90e8caf0b80900e35120aae931e99e0e251bd4905c7bfed670a78d230abd987d3400f93fbbaf0bcdece9d6b5e35c4b63916e72c3 SHA512 122311e549b034b0a45a1cbfbc4fd96e0c846272d460c72279a7991b967720e1732662e623acf6a5f1cbaf874f5755bcfa9dfbf8a0ac31da780de44d42e6f1be +DIST moto-2.3.2.tar.gz 2095242 BLAKE2B 17b98e09c410e48cac60ca494d6d0a6264657e8df994c0395be15b072dbc998a59b25d017b2897cd2e05429959baa427358b4f11cc3b7a517f4f4ddb88d2f2c5 SHA512 f58b9cf3f0a88964776fc92e4982408f0826a2d0149cc84cc21752030d8c9d3de3ea1a07cb529ea4d77b0d2a5ac5222a6ec24f6b88e9d7d70cc82257b883bd10 EBUILD moto-2.0.5-r1.ebuild 2202 BLAKE2B 78dc6466511968204fcca5e6df49b3e696e5e6f143617f4d4544c36281d3b87e04204b7a4074358425b38f0630b0f274eda050064cad953573f2f2318efbbcc5 SHA512 f7d083fe0307870a7da48acf4df2d917db7cb11aceb7a19da62673d1aee3b53530535e74d30b3775fad0807b47beb184eeb83e77474491b936bc99b007384b48 EBUILD moto-2.2.12.ebuild 3222 BLAKE2B e43390f59fd770df538578a675648ef7c2f38f4c343ab5ce68f9cac9996b44f6b96dc67ca54b92684e13e7e9ce8074bd9f50b01b31c44573ee17b563b6cfa289 SHA512 3544b1b804eff94fb55eb92584ee2dcfa6a3ba4b0976757b55c10ab4c39bec5ec948121668628fb741682ed33e3a85b145c6063c339f649837589d9678280c68 EBUILD moto-2.2.14.ebuild 3445 BLAKE2B 5dafb708c4b79813feba51c57e4d196aea5e72eb8d2a59e277c97f124b9b9cb841ba9d29c8691405c1c1542bbfe1c39086628f06a63a4074caa170031769775a SHA512 c9583039d6c6acfaa643f2684b0b81cfb7647fe404c3aa2bedf6d9e22572588716560abab2f81065ab553e51318dd45cc31990934a4c89af661bdc0bf3df3b2c EBUILD moto-2.2.15.ebuild 3445 BLAKE2B 5dafb708c4b79813feba51c57e4d196aea5e72eb8d2a59e277c97f124b9b9cb841ba9d29c8691405c1c1542bbfe1c39086628f06a63a4074caa170031769775a SHA512 c9583039d6c6acfaa643f2684b0b81cfb7647fe404c3aa2bedf6d9e22572588716560abab2f81065ab553e51318dd45cc31990934a4c89af661bdc0bf3df3b2c EBUILD moto-2.2.16.ebuild 3445 BLAKE2B 5dafb708c4b79813feba51c57e4d196aea5e72eb8d2a59e277c97f124b9b9cb841ba9d29c8691405c1c1542bbfe1c39086628f06a63a4074caa170031769775a SHA512 c9583039d6c6acfaa643f2684b0b81cfb7647fe404c3aa2bedf6d9e22572588716560abab2f81065ab553e51318dd45cc31990934a4c89af661bdc0bf3df3b2c EBUILD moto-2.2.17.ebuild 3451 BLAKE2B c603ccd2a24b8705ac1fa1a192836d34465293155f8ab872e7010e0edb87b77d74ff587e41c39c7cd4596fe6adaaabd7595692f6ea565965bd42209910457a3e SHA512 4d25af169282261b8001633a25be9bb21c8ea66e3275c89789d25e890aca3d30b6a613eb6ea7cd521ea22b52a5c2aac861650e5f7caa01ea03080583acf68f39 -EBUILD moto-2.2.18.ebuild 3450 BLAKE2B 764f3dda54f86537db870536cbecd3d10aa850de1119b8f8992d2fd9ea7396e335f35387e40de6aea68b8d2a679cfcdb13e3cdc96160586556af210bf064d95a SHA512 5332cc9d7d0b2355df8e294e7d571aceb7cc6e8af03769336ad39f95f376c4a5d4d3261be2646caf2909095da40b8b6afee2a8305432189115c390caed68bccf +EBUILD moto-2.2.18.ebuild 3449 BLAKE2B d49f99ddad8d51e30f254a760d5069560ee8b69db8aa936d8463e80e60f57e5fad8f39af8917ef97c90b3daae88bcdeba5136ac11497e659dc631db029d2d76b SHA512 12a907550c34f060b5c44716dc410c8bfb3f19ed42e24a9dc67750bc943133815a84826f9c81ba2df5df77c0b0d4d876ec65e2fc4b41ddec00c98e68a3ee58ac EBUILD moto-2.2.19.ebuild 3432 BLAKE2B 725ac4d31314e1ce4c4ca8ae3b8e5eedc46e50723ba97dd258386a93852366edd3488a5e5b627f7938d313f558b713a1832691a89c1c8a71ba0bc67d4b92b6a5 SHA512 b1b61412407c38fe3b4bee0797815ed71c16270b6c9b1eaf985ceb8b4a0d132b76cb9e9caeeaa1c5da959ae0f5b9c8a9b1f72ef4467ded6c2c35073a40b5498f EBUILD moto-2.2.20.ebuild 3432 BLAKE2B 725ac4d31314e1ce4c4ca8ae3b8e5eedc46e50723ba97dd258386a93852366edd3488a5e5b627f7938d313f558b713a1832691a89c1c8a71ba0bc67d4b92b6a5 SHA512 b1b61412407c38fe3b4bee0797815ed71c16270b6c9b1eaf985ceb8b4a0d132b76cb9e9caeeaa1c5da959ae0f5b9c8a9b1f72ef4467ded6c2c35073a40b5498f +EBUILD moto-2.3.1.ebuild 3432 BLAKE2B e4217daddfd0cf8933bec33da47eb8d5f87a2e6e231c71f2481c5926e26de9aefeb2e749734f6bfc773cdd2e3440f57d5126f6fd8a38d64cedd3b5521622b4d6 SHA512 4e41c06bd9413d74593a7a2769be318ccf3af96b6d1460e3fb0bbcbba41e64ee7106afa1ebb525cde967b2826760ee96324a69f4e1f84e2c22694bd220a7c3ff +EBUILD moto-2.3.2.ebuild 3543 BLAKE2B ae6cda764e663f1482cc5b60da1df1e362b752184983656bda8677eff815465915425660ec82b9961b88939318a6436de808ff55007a649d792a4257e1d42a50 SHA512 fc00e88c2151afcdddc1cdbfb4b1194dad26db2f724fe2e12abadcee4e45f259144da3bd3291807ec2581bbea2a07aac977e995f87e3d4d28d4053f7f7f5bcae MISC metadata.xml 552 BLAKE2B c0162cc80007c1fda211c105b3e7391e3596ef11deb9257bab489f4b112f79ed115ca3f250bdf1b87aee0af258aa59056c8d062acebca7dec631acf3ec9eb2bb SHA512 3f7b3c5709bca51588e58f9eeb9bb363e2657a7e6483519ec7782eb047a5311d434e2459ccd3b495340f85f72a92da2f7cc6eb3de617e979bade7b8fc7b3c01d diff --git a/dev-python/moto/moto-2.2.18.ebuild b/dev-python/moto/moto-2.2.18.ebuild index 69c10257be0c..63992b93be1a 100644 --- a/dev-python/moto/moto-2.2.18.ebuild +++ b/dev-python/moto/moto-2.2.18.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" RDEPEND=" >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] diff --git a/dev-python/moto/moto-2.3.1.ebuild b/dev-python/moto/moto-2.3.1.ebuild new file mode 100644 index 000000000000..8b35ace42903 --- /dev/null +++ b/dev-python/moto/moto-2.3.1.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 ~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 + +python_prepare_all() { + # unpin indirect dep on ecdsa that's supposed to workaround pip bugs + sed -i -e '/ecdsa/s:<0.15::' setup.py || die + + distutils-r1_python_prepare_all +} + +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 + # 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_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-2.3.2.ebuild b/dev-python/moto/moto-2.3.2.ebuild new file mode 100644 index 000000000000..cdc02be77366 --- /dev/null +++ b/dev-python/moto/moto-2.3.2.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 ~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 + +python_prepare_all() { + # unpin indirect dep on ecdsa that's supposed to workaround pip bugs + sed -i -e '/ecdsa/s:<0.15::' setup.py || die + + distutils-r1_python_prepare_all +} + +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_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' +} -- cgit v1.2.3