summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-08-07 09:12:36 +0200
committerMichał Górny <mgorny@gentoo.org>2021-08-07 10:50:54 +0200
commit0235caaf97f9a8de52f0e2324ff321ce617998d1 (patch)
tree33c8eb3d2c2a1fee60e778e1d7abf82b4448ae59 /dev-python/moto
parentdev-python/moto: Mark 2.0.5 x86 stable due to timeout (diff)
downloadgentoo-0235caaf97f9a8de52f0e2324ff321ce617998d1.tar.gz
gentoo-0235caaf97f9a8de52f0e2324ff321ce617998d1.tar.bz2
gentoo-0235caaf97f9a8de52f0e2324ff321ce617998d1.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/Manifest10
-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.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.1.0.ebuild75
14 files changed, 0 insertions, 940 deletions
diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest
index 075dc8a2d92a..58a12b16e5e0 100644
--- a/dev-python/moto/Manifest
+++ b/dev-python/moto/Manifest
@@ -1,13 +1,3 @@
-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
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.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.1.0.ebuild
deleted file mode 100644
index 97c46227e99e..000000000000
--- a/dev-python/moto/moto-2.1.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=8
-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() {
- # 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 ignore=(
- # incompatible versions?
- tests/test_core/test_decorator_calls.py
- tests/test_s3/test_s3_classdecorator.py
- )
-
- # 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' ${ignore[@]/#/--ignore }
-}