Date: Sunday, November 29, 2020 @ 04:37:31 Author: yan12125 Revision: 766149
upgpkg: python-moto 1.3.16-4; fix compatibility with python-responses 0.12.1 The latter is in [community-testing] only, so I also push this to [community-testing]. Also makes tests less verbose. Modified: python-moto/trunk/PKGBUILD ----------+ PKGBUILD | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-11-29 04:28:55 UTC (rev 766148) +++ PKGBUILD 2020-11-29 04:37:31 UTC (rev 766149) @@ -4,7 +4,7 @@ pkgname=python-moto _pkgname=moto pkgver=1.3.16 -pkgrel=3 +pkgrel=4 pkgdesc='Moto is a library to mock out the boto library.' arch=(any) url='https://github.com/spulec/moto' @@ -22,10 +22,12 @@ source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz" "$pkgname-cfn-lint-0.39.patch::https://github.com/spulec/moto/commit/403b06d9c5d9fda4d9c51f44d5213cf584d7dc11.patch" "$pkgname-boto3-1.14.59.patch::https://github.com/spulec/moto/commit/9f0f230d130a839fb2de6bfc97af4182360fbcdb.patch" + "$pkgname-responses-0.12.1.patch::https://github.com/spulec/moto/commit/7749c1f75781cd5fb2367b089c31a92e127b07b1.patch" sdist-no-pyc.diff) sha256sums=('6c686b1f117563391957ce47c2106bc3868783d59d0e004d2446dce875bec07f' 'afb3a13ccfe1646403e5727c812e26ab88106c212b735d5ab9a55879fcb34e43' 'f902d1b01c12e8a1b8e87109a984ab1463b60b04e1dbdeaa94550276d2580a11' + 'cca3d8749c07eac50a17cff7b6dffdb9aa8d5ce9ca974453a63516d35cb2025a' '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208') prepare() { @@ -37,6 +39,8 @@ patch -Np1 -i ../$pkgname-cfn-lint-0.39.patch # https://github.com/spulec/moto/pull/3308 patch -Np1 -i ../$pkgname-boto3-1.14.59.patch + # https://github.com/spulec/moto/pull/3466 + patch -Np1 -i ../$pkgname-responses-0.12.1.patch # Remove upper bounds of dependencies sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py @@ -57,7 +61,7 @@ # creates a Job object, which requires docker # * In test_create_stack_lambda_and_dynamodb, the CloudFormation template # contain AWS::Lambda resources and thus uses moto.awslambda - TZ=UTC nosetests -sv ./tests/ \ + TZ=UTC nosetests -s ./tests/ \ --exclude='test_lambda' \ --exclude='test_list_jobs' \ --exclude='test_submit_job' \
