summaryrefslogtreecommitdiff
path: root/dev-python/moto
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-08-11 07:02:28 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-08-11 07:02:28 +0100
commit068424b26532f3551a81421a9be67ed206e5c11a (patch)
tree583b8d979899a463a4ef5b26d3d49e85df987623 /dev-python/moto
parentd162ba1860a88062f4cd61f8b52fc303ba0b2991 (diff)
gentoo resync : 11.08.2021
Diffstat (limited to 'dev-python/moto')
-rw-r--r--dev-python/moto/Manifest27
-rw-r--r--dev-python/moto/files/moto-1.3.14-newer-botocore.patch53
-rw-r--r--dev-python/moto/files/moto-1.3.14-py39.patch38
-rw-r--r--dev-python/moto/files/moto-1.3.14-tests.patch82
-rw-r--r--dev-python/moto/moto-1.3.14-r3.ebuild89
-rw-r--r--dev-python/moto/moto-1.3.16-r1.ebuild92
-rw-r--r--dev-python/moto/moto-2.0.0.ebuild75
-rw-r--r--dev-python/moto/moto-2.0.1.ebuild75
-rw-r--r--dev-python/moto/moto-2.0.2.ebuild71
-rw-r--r--dev-python/moto/moto-2.0.5.ebuild2
-rw-r--r--dev-python/moto/moto-2.0.6.ebuild70
-rw-r--r--dev-python/moto/moto-2.0.7.ebuild70
-rw-r--r--dev-python/moto/moto-2.0.8.ebuild70
-rw-r--r--dev-python/moto/moto-2.0.9.ebuild70
-rw-r--r--dev-python/moto/moto-2.2.2.ebuild (renamed from dev-python/moto/moto-2.1.0.ebuild)4
15 files changed, 6 insertions, 882 deletions
diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest
index 198678465359..767c66af703c 100644
--- a/dev-python/moto/Manifest
+++ b/dev-python/moto/Manifest
@@ -1,30 +1,9 @@
-AUX moto-1.3.14-newer-botocore.patch 2398 BLAKE2B ea5ebf10d926cca1e9e5a804317bb9b9e82ddbe14d25668f7d375c782b9868e16c11566a4b5de83c855001c2ab059c25566d2ebc32f614875f2b10ce39c3a40f SHA512 35602f3403f2e6e6ff33ffa3054d88ad84eec47731c22211eeaa45d12a7b9181e3710c15a820db060b4f3ad49e4d18e4433066755c649d09a5e82702f08b0f83
-AUX moto-1.3.14-py39.patch 1372 BLAKE2B 620592a897b8f2ddf1973fa3f00a7c2c2512d3da02bf7f5a1474e6f8a934815cdaf00951898af292ebc5b38a0cc961d685c59fd8dd952d5fbe64dcff086d9d19 SHA512 336d9c1d399d2969cc603a3070285ebd4cc2f58bd8fa8d477fd6bde8cfc9a9a873c15b98fd2814f8c3b1cf591826101c024658f5b4468f40e6beaa229c8c8f50
-AUX moto-1.3.14-tests.patch 2306 BLAKE2B 83bf272204ba9128623ad13bfb4a468d6b2a4e5de89633b7915d2090be44b4a7823ca88ea6a706fd878e40434335a3d381e28b88806f7ed5f402fdb9977837a0 SHA512 549e1e6715f04b56729f5621f2806e8b9192ec9fd6e5bd4cacfdf4a1a5ee48ed8701f0a9acb5b1cc08e40efa4d3dc1ad5ff0821c794e97a9da6288dd3cd1be5a
-DIST moto-1.3.14.tar.gz 1829165 BLAKE2B 2ec30c4cc571492a9d2c08f66a39ad04cfc0baa7864db8a5be4ea9af24ecb59bad3e85c44fa8a7babc16bf66188cb6bef89484f1f302a11e6eec1f8dbf516492 SHA512 1fe7e9d49dadada82f24d6bef1c21419c414e027c21ed1099bd1eab7c269ac5638ed44a29d1557b37562a44b22a7c7251fc1ca8ba88cde6b82d39dbc620aa6a6
-DIST moto-1.3.16.tar.gz 1761006 BLAKE2B adb48ac770e0753403fd41309ebc2085e5d9cdfad5dc791d9cc1216af10e55038c37526a8549a034a3327d821c56b0f6cdd775a17336285bfc637c09191dd78d SHA512 80a1335fea8d6dd42b4062365da4719d26cd6c18e5c186c950bbb844dce44e91ffe5e5173742f3b60d6ba2cab93d45359b43c2cb0ccf74d16009986457c243a4
-DIST moto-2.0.0.tar.gz 5054551 BLAKE2B be9b18909f90b22fe57d47e2eea50144b4ac8046dde0123249079f53c8f3c2ea70513b29cde1030ad923be7d50c6021351c8aa9c65bc0b95510a4f4de9d4d111 SHA512 285eff39004b291d112c455f44e30fe441d74c08aff614f5c97e7c52a68edb200d7077722f1e7bca38a63694aabf2ff56994cd1229e449b2f1afdf3945735fc7
-DIST moto-2.0.1.tar.gz 1530088 BLAKE2B eb35bcbc8b22044ae86eaa6eb1f71eb24174a8686ef06d475c870ef629d0a525719c4f153cb0a55fa27f3c33568a5796a07ce903800468557dfe275de3da3623 SHA512 d650140c76a2090332fd9f4c8be84379d4e578a63125d473b821d59bff9f93ee8e696268e4784df13f2ee3b8b6967fd10cbd94750f37e63967ed679b4a301682
DIST moto-2.0.10.tar.gz 1629239 BLAKE2B 3b1e2272f0a78b90dcf4263fa9e1e7cee17621215d742387bddb518da973fb4d0bf383b78bccec2e312aaa65b41428a78731e458e4f6a04bedf31306430a76a4 SHA512 77db3ec43d9777f469cae18f891ad277b2ae89fe0e69474dd904876ebb275503bb3beefe130d1ede05c7f1370107fcc6db76ef5c8e446a2132ad5dd85fea9ac5
-DIST moto-2.0.2.tar.gz 1534459 BLAKE2B b4609f332e8f8eb8d61250919eca805f82a6dfc468cf0b9cfe81f462aae9f93373efec6165c818589abe60955abe061a273148a36e4b1f8534ce9fa7e59f5cd2 SHA512 b478f9938f8e7b92c3e718a1aea5907c2070bda42995050d39f8e62cbd7cfd30fe4c9cbd7e7475f5a50c71c3370a89f53480adcf83df1fe08968125f2a1427f6
DIST moto-2.0.5.tar.gz 1551415 BLAKE2B 452cb94443188e1715145bee574f04924d894a3d647673443a8a335bb907f8601098540b032d6c9a8ced3e1fc490c49ad70c877547d905cece05bbb742d05976 SHA512 70e64ab98873d480e776a2139a4d351665c6c2f98faf90e2871c6b9998571d1bd239757bc90bbc6ab6e1ed510598bfce77157ad522953efe40c884068885c57d
-DIST moto-2.0.6.tar.gz 1557871 BLAKE2B dd4c23758bc9c98fbd2b2a70af744daa245fc8b4b1154348486ae85d195e5e3fa2c513f61386504d05c0d646e81fbf8ec5bf41be317b9fd7581668cd23cc1db3 SHA512 9f287ff07f948dd3d2d6af1c6120d29e9625e420bb94f83c230d813e26689161f9a2e89e2b32947e82084cdcd865fef714ad14309ff41371bd37d251481f8dc9
-DIST moto-2.0.7.tar.gz 1565849 BLAKE2B 1c6491828a43156fd347bcce80f3440cd8d4964e28bab19593e29fd88aed558652b08c81c577312f9c612adc666ddd35fdd46b4d2d8fb82eef380210e9c62d8d SHA512 5df26f478909c57d4ba76bb7c6e002c37d7f604084c157744be32da93dbb705605a7a85eb0774cbf2c0083f7096f01075ddb1a119cb7ac2f3931cf58896f1629
-DIST moto-2.0.8.tar.gz 1569426 BLAKE2B 746313241d49558ab49d7e2116406f128a315a9fca40956808e7f901e91518551a1f75c95c9ce5c92534221d1db3e01a3baa2cef6cadab9a9d024cc30d8ce0e2 SHA512 5cf1a47c97100b76ad9b69787ce4df00f24f93ba1a36a242cea535ede649af457ff043b44f1cce4a4e44b6735844652f69271f18edac0748b636f4e519545018
-DIST moto-2.0.9.tar.gz 1614328 BLAKE2B 0bb9e3dcc0c25476b7fdabeecc31be6904a21d6a77f6ce3d9c9c176625873d30c55321c8939ecb8bbc91ee64faab9cd7231150dfdcbd4d5d7d3dc8eae614d9f2 SHA512 41b32aa192dd5c5052a90f345f29e696f9cc6abb3698ea0b738f8805fc920f4abf7d418a64aecf6efd66162aad631c88754d5e4e349ca2ba5b393771038219cb
-DIST moto-2.1.0.tar.gz 1638267 BLAKE2B ee778cab1a9a448408bbc495a148201bb016c2ba29076062360db23d86d725758303c32e1fb1a3f9e11112deb1cbca686fc956ddafd259fd942654510ba12147 SHA512 cae18324200d827a1750c5dbe2df2ea68dc66a5b8ff40b4c873f7511d576417c1a2b20203cc126d84b99b1aec5ef8700825271893933e6cc4bd61c0082b9e9be
DIST moto-2.2.0.tar.gz 1650655 BLAKE2B 9969de2fb323b2deb272eb47727884054a35827a5db382f83a4177cf6cac5339f89164d05c288a977bc1895a204d13d02069e8b37880ea3d04374f6ed4d6be47 SHA512 7eabb515f94920af9b8f028afaaa51e27983f7bfd73f66c29fc191e2f3dd3e8939ddac67de0127c67c35cbc17c3500a7390103b26c85056780c865aadeb5e1d9
-EBUILD moto-1.3.14-r3.ebuild 2875 BLAKE2B de0b07e01a296d89ae22fe0a91c91fc76634f054a148c0cf60101d85df67f0a17cfd9a80cd41e264a0641e79602b5e3cf23b90f2eda98a50af78794ccc9ef0b7 SHA512 c6bef4b6f0899fbc31d97cc101fd14894814edcbf66df837f776fbb51780f86a95bfd94dbf278e274897ba25e4465938eb9bd0410910a95ecddea56962a70f3a
-EBUILD moto-1.3.16-r1.ebuild 3189 BLAKE2B 6c4612eda3bb91d40b7e0ad451568d5c877ef4d3a6563fdf13513d11abbb477702d542109174e91b7c1e580c366d448248453170480b7a15a8b8e9918814624b SHA512 5df5495f98a4929a7e97e257a2bd7b8ee44c915fa008b6d45674d6172ea17fb103b2c579e76a7d14944995019a73217e510c60938b42ea5d2885f92f785d92ad
-EBUILD moto-2.0.0.ebuild 2359 BLAKE2B c9204998835e0f41bc23d820a9ce677f33d1f18f614905cf2d572ef194fc422a7be02f5d37ca6a25389feeebf4e1bd8f8439ba1e44466a45b12678d8e0cf69e7 SHA512 3689854904d3c9f5152dc2211d52e21dd475151c18fb9463b288634cd0754cffa744e4de129655277e5b1f4d5b1bb78f451a7282a31203483d75a7990aa3d693
-EBUILD moto-2.0.1.ebuild 2366 BLAKE2B 25b780427da33dbdae8cb9ea6bb0c834a02ec745f40e7ad94c27cf79c9fc13bc4a91d6a3ac0e4627ebd77a36ed0ba1daadfaca963cadf32a860d4ba62b34df99 SHA512 38596bc35536b0a1598cdf2425a164605b5b7614c776592b1f76279334dc1ccf91440e88e74511ebfea239095a1180d91c740d05596645c82982f45e39e0c8f6
+DIST moto-2.2.2.tar.gz 1684678 BLAKE2B ebe1eb08c67ccdb8c484fa8fc75d7ce58750d94620f46b53268d6b6b0732d90160bf7b6837efa492f621e1c001d933f5d59d39c266d65bbb1852f315b3bc03d0 SHA512 a8b192637b701eda0e4a7b11e84f5251386de98590f1d7c33732d8bf12642b39b61f1d360ad39c3e1b0a645268139d9e330d48fbe7029b943094ad317cb45ff6
EBUILD moto-2.0.10.ebuild 2251 BLAKE2B dfbd64deaf75259e39927cccaa72be0634304863cf413828e07c49e160a9c0c14a50b0d3e4b5d34232d0cb7c579cd1e49eee22c6ad4d31ee9b889a89fd7bf602 SHA512 f99521935ac7d9d64f9954166caf37a2df6b50e8ec862100e320470ccbe7372d3580eeb9c193b288d5ac28407b055f73f26b1ec895e446d20f341c3f49845c35
-EBUILD moto-2.0.2.ebuild 2286 BLAKE2B f370137ce59587c9725f64911408efb2e8faa31e63ef3f719c30da646e7b075b2051b8bf0ca429621a98b98b651c659c739593d5d1f3667fd971fc1a291f36cf SHA512 cde2248be2511cf28fed1334134c85acd393cce1b9fe28e05b7f1c51324e42ee6555beddca8b3a95c18a0d2a0a7ebce111a377955c674b9c813c9e11ae28f28e
-EBUILD moto-2.0.5.ebuild 2250 BLAKE2B 3f553b6d7b6369b3cdda5d7ab67071fadefc66a919ef74a1338a90d74c64b1bd76413a84599ac0cee355267002528bf1d46b44368a1c777c9933ce61c26136f2 SHA512 e0d941a86b75f2099e6cbb9ab0e511333094fad874d1ac9502f34a3a0e371b98060f7d4b94ba7d86328fe6328f5334a15dffabd1f2e0b197e286480709c826ee
-EBUILD moto-2.0.6.ebuild 2251 BLAKE2B ef7a7f4c0972f75284f23c438b1ec1e26690e0a668a0ff0a928f2663b54a1608637fcf7d753ae24ae790a1f774aaaddd53f849bb473eaea2e733ee64affc64ca SHA512 03a92b48dad8a2afe4afdc94bded9476dea8b72f2eee8bc7519e4b0a10cc0bf30b4e6951153e9cf9cf08502c3d141ac0f8756d8d3f59dcab0b88dc84440b4dbe
-EBUILD moto-2.0.7.ebuild 2251 BLAKE2B ef7a7f4c0972f75284f23c438b1ec1e26690e0a668a0ff0a928f2663b54a1608637fcf7d753ae24ae790a1f774aaaddd53f849bb473eaea2e733ee64affc64ca SHA512 03a92b48dad8a2afe4afdc94bded9476dea8b72f2eee8bc7519e4b0a10cc0bf30b4e6951153e9cf9cf08502c3d141ac0f8756d8d3f59dcab0b88dc84440b4dbe
-EBUILD moto-2.0.8.ebuild 2251 BLAKE2B ef7a7f4c0972f75284f23c438b1ec1e26690e0a668a0ff0a928f2663b54a1608637fcf7d753ae24ae790a1f774aaaddd53f849bb473eaea2e733ee64affc64ca SHA512 03a92b48dad8a2afe4afdc94bded9476dea8b72f2eee8bc7519e4b0a10cc0bf30b4e6951153e9cf9cf08502c3d141ac0f8756d8d3f59dcab0b88dc84440b4dbe
-EBUILD moto-2.0.9.ebuild 2251 BLAKE2B dfbd64deaf75259e39927cccaa72be0634304863cf413828e07c49e160a9c0c14a50b0d3e4b5d34232d0cb7c579cd1e49eee22c6ad4d31ee9b889a89fd7bf602 SHA512 f99521935ac7d9d64f9954166caf37a2df6b50e8ec862100e320470ccbe7372d3580eeb9c193b288d5ac28407b055f73f26b1ec895e446d20f341c3f49845c35
-EBUILD moto-2.1.0.ebuild 2403 BLAKE2B f61936ee276141c887613a85ae20234e8cf6358005af3e48d2a441cb3dc74e0c8f82a6fbae511cd8ac21c00ed8decc4e88aa96f9586bb1c4bb8fe752c61d07eb SHA512 3209e5a97ebad0b689465bbbe48d0f1d5f2c34230f9b917f4bb4d8d6453dbefec90da1b844a01046aabee531e2dbd99933f4b01f74d47271f2ca32bdb877cbd7
+EBUILD moto-2.0.5.ebuild 2249 BLAKE2B f7811cbb8e27a4b11139ee0246419f0cfebb1452f2de72af0955fb3e209e6572ea6ba63be629f430e132a9f1e889d0a91e910208e8e0e49469359e12daab4ef2 SHA512 7f8f457e9c145ceb1bab120c418182399e8231921805fa26c719eee9c9c1b3ba68df193845b5190e7d67e54fa12425444e5bfef76d968f7386e9e91390b43ec6
EBUILD moto-2.2.0.ebuild 2363 BLAKE2B 08cca417a13eb2e92f2f94ab322705a8a35ecfaa71a2307df904527fc6ada9da21a73fd6d36c0f3724d5a9d9699affa647056265a6f1549eaf0cb9b325a57081 SHA512 588d0e2248b0c33995a5197c70d9d009c5720a606a7a1a08d1ce71127a8969771b6d5d0405f744ab164bcc8aebba544fd8c3f8facb5d6a547503f0488d7d971f
+EBUILD moto-2.2.2.ebuild 2380 BLAKE2B 595b5ce4ada25baffc719b275ae5d1e5e73d8ac99ca8543448bcfde105869d477c39347079716c5b81342fc060ca95544636d4c1a9972c3350ba8fc903e7f89f SHA512 c1fa0db3855ec821ecb723fd8efd126d5900376c256a0964e830ca471215e153efc4709a193c03430e87a9c237719adbb43ec1efa580cbd3d16b023d136c1ba9
MISC metadata.xml 551 BLAKE2B 5473a586a27737f95b3795ff19bd08359fa5135aa60858c52b633d1ed53412fc1cbac3952f937ed497de18e90b00bd45725b920ad6fc75c8928181ca48ac5c45 SHA512 5b68da384123be90f74ea6cdd216f59ee004c4383b13da95fa17864c998ecb821fd0f16bf65abdc9b29f081a1e06be482518ede38139e29e32e46c962b3d4805
diff --git a/dev-python/moto/files/moto-1.3.14-newer-botocore.patch b/dev-python/moto/files/moto-1.3.14-newer-botocore.patch
deleted file mode 100644
index a12e38483362..000000000000
--- a/dev-python/moto/files/moto-1.3.14-newer-botocore.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-commit ef7fce5a4fcd951a6c2bd1b9c6d21e6cf6a711e2
-Author: gruebel <anton.gruebel@gmail.com>
-Date: Thu Nov 21 22:35:20 2019 +0100
-
- Fixed failing tests, due to a new required parameter StreamEnabled
-
-diff --git a/tests/test_dynamodbstreams/test_dynamodbstreams.py b/tests/test_dynamodbstreams/test_dynamodbstreams.py
-index 01cf915a..a98f97bf 100644
---- a/tests/test_dynamodbstreams/test_dynamodbstreams.py
-+++ b/tests/test_dynamodbstreams/test_dynamodbstreams.py
-@@ -213,7 +213,7 @@ class TestEdges:
-
- resp = conn.update_table(
- TableName="test-streams",
-- StreamSpecification={"StreamViewType": "KEYS_ONLY"},
-+ StreamSpecification={"StreamEnabled": True, "StreamViewType": "KEYS_ONLY"},
- )
- assert "StreamSpecification" in resp["TableDescription"]
- assert resp["TableDescription"]["StreamSpecification"] == {
-@@ -226,7 +226,10 @@ class TestEdges:
- with assert_raises(conn.exceptions.ResourceInUseException):
- resp = conn.update_table(
- TableName="test-streams",
-- StreamSpecification={"StreamViewType": "OLD_IMAGES"},
-+ StreamSpecification={
-+ "StreamEnabled": True,
-+ "StreamViewType": "OLD_IMAGES",
-+ },
- )
-
- def test_stream_with_range_key(self):
-@@ -243,7 +246,7 @@ class TestEdges:
- {"AttributeName": "color", "AttributeType": "S"},
- ],
- ProvisionedThroughput={"ReadCapacityUnits": 1, "WriteCapacityUnits": 1},
-- StreamSpecification={"StreamViewType": "NEW_IMAGES"},
-+ StreamSpecification={"StreamEnabled": True, "StreamViewType": "NEW_IMAGES"},
- )
- stream_arn = resp["TableDescription"]["LatestStreamArn"]
-
-diff --git a/moto/core/responses.py b/moto/core/responses.py
-index bf4af902..c708edb8 100644
---- a/moto/core/responses.py
-+++ b/moto/core/responses.py
-@@ -307,7 +307,7 @@ class BaseResponse(_TemplateEnvironmentMixin, ActionAuthenticatorMixin):
- def _convert(elem, is_last):
- if not re.match("^{.*}$", elem):
- return elem
-- name = elem.replace("{", "").replace("}", "")
-+ name = elem.replace("{", "").replace("}", "").replace("+", "")
- if is_last:
- return "(?P<%s>[^/]*)" % name
- return "(?P<%s>.*)" % name
diff --git a/dev-python/moto/files/moto-1.3.14-py39.patch b/dev-python/moto/files/moto-1.3.14-py39.patch
deleted file mode 100644
index de00028179fa..000000000000
--- a/dev-python/moto/files/moto-1.3.14-py39.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From af66a281ee2bcc7cc6c48bb3c8d033d385c12875 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Sun, 14 Jun 2020 12:31:00 +0200
-Subject: [PATCH] Fix use of base64.decodestring() in tests
-
-Use base64.decodebytes() instead of deprecated/removed .decodestring()
-in test_user_data_with_run_instance(). Fixes tests on py3.9.
----
- tests/test_ec2/test_instances.py | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/tests/test_ec2/test_instances.py b/tests/test_ec2/test_instances.py
-index 041bc8c8..1def1734 100644
---- a/tests/test_ec2/test_instances.py
-+++ b/tests/test_ec2/test_instances.py
-@@ -9,6 +9,7 @@ from nose.tools import assert_raises
- import base64
- import datetime
- import ipaddress
-+import sys
-
- import six
- import boto
-@@ -765,7 +766,10 @@ def test_user_data_with_run_instance():
- instance_attribute = instance.get_attribute("userData")
- instance_attribute.should.be.a(InstanceAttribute)
- retrieved_user_data = instance_attribute.get("userData").encode("utf-8")
-- decoded_user_data = base64.decodestring(retrieved_user_data)
-+ if sys.version_info[0] == 2:
-+ decoded_user_data = base64.decodestring(retrieved_user_data)
-+ else:
-+ decoded_user_data = base64.decodebytes(retrieved_user_data)
- decoded_user_data.should.equal(b"some user data")
-
-
---
-2.27.0
-
diff --git a/dev-python/moto/files/moto-1.3.14-tests.patch b/dev-python/moto/files/moto-1.3.14-tests.patch
deleted file mode 100644
index 4fdbf801eec3..000000000000
--- a/dev-python/moto/files/moto-1.3.14-tests.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-diff --git a/tests/test_awslambda/test_lambda.py b/tests/test_awslambda/test_lambda.py
-index 306deeea..7b8937ab 100644
---- a/tests/test_awslambda/test_lambda.py
-+++ b/tests/test_awslambda/test_lambda.py
-@@ -22,6 +22,7 @@ from moto import (
- settings,
- mock_sqs,
- )
-+from unittest import skip
- from nose.tools import assert_raises
- from botocore.exceptions import ClientError
-
-@@ -1024,6 +1025,7 @@ def test_create_event_source_mapping():
- assert response["State"] == "Enabled"
-
-
-+@skip("fails in sandbox")
- @mock_logs
- @mock_lambda
- @mock_sqs
-@@ -1075,6 +1077,7 @@ def test_invoke_function_from_sqs():
- assert False, "Test Failed"
-
-
-+@skip("fails in sandbox")
- @mock_logs
- @mock_lambda
- @mock_dynamodb2
-@@ -1135,6 +1138,7 @@ def test_invoke_function_from_dynamodb():
- assert False, "Test Failed"
-
-
-+@skip("fails in sandbox")
- @mock_logs
- @mock_lambda
- @mock_sqs
-diff --git a/tests/test_cloudformation/test_validate.py b/tests/test_cloudformation/test_validate.py
-index 4dd4d7e0..3d1608e7 100644
---- a/tests/test_cloudformation/test_validate.py
-+++ b/tests/test_cloudformation/test_validate.py
-@@ -2,6 +2,7 @@ from collections import OrderedDict
- import json
- import yaml
- import os
-+from unittest import skip
- import boto3
- from nose.tools import raises
- import botocore
-@@ -46,6 +47,7 @@ dummy_template_json = json.dumps(json_template)
- dummy_bad_template_json = json.dumps(json_bad_template)
-
-
-+@skip("needs network access")
- @mock_cloudformation
- def test_boto3_json_validate_successful():
- cf_conn = boto3.client("cloudformation", region_name="us-east-1")
-@@ -87,6 +89,7 @@ yaml_bad_template = """
- """
-
-
-+@skip("needs network access")
- @mock_cloudformation
- def test_boto3_yaml_validate_successful():
- cf_conn = boto3.client("cloudformation", region_name="us-east-1")
-diff --git a/tests/test_core/test_request_mocking.py b/tests/test_core/test_request_mocking.py
-index 2c44d52c..38c3a08d 100644
---- a/tests/test_core/test_request_mocking.py
-+++ b/tests/test_core/test_request_mocking.py
-@@ -1,10 +1,13 @@
- import requests
- import sure # noqa
-
-+from unittest import skip
-+
- import boto3
- from moto import mock_sqs, settings
-
-
-+@skip("Needs network access")
- @mock_sqs
- def test_passthrough_requests():
- conn = boto3.client("sqs", region_name="us-west-1")
diff --git a/dev-python/moto/moto-1.3.14-r3.ebuild b/dev-python/moto/moto-1.3.14-r3.ebuild
deleted file mode 100644
index ce08c6782fee..000000000000
--- a/dev-python/moto/moto-1.3.14-r3.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-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 x86 ~amd64-linux ~x86-linux"
-
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-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/cfn-python-lint[${PYTHON_USEDEP}]
- >=dev-python/cryptography-2.3.0[${PYTHON_USEDEP}]
- dev-python/cookies[${PYTHON_USEDEP}]
- dev-python/dicttoxml[${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/boto-2.36.0[${PYTHON_USEDEP}]
- >=dev-python/boto3-1.9.201[${PYTHON_USEDEP}]
- >=dev-python/botocore-1.12.201[${PYTHON_USEDEP}]
- dev-python/flask[${PYTHON_USEDEP}]
- dev-python/mock[${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/six-1.9[${PYTHON_USEDEP}]
- dev-python/werkzeug[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? ( ${RDEPEND}
- dev-python/freezegun[${PYTHON_USEDEP}]
- dev-python/nose[${PYTHON_USEDEP}]
- dev-python/parameterized[${PYTHON_USEDEP}]
- dev-python/responses[${PYTHON_USEDEP}]
- >=dev-python/sure-1.4.11[${PYTHON_USEDEP}]
- )
-"
-
-PATCHES=(
- "${FILESDIR}/moto-1.3.14-newer-botocore.patch"
- "${FILESDIR}/moto-1.3.14-tests.patch"
- "${FILESDIR}/moto-1.3.14-py39.patch"
-)
-
-distutils_enable_tests nose
-
-python_prepare_all() {
- sed -e 's|==|>=|' \
- -e '/cfn-lint/ d' \
- -i setup.py moto.egg-info/requires.txt || die
-
- sed -e 's|idna<2.9,>=2.5|idna>=2.5|' \
- -i setup.py moto.egg-info/requires.txt || die
-
- # Disable tests that fail with network-sandbox.
- sed -e 's|^\(def \)\(test_context_manager()\)|\1_\2|' \
- -e 's|^\(def \)\(test_decorator_start_and_stop()\)|\1_\2|' \
- -i tests/test_core/test_decorator_calls.py || die
-
- # Disable tests that fail with userpriv.
- sed -e 's|^\(def \)\(test_invoke_function_from_sns()\)|\1_\2|' \
- -e 's|^\(def \)\(test_invoke_requestresponse_function()\)|\1_\2|' \
- -i tests/test_awslambda/test_lambda.py || die
-
- # these tests crash nose
- rm tests/test_xray/test_xray_client.py || die
-
- distutils-r1_python_prepare_all
-}
diff --git a/dev-python/moto/moto-1.3.16-r1.ebuild b/dev-python/moto/moto-1.3.16-r1.ebuild
deleted file mode 100644
index ee1845226c84..000000000000
--- a/dev-python/moto/moto-1.3.16-r1.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-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 ~x86 ~amd64-linux ~x86-linux"
-
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-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/cfn-python-lint[${PYTHON_USEDEP}]
- >=dev-python/cryptography-2.3.0[${PYTHON_USEDEP}]
- dev-python/cookies[${PYTHON_USEDEP}]
- dev-python/dicttoxml[${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/boto-2.36.0[${PYTHON_USEDEP}]
- >=dev-python/boto3-1.9.201[${PYTHON_USEDEP}]
- >=dev-python/botocore-1.12.201[${PYTHON_USEDEP}]
- dev-python/flask[${PYTHON_USEDEP}]
- dev-python/mock[${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/six-1.9[${PYTHON_USEDEP}]
- dev-python/werkzeug[${PYTHON_USEDEP}]
- dev-python/zipp[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? ( ${RDEPEND}
- dev-python/freezegun[${PYTHON_USEDEP}]
- dev-python/nose[${PYTHON_USEDEP}]
- dev-python/parameterized[${PYTHON_USEDEP}]
- dev-python/responses[${PYTHON_USEDEP}]
- >=dev-python/sure-1.4.11[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests nose
-
-python_prepare_all() {
- # unping indirect dep on ecdsa that's supposed to workaround pip
- # bugs
- sed -i -e '/ecdsa/s:<0.15::' setup.py || die
-
- # Disable tests that fail with network-sandbox.
- sed -e 's|^\(def \)\(test_context_manager()\)|\1_\2|' \
- -e 's|^\(def \)\(test_decorator_start_and_stop()\)|\1_\2|' \
- -i tests/test_core/test_decorator_calls.py || die
-
- # require docker
- rm tests/test_awslambda/test_lambda*.py || die
- rm tests/test_batch/test_batch.py || die
-
- sed -e 's:test_create_stack_lambda_and_dynamodb:_&:' \
- -i tests/test_cloudformation/test_cloudformation_stack_crud.py || die
- sed -e 's:test_lambda_function:_&:' \
- -i tests/test_cloudformation/test_cloudformation_stack_integration.py || die
- sed -e 's:test_passthrough_requests:_&:' \
- -i tests/test_core/test_request_mocking.py || die
- sed -e 's:test_delete_subscription_filter_errors:_&:' \
- -e 's:test_put_subscription_filter_update:_&:' \
- -e 's:test_put_subscription_filter_with_lambda:_&:' \
- -i tests/test_logs/test_logs.py || die
-
- # these tests crash nose
- rm tests/test_xray/test_xray_client.py || die
-
- distutils-r1_python_prepare_all
-}
diff --git a/dev-python/moto/moto-2.0.0.ebuild b/dev-python/moto/moto-2.0.0.ebuild
deleted file mode 100644
index 8984175648d9..000000000000
--- a/dev-python/moto/moto-2.0.0.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-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 ~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-python-lint[${PYTHON_USEDEP}]
- >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}]
- dev-python/cookies[${PYTHON_USEDEP}]
- dev-python/dicttoxml[${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-1.9.201[${PYTHON_USEDEP}]
- >=dev-python/botocore-1.12.201[${PYTHON_USEDEP}]
- dev-python/flask[${PYTHON_USEDEP}]
- dev-python/flask-cors[${PYTHON_USEDEP}]
- dev-python/mock[${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/six-1.9[${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() {
- # unping 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 deselect=(
- # network
- tests/test_stepfunctions/test_stepfunctions.py::test_state_machine_creation_fails_with_invalid_names
- )
-
- pytest -vv -m 'not network' ${deselect[@]/#/--deselect } ||
- die "Tests fail with ${EPYTHON}"
-}
diff --git a/dev-python/moto/moto-2.0.1.ebuild b/dev-python/moto/moto-2.0.1.ebuild
deleted file mode 100644
index 115b2bdf55aa..000000000000
--- a/dev-python/moto/moto-2.0.1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-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 ~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-python-lint[${PYTHON_USEDEP}]
- >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}]
- dev-python/cookies[${PYTHON_USEDEP}]
- dev-python/dicttoxml[${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-1.9.201[${PYTHON_USEDEP}]
- >=dev-python/botocore-1.12.201[${PYTHON_USEDEP}]
- dev-python/flask[${PYTHON_USEDEP}]
- dev-python/flask-cors[${PYTHON_USEDEP}]
- dev-python/mock[${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/six-1.9[${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() {
- # unping 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 deselect=(
- # network
- tests/test_stepfunctions/test_stepfunctions.py::test_state_machine_creation_fails_with_invalid_names
- )
-
- pytest -vv -m 'not network' ${deselect[@]/#/--deselect } ||
- die "Tests fail with ${EPYTHON}"
-}
diff --git a/dev-python/moto/moto-2.0.2.ebuild b/dev-python/moto/moto-2.0.2.ebuild
deleted file mode 100644
index 3fd5af1d7a64..000000000000
--- a/dev-python/moto/moto-2.0.2.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-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 ~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-python-lint[${PYTHON_USEDEP}]
- >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}]
- dev-python/cookies[${PYTHON_USEDEP}]
- dev-python/dicttoxml[${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-1.9.201[${PYTHON_USEDEP}]
- >=dev-python/botocore-1.12.201[${PYTHON_USEDEP}]
- dev-python/flask[${PYTHON_USEDEP}]
- dev-python/flask-cors[${PYTHON_USEDEP}]
- dev-python/mock[${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/six-1.9[${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() {
- # unping 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() {
- # 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.0.5.ebuild b/dev-python/moto/moto-2.0.5.ebuild
index 265120c536b4..99d32309019c 100644
--- a/dev-python/moto/moto-2.0.5.ebuild
+++ b/dev-python/moto/moto-2.0.5.ebuild
@@ -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 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 x86"
RDEPEND="
>=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}]
diff --git a/dev-python/moto/moto-2.0.6.ebuild b/dev-python/moto/moto-2.0.6.ebuild
deleted file mode 100644
index 7c3740bdf84d..000000000000
--- a/dev-python/moto/moto-2.0.6.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-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 ~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-python-lint[${PYTHON_USEDEP}]
- >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}]
- dev-python/cookies[${PYTHON_USEDEP}]
- dev-python/dicttoxml[${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-1.9.201[${PYTHON_USEDEP}]
- >=dev-python/botocore-1.12.201[${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/six-1.9[${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() {
- # unping 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() {
- # 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.0.7.ebuild b/dev-python/moto/moto-2.0.7.ebuild
deleted file mode 100644
index 7c3740bdf84d..000000000000
--- a/dev-python/moto/moto-2.0.7.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-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 ~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-python-lint[${PYTHON_USEDEP}]
- >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}]
- dev-python/cookies[${PYTHON_USEDEP}]
- dev-python/dicttoxml[${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-1.9.201[${PYTHON_USEDEP}]
- >=dev-python/botocore-1.12.201[${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/six-1.9[${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() {
- # unping 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() {
- # 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.0.8.ebuild b/dev-python/moto/moto-2.0.8.ebuild
deleted file mode 100644
index 7c3740bdf84d..000000000000
--- a/dev-python/moto/moto-2.0.8.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-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 ~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-python-lint[${PYTHON_USEDEP}]
- >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}]
- dev-python/cookies[${PYTHON_USEDEP}]
- dev-python/dicttoxml[${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-1.9.201[${PYTHON_USEDEP}]
- >=dev-python/botocore-1.12.201[${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/six-1.9[${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() {
- # unping 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() {
- # 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.0.9.ebuild b/dev-python/moto/moto-2.0.9.ebuild
deleted file mode 100644
index eb634172a25a..000000000000
--- a/dev-python/moto/moto-2.0.9.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{8..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-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 ~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-python-lint[${PYTHON_USEDEP}]
- >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}]
- dev-python/cookies[${PYTHON_USEDEP}]
- dev-python/dicttoxml[${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-1.9.201[${PYTHON_USEDEP}]
- >=dev-python/botocore-1.12.201[${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/six-1.9[${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() {
- # unping 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() {
- # 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.1.0.ebuild b/dev-python/moto/moto-2.2.2.ebuild
index 97c46227e99e..e01d705cfed1 100644
--- a/dev-python/moto/moto-2.1.0.ebuild
+++ b/dev-python/moto/moto-2.2.2.ebuild
@@ -2,8 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
+
PYTHON_COMPAT=( python3_{8..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
DESCRIPTION="Mock library for boto"
@@ -30,6 +30,7 @@ RDEPEND="
>=dev-python/botocore-1.12.201[${PYTHON_USEDEP}]
dev-python/flask[${PYTHON_USEDEP}]
dev-python/flask-cors[${PYTHON_USEDEP}]
+ dev-python/importlib_metadata[${PYTHON_USEDEP}]
dev-python/more-itertools[${PYTHON_USEDEP}]
dev-python/pretty-yaml[${PYTHON_USEDEP}]
>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
@@ -41,7 +42,6 @@ RDEPEND="
>=dev-python/responses-0.9.0[${PYTHON_USEDEP}]
>=dev-python/requests-2.5[${PYTHON_USEDEP}]
dev-python/xmltodict[${PYTHON_USEDEP}]
- >=dev-python/six-1.9[${PYTHON_USEDEP}]
dev-python/werkzeug[${PYTHON_USEDEP}]
dev-python/zipp[${PYTHON_USEDEP}]
"