Date: Friday, September 11, 2020 @ 16:47:34 Author: yan12125 Revision: 702814
upgpkg: python-moto 1.3.16-1; skip more tests that require Docker Modified: python-moto/trunk/PKGBUILD Deleted: python-moto/trunk/cfnlint-0.32.1.diff ---------------------+ PKGBUILD | 31 +++++++++++-------------------- cfnlint-0.32.1.diff | 21 --------------------- 2 files changed, 11 insertions(+), 41 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-09-11 16:42:04 UTC (rev 702813) +++ PKGBUILD 2020-09-11 16:47:34 UTC (rev 702814) @@ -3,8 +3,8 @@ pkgname=python-moto _pkgname=moto -pkgver=1.3.14 -pkgrel=3 +pkgver=1.3.16 +pkgrel=1 pkgdesc='Moto is a library to mock out the boto library.' arch=(any) url='https://github.com/spulec/moto' @@ -19,29 +19,14 @@ optdepends=( 'python-flask: for moto_server' ) -source=("https://github.com/spulec/moto/archive/$pkgver/moto-$pkgver.tar.gz" - $pkgname-regions.patch::https://github.com/spulec/moto/commit/bd777cad44dc0c0ec979c366fce228429d182e2f.patch - $pkgname-botocore-1.3.21.patch::https://github.com/spulec/moto/commit/4983f6af91c0ef20c997772168f27f988a7ce0e1.patch - $pkgname-botocore-1.3.24.patch::https://github.com/spulec/moto/commit/40f241adc212c1c113399534616427d3e2c1d47a.patch - $pkgname-botocore-1.17.31.patch::https://github.com/spulec/moto/commit/a9ac09952b31ddd9fb2ab5bf92bf603ca72e10d3.patch - cfnlint-0.32.1.diff +source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz" sdist-no-pyc.diff) -sha256sums=('e10412aa495af0f254d3944fd369e75a7c1bcc2f6940a7ea0a0cea34b2f8bf27' - 'a6020fed84da5c8e7298d3c2750ed33c2b60befe3b9d451432b68d2f030bab93' - '74fe4c7610ad805e0fde46fb65bba7c5bbdcc52718e592bd04dd0a834734b64e' - 'cf4ab97f705bfba537e5e5ac33c820c23c42ba0415ed7e2be670ddb42e6683ff' - '47d3c1eb97d2bbf2f0825463cc22a6b8d18598ef1829d0f89d61f9e76152925c' - 'fcee0eb5c76619ac59382e15d8487c859bda63a8091cbc15cf31acb576752444' +sha256sums=('6c686b1f117563391957ce47c2106bc3868783d59d0e004d2446dce875bec07f' '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208') prepare() { cd $_pkgname-$pkgver - patch -Np1 -i ../$pkgname-regions.patch - patch -Np1 -i ../$pkgname-botocore-1.3.21.patch - patch -Np1 -i ../$pkgname-botocore-1.3.24.patch - patch -Np1 -i ../$pkgname-botocore-1.17.31.patch - patch -Np1 -i ../cfnlint-0.32.1.diff patch -Np1 -i ../sdist-no-pyc.diff # Remove upper bounds of dependencies @@ -65,8 +50,14 @@ # contain AWS::Lambda resources and thus uses moto.awslambda TZ=UTC nosetests -sv ./tests/ \ --exclude='test_lambda' \ + --exclude='test_list_jobs' \ + --exclude='test_submit_job' \ --exclude='test_submit_job_by_name' \ - --exclude='test_create_stack_lambda_and_dynamodb' + --exclude='test_terminate_job' \ + --exclude='test_create_stack_lambda_and_dynamodb' \ + --exclude='test_delete_subscription_filter_errors' \ + --exclude='test_put_subscription_filter_update' \ + --exclude='test_put_subscription_filter_with_lambda' } package() { Deleted: cfnlint-0.32.1.diff =================================================================== --- cfnlint-0.32.1.diff 2020-09-11 16:42:04 UTC (rev 702813) +++ cfnlint-0.32.1.diff 2020-09-11 16:47:34 UTC (rev 702814) @@ -1,21 +0,0 @@ -diff --git a/tests/test_cloudformation/test_validate.py b/tests/test_cloudformation/test_validate.py -index 4dd4d7e0..588b3806 100644 ---- a/tests/test_cloudformation/test_validate.py -+++ b/tests/test_cloudformation/test_validate.py -@@ -65,7 +65,7 @@ def test_boto3_json_invalid_missing_resource(): - assert ( - str(e) - == "An error occurred (ValidationError) when calling the ValidateTemplate operation: Stack" -- " with id Missing top level item Resources to file module does not exist" -+ " with id Missing top level template section Resources does not exist" - ) - assert True - -@@ -106,6 +106,6 @@ def test_boto3_yaml_invalid_missing_resource(): - assert ( - str(e) - == "An error occurred (ValidationError) when calling the ValidateTemplate operation: Stack" -- " with id Missing top level item Resources to file module does not exist" -+ " with id Missing top level template section Resources does not exist" - ) - assert True
