[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2022-08-25 Thread Chih-Hsuan Yen via arch-commits
Date: Thursday, August 25, 2022 @ 15:04:43
  Author: yan12125
Revision: 1278649

upgpkg: python-moto 4.0.1-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-25 14:54:50 UTC (rev 1278648)
+++ PKGBUILD2022-08-25 15:04:43 UTC (rev 1278649)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=4.0.0
+pkgver=4.0.1
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -43,7 +43,7 @@
python-graphql-core python-jsondiff python-aws-xray-sdk
python-cfn-lint python-sshpubkeys python-pyparsing python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;)
-sha256sums=('742567fa300b9d51cf63f7b1d0524c70b975e85c6a50e3d94346a6984c19d6e0')
+sha256sums=('a9529f295ac786ea80cdce682d57170f801c3618c3b540ced29d0473518f534d')
 
 prepare() {
   cd $_pkgname-$pkgver



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2022-08-21 Thread Chih-Hsuan Yen via arch-commits
Date: Sunday, August 21, 2022 @ 14:36:56
  Author: yan12125
Revision: 1272562

upgpkg: python-moto 4.0.0-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-21 14:03:09 UTC (rev 1272561)
+++ PKGBUILD2022-08-21 14:36:56 UTC (rev 1272562)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=3.1.18
+pkgver=4.0.0
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -43,7 +43,7 @@
python-graphql-core python-jsondiff python-aws-xray-sdk
python-cfn-lint python-sshpubkeys python-pyparsing python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;)
-sha256sums=('1e05276a62aa5a4aa821b441647c2cbaa2ea175388980b10d5de88d41b327cf7')
+sha256sums=('742567fa300b9d51cf63f7b1d0524c70b975e85c6a50e3d94346a6984c19d6e0')
 
 prepare() {
   cd $_pkgname-$pkgver



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2022-08-14 Thread Chih-Hsuan Yen via arch-commits
Date: Sunday, August 14, 2022 @ 07:19:17
  Author: yan12125
Revision: 1266023

upgpkg: python-moto 3.1.18-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-14 06:48:50 UTC (rev 1266022)
+++ PKGBUILD2022-08-14 07:19:17 UTC (rev 1266023)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=3.1.17
+pkgver=3.1.18
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -43,7 +43,7 @@
python-graphql-core python-jsondiff python-aws-xray-sdk
python-cfn-lint python-sshpubkeys python-pyparsing python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;)
-sha256sums=('f2e5b32e8910c51c0b0de5b73f902bc53e06fb1c1d077d2b848d27e0b0cbe65e')
+sha256sums=('1e05276a62aa5a4aa821b441647c2cbaa2ea175388980b10d5de88d41b327cf7')
 
 prepare() {
   cd $_pkgname-$pkgver



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2022-08-08 Thread Chih-Hsuan Yen via arch-commits
Date: Monday, August 8, 2022 @ 06:28:12
  Author: yan12125
Revision: 1260600

upgpkg: python-moto 3.1.17-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-08 05:56:04 UTC (rev 1260599)
+++ PKGBUILD2022-08-08 06:28:12 UTC (rev 1260600)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=3.1.16
+pkgver=3.1.17
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -43,7 +43,7 @@
python-graphql-core python-jsondiff python-aws-xray-sdk
python-cfn-lint python-sshpubkeys python-pyparsing python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;)
-sha256sums=('cbe8ad8a949f519771e5d25b670738604757fb67cd474d75d14c20677582e81f')
+sha256sums=('f2e5b32e8910c51c0b0de5b73f902bc53e06fb1c1d077d2b848d27e0b0cbe65e')
 
 prepare() {
   cd $_pkgname-$pkgver



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2022-07-02 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, July 2, 2022 @ 09:56:01
  Author: yan12125
Revision: 1243614

upgpkg: python-moto 3.1.16-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-07-02 09:30:33 UTC (rev 1243613)
+++ PKGBUILD2022-07-02 09:56:01 UTC (rev 1243614)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=3.1.15
+pkgver=3.1.16
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -43,7 +43,7 @@
python-graphql-core python-jsondiff python-aws-xray-sdk
python-cfn-lint python-sshpubkeys python-pyparsing python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;)
-sha256sums=('4c82eae1e6a0e7ea1244117e5e4311deb5c48ae089eff74689a024f3d3973719')
+sha256sums=('cbe8ad8a949f519771e5d25b670738604757fb67cd474d75d14c20677582e81f')
 
 prepare() {
   cd $_pkgname-$pkgver



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2022-06-27 Thread Chih-Hsuan Yen via arch-commits
Date: Monday, June 27, 2022 @ 11:41:08
  Author: yan12125
Revision: 1239674

upgpkg: python-moto 3.1.15-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-27 11:40:42 UTC (rev 1239673)
+++ PKGBUILD2022-06-27 11:41:08 UTC (rev 1239674)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=3.1.12
+pkgver=3.1.15
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -43,7 +43,7 @@
python-graphql-core python-jsondiff python-aws-xray-sdk
python-cfn-lint python-sshpubkeys python-pyparsing python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;)
-sha256sums=('c6f407715b7babd1ff7796576ba8d873870d9fe6aa4d32664554a6116cc55afb')
+sha256sums=('4c82eae1e6a0e7ea1244117e5e4311deb5c48ae089eff74689a024f3d3973719')
 
 prepare() {
   cd $_pkgname-$pkgver



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2022-06-06 Thread Chih-Hsuan Yen via arch-commits
Date: Tuesday, June 7, 2022 @ 04:30:00
  Author: yan12125
Revision: 1227169

upgpkg: python-moto 3.1.12-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |   20 +++-
 1 file changed, 11 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-06 22:30:50 UTC (rev 1227168)
+++ PKGBUILD2022-06-07 04:30:00 UTC (rev 1227169)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=3.1.8
+pkgver=3.1.12
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -25,23 +25,25 @@
 # not used by moto.
 optdepends=(
   'python-yaml: for apigatewayv2, cloudformation, s3 and ssm'
-  'python-jose: for apigateway and cognitoidp'
+  'python-jose: for apigateway, cloudformation and cognitoidp'
+  'python-openapi-spec-validator: for apigateway and cloudformation'
   # SNS and SQS still uses docker indirectly, while upstream explicitly 
removes them
   # https://github.com/spulec/moto/pull/4094
   'python-docker: for awslambda, batch, cloudformation, dynamodb2 and 
dynamodbstreams'
-  'python-graphql-core: For appsync'
-  'python-jsondiff: for iotdata'
-  'python-aws-xray-sdk: for xray'
+  'python-graphql-core: For appsync and cloudformation'
+  'python-jsondiff: for iotdata and cloudformation'
+  'python-aws-xray-sdk: for xray and cloudformation'
   'python-cfn-lint: for cloudformation'
-  'python-sshpubkeys: for ec2 and efs'
-  'python-pyparsing: for glue'
+  'python-sshpubkeys: for ec2, ebs, efs, directoryservice and cloudformation'
+  'python-pyparsing: for glue and cloudformation'
   'python-flask: for moto_server'
   'python-flask-cors: for moto_server'
 )
-checkdepends+=(python-yaml python-jose python-docker python-graphql-core 
python-jsondiff python-aws-xray-sdk
+checkdepends+=(python-yaml python-jose python-openapi-spec-validator 
python-docker
+   python-graphql-core python-jsondiff python-aws-xray-sdk
python-cfn-lint python-sshpubkeys python-pyparsing python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;)
-sha256sums=('bde95005ec42a88448a98809397030f9e886387f469dcd2fcbc7f38d75858872')
+sha256sums=('c6f407715b7babd1ff7796576ba8d873870d9fe6aa4d32664554a6116cc55afb')
 
 prepare() {
   cd $_pkgname-$pkgver



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2022-05-06 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, May 7, 2022 @ 04:31:45
  Author: yan12125
Revision: 1196117

upgpkg: python-moto 3.1.8-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-05-07 04:25:02 UTC (rev 1196116)
+++ PKGBUILD2022-05-07 04:31:45 UTC (rev 1196117)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=3.1.7
+pkgver=3.1.8
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -41,7 +41,7 @@
 checkdepends+=(python-yaml python-jose python-docker python-graphql-core 
python-jsondiff python-aws-xray-sdk
python-cfn-lint python-sshpubkeys python-pyparsing python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;)
-sha256sums=('20607a0fd0cf6530e05ffb623ca84d3f45d50bddbcec2a33705a0cf471e71289')
+sha256sums=('bde95005ec42a88448a98809397030f9e886387f469dcd2fcbc7f38d75858872')
 
 prepare() {
   cd $_pkgname-$pkgver



[arch-commits] Commit in python-moto/trunk (PKGBUILD sdist-no-pyc.diff)

2022-05-04 Thread Chih-Hsuan Yen via arch-commits
Date: Wednesday, May 4, 2022 @ 12:43:49
  Author: yan12125
Revision: 1193749

upgpkg: python-moto 3.1.7-1; switch to a future-proof way for reproducibility

For the new optdepends, see https://github.com/spulec/moto/pull/5013

Modified:
  python-moto/trunk/PKGBUILD
Deleted:
  python-moto/trunk/sdist-no-pyc.diff

---+
 PKGBUILD  |   15 ++-
 sdist-no-pyc.diff |9 -
 2 files changed, 6 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-05-04 12:43:45 UTC (rev 1193748)
+++ PKGBUILD2022-05-04 12:43:49 UTC (rev 1193749)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=3.0.6
+pkgver=3.1.7
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -34,15 +34,14 @@
   'python-aws-xray-sdk: for xray'
   'python-cfn-lint: for cloudformation'
   'python-sshpubkeys: for ec2 and efs'
+  'python-pyparsing: for glue'
   'python-flask: for moto_server'
   'python-flask-cors: for moto_server'
 )
 checkdepends+=(python-yaml python-jose python-docker python-graphql-core 
python-jsondiff python-aws-xray-sdk
-   python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
-source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
-sdist-no-pyc.diff)
-sha256sums=('53ab3b6647382f61ad5aef8351ccba3712fa9595b7826883e4a38a4ac5c9b5a7'
-'4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
+   python-cfn-lint python-sshpubkeys python-pyparsing python-flask 
python-flask-cors)
+source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;)
+sha256sums=('20607a0fd0cf6530e05ffb623ca84d3f45d50bddbcec2a33705a0cf471e71289')
 
 prepare() {
   cd $_pkgname-$pkgver
@@ -59,8 +58,6 @@
 grep __future__ "%" || sed -i "1i import pytest" "%"
   '
 
-  patch -Np1 -i ../sdist-no-pyc.diff
-
   # Remove upper bounds of dependencies
   sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py
   diff -u setup.py{.orig,} || true
@@ -75,7 +72,7 @@
 check() {
   cd $_pkgname-$pkgver
 
-  TZ=UTC pytest tests -m 'not needs_docker'
+  PYTHONDONTWRITEBYTECODE=1 TZ=UTC pytest tests -m 'not needs_docker'
 }
 
 package() {

Deleted: sdist-no-pyc.diff
===
--- sdist-no-pyc.diff   2022-05-04 12:43:45 UTC (rev 1193748)
+++ sdist-no-pyc.diff   2022-05-04 12:43:49 UTC (rev 1193749)
@@ -1,9 +0,0 @@
-diff --git a/MANIFEST.in b/MANIFEST.in
-index 51d1b223..30ca14c0 100644
 a/MANIFEST.in
-+++ b/MANIFEST.in
-@@ -6,3 +6,4 @@ include moto/cognitoidp/resources/*.json
- include moto/dynamodb2/parsing/reserved_keywords.txt
- recursive-include moto/templates *
- recursive-include tests *
-+global-exclude *.py[cod]



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2022-03-07 Thread Chih-Hsuan Yen via arch-commits
Date: Monday, March 7, 2022 @ 18:07:44
  Author: yan12125
Revision: 1144658

upgpkg: python-moto 3.0.6-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-07 18:07:21 UTC (rev 1144657)
+++ PKGBUILD2022-03-07 18:07:44 UTC (rev 1144658)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=3.0.3
+pkgver=3.0.6
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -41,7 +41,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('fa3fbdc22c55d7e70b407e2f2639c48ac82b074f472b167609405c0c1e3a2ccb'
+sha256sums=('53ab3b6647382f61ad5aef8351ccba3712fa9595b7826883e4a38a4ac5c9b5a7'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2022-02-10 Thread Chih-Hsuan Yen via arch-commits
Date: Friday, February 11, 2022 @ 02:45:03
  Author: yan12125
Revision: 1131665

upgpkg: python-moto 3.0.3-1

See 
https://github.com/spulec/moto/commit/094d00a37a9a0e75fbcda4b695bf4dadd1f0c923#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7R84
for the new optdepends

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-02-11 02:23:35 UTC (rev 1131664)
+++ PKGBUILD2022-02-11 02:45:03 UTC (rev 1131665)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=3.0.2
+pkgver=3.0.3
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -24,7 +24,7 @@
 # Note that _dep_python_jose_ecdsa_pin and _dep_idna are excluded as they are 
pins and
 # not used by moto.
 optdepends=(
-  'python-yaml: for cloudformation, s3 and ssm'
+  'python-yaml: for apigatewayv2, cloudformation, s3 and ssm'
   'python-jose: for apigateway and cognitoidp'
   # SNS and SQS still uses docker indirectly, while upstream explicitly 
removes them
   # https://github.com/spulec/moto/pull/4094
@@ -41,7 +41,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('bd9d68a1f3985241444c314ac129a27efbe7f9b0a2ffa350031bbde743589399'
+sha256sums=('fa3fbdc22c55d7e70b407e2f2639c48ac82b074f472b167609405c0c1e3a2ccb'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2022-01-29 Thread Chih-Hsuan Yen via arch-commits
Date: Sunday, January 30, 2022 @ 02:11:06
  Author: yan12125
Revision: 1120012

upgpkg: python-moto 3.0.2-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-30 01:29:34 UTC (rev 1120011)
+++ PKGBUILD2022-01-30 02:11:06 UTC (rev 1120012)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=3.0.1
+pkgver=3.0.2
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -41,7 +41,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('b1bf9306ff9dc40d814766190023a392b55ce84386e118118f0555d4229e1861'
+sha256sums=('bd9d68a1f3985241444c314ac129a27efbe7f9b0a2ffa350031bbde743589399'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2022-01-25 Thread Chih-Hsuan Yen via arch-commits
Date: Wednesday, January 26, 2022 @ 05:40:24
  Author: yan12125
Revision: 1115628

upgpkg: python-moto 3.0.1-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-26 04:39:39 UTC (rev 1115627)
+++ PKGBUILD2022-01-26 05:40:24 UTC (rev 1115628)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=3.0.0
+pkgver=3.0.1
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -41,7 +41,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('d6b00a2663290e7ebb06823d5ffcb124c8dc9bf526b878539ef7c4a377fd8255'
+sha256sums=('b1bf9306ff9dc40d814766190023a392b55ce84386e118118f0555d4229e1861'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2022-01-22 Thread Chih-Hsuan Yen via arch-commits
Date: Sunday, January 23, 2022 @ 06:30:40
  Author: yan12125
Revision: 1113544

upgpkg: python-moto 3.0.0-1

python-boto is no longer needed after upstream drops it
https://github.com/spulec/moto/pull/4378

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-23 03:52:20 UTC (rev 1113543)
+++ PKGBUILD2022-01-23 06:30:40 UTC (rev 1113544)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=2.3.2
+pkgver=3.0.0
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -19,9 +19,7 @@
  # Below dependencies varied with Python versions
  python-jinja python-more-itertools)
 # See reqquirements-test.txt, excluding pytest-cov
-checkdepends=(python-pytest python-sure python-freezegun
-  # boto is vendored (#3503), but still imported in tests
-  python-boto)
+checkdepends=(python-pytest python-sure python-freezegun)
 # Below are optional dependencies. The order matches _dep_* items in upstream 
`setup.py`.
 # Note that _dep_python_jose_ecdsa_pin and _dep_idna are excluded as they are 
pins and
 # not used by moto.
@@ -43,7 +41,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('eaaed229742adbd1387383d113350ecd9222fc1e8f5611a9395a058c1eee4377'
+sha256sums=('d6b00a2663290e7ebb06823d5ffcb124c8dc9bf526b878539ef7c4a377fd8255'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2022-01-16 Thread Chih-Hsuan Yen via arch-commits
Date: Sunday, January 16, 2022 @ 08:59:11
  Author: yan12125
Revision: 1105956

upgpkg: python-moto 2.3.2-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-16 08:30:54 UTC (rev 1105955)
+++ PKGBUILD2022-01-16 08:59:11 UTC (rev 1105956)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=2.3.1
+pkgver=2.3.2
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -31,6 +31,7 @@
   # SNS and SQS still uses docker indirectly, while upstream explicitly 
removes them
   # https://github.com/spulec/moto/pull/4094
   'python-docker: for awslambda, batch, cloudformation, dynamodb2 and 
dynamodbstreams'
+  'python-graphql-core: For appsync'
   'python-jsondiff: for iotdata'
   'python-aws-xray-sdk: for xray'
   'python-cfn-lint: for cloudformation'
@@ -38,11 +39,11 @@
   'python-flask: for moto_server'
   'python-flask-cors: for moto_server'
 )
-checkdepends+=(python-yaml python-jose python-docker python-jsondiff 
python-aws-xray-sdk
+checkdepends+=(python-yaml python-jose python-docker python-graphql-core 
python-jsondiff python-aws-xray-sdk
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('477e6a94c5e940c649c1276276afe6e041a068943a6969009dcca69aa1e7463a'
+sha256sums=('eaaed229742adbd1387383d113350ecd9222fc1e8f5611a9395a058c1eee4377'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2022-01-07 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, January 8, 2022 @ 05:00:56
  Author: yan12125
Revision: 1096968

upgpkg: python-moto 2.3.1-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-01-08 03:55:03 UTC (rev 1096967)
+++ PKGBUILD2022-01-08 05:00:56 UTC (rev 1096968)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=2.3.0
+pkgver=2.3.1
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -42,7 +42,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('0d6a179622bb9d0cd8141bb33d78882039ce7400aca3a8c07ad6d00076b60c62'
+sha256sums=('477e6a94c5e940c649c1276276afe6e041a068943a6969009dcca69aa1e7463a'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-12-24 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, December 25, 2021 @ 06:29:18
  Author: yan12125
Revision: 1083533

upgpkg: python-moto 2.3.0-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-12-25 06:00:57 UTC (rev 1083532)
+++ PKGBUILD2021-12-25 06:29:18 UTC (rev 1083533)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=2.2.19
+pkgver=2.3.0
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -42,7 +42,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('c07dba1bf56c7f0b67899936f8c2bfcbd0b77cbaba97056c2871de806a06fe8f'
+sha256sums=('0d6a179622bb9d0cd8141bb33d78882039ce7400aca3a8c07ad6d00076b60c62'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-12-17 Thread Chih-Hsuan Yen via arch-commits
Date: Friday, December 17, 2021 @ 08:06:38
  Author: yan12125
Revision: 1075902

upgpkg: python-moto 2.2.19-1; give up tests that require podman/docker

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |   43 ++-
 1 file changed, 18 insertions(+), 25 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-12-17 07:59:57 UTC (rev 1075901)
+++ PKGBUILD2021-12-17 08:06:38 UTC (rev 1075902)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=2.2.17
+pkgver=2.2.19
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -21,7 +21,7 @@
 # See reqquirements-test.txt, excluding pytest-cov
 checkdepends=(python-pytest python-sure python-freezegun
   # boto is vendored (#3503), but still imported in tests
-  python-boto podman)
+  python-boto)
 # Below are optional dependencies. The order matches _dep_* items in upstream 
`setup.py`.
 # Note that _dep_python_jose_ecdsa_pin and _dep_idna are excluded as they are 
pins and
 # not used by moto.
@@ -41,17 +41,26 @@
 checkdepends+=(python-yaml python-jose python-docker python-jsondiff 
python-aws-xray-sdk
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
-sdist-no-pyc.diff
-
"$pkgname-fix-sqs-tests.patch"::"https://github.com/spulec/moto/commit/cbfe962b707ae039579247d23e6d20efa259eaaf.patch;)
-sha256sums=('221ebd16b41b3ae157554ca5e540a8c1b4b1c93443cbf854c1f04751194c51b6'
-'4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208'
-'e10558c48beac34846c5fb556c23c80d2e249d89746b9972484ee9db820c2123')
+sdist-no-pyc.diff)
+sha256sums=('c07dba1bf56c7f0b67899936f8c2bfcbd0b77cbaba97056c2871de806a06fe8f'
+'4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {
   cd $_pkgname-$pkgver
 
+  # AWS Lambda and Batch tests require docker/podman, while running 
docker/podman
+  # in systemd-nspawn containers appears impossible without special 
configurations -
+  # disable them altogether
+  sed -i '/markers\s*=/a \ \ \ \ needs_docker: marks test which require 
docker' setup.cfg
+  find tests \( -name '*.py' -a ! -name __init__.py \) -print0 | xargs -I % -0 
bash -c '
+sed -i -E "%" \
+  -e "/__future__/a import pytest" \
+  -e "s/^(\s*)(@mock_batch)$/\1\2\n\1...@pytest.mark.needs_docker/" \
+  -e "s/^(\s*)(@mock_lambda)$/\1\2\n\1...@pytest.mark.needs_docker/"
+grep __future__ "%" || sed -i "1i import pytest" "%"
+  '
+
   patch -Np1 -i ../sdist-no-pyc.diff
-  patch -Np1 -i ../$pkgname-fix-sqs-tests.patch
 
   # Remove upper bounds of dependencies
   sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py
@@ -67,23 +76,7 @@
 check() {
   cd $_pkgname-$pkgver
 
-  # XXX: there are too many tests that depend on docker/podman, and there is 
no simple way
-  # other than listing one-by-one for exclusion. To make things worse, running 
docker/podman
-  # in systemd-nspawn containers appears impossible without special 
configurations. I gave
-  # it up and running podman _outside_ the container for testing.
-  # $ systemctl --user start podman.socket
-  # $ extra-x86_64-build -- -d "$XDG_RUNTIME_DIR/podman:/tmp/podman"
-  PODMAN_SOCK=/tmp/podman/podman.sock
-  if [ -S $PODMAN_SOCK ]; then
-# XXX: a workaround to make tests work with podman
-# Images are not pulled before usage since version 2.2.1 [1][2], and
-# that is needed for podman [3]
-# [1] 
https://github.com/spulec/moto/commit/338420c3b979b85501193d948ab442c1ebd0ae4a
-# [2] https://github.com/spulec/moto/pull/4082
-# [3] https://github.com/spulec/moto/pull/3702
-podman-remote --url "unix:$PODMAN_SOCK" pull 
docker.io/library/busybox:latest
-DOCKER_HOST="unix://$PODMAN_SOCK" TZ=UTC pytest tests
-  fi
+  TZ=UTC pytest tests -m 'not needs_docker'
 }
 
 package() {



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-12-10 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, December 11, 2021 @ 02:58:35
  Author: yan12125
Revision: 1068172

upgpkg: python-moto 2.2.17-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |   12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-12-11 02:29:30 UTC (rev 1068171)
+++ PKGBUILD2021-12-11 02:58:35 UTC (rev 1068172)
@@ -4,8 +4,8 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=2.2.15
-pkgrel=3
+pkgver=2.2.17
+pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
 url='https://github.com/spulec/moto'
@@ -42,16 +42,16 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff
-
fix-batch-logs.patch::https://github.com/spulec/moto/commit/c7a9dc32e0bcd92097775aadf48d42d630917544.patch)
-sha256sums=('c5692058863803d8a17e422cea48f6f745895760a4be05cd479c0b481cc8e3b0'
+
"$pkgname-fix-sqs-tests.patch"::"https://github.com/spulec/moto/commit/cbfe962b707ae039579247d23e6d20efa259eaaf.patch;)
+sha256sums=('221ebd16b41b3ae157554ca5e540a8c1b4b1c93443cbf854c1f04751194c51b6'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208'
-'6640daff14da0fc63cc0ddffcbdcb5faf847bb66b712c506078cbe4d13c0972f')
+'e10558c48beac34846c5fb556c23c80d2e249d89746b9972484ee9db820c2123')
 
 prepare() {
   cd $_pkgname-$pkgver
 
   patch -Np1 -i ../sdist-no-pyc.diff
-  patch -Np1 -i ../fix-batch-logs.patch
+  patch -Np1 -i ../$pkgname-fix-sqs-tests.patch
 
   # Remove upper bounds of dependencies
   sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-12-02 Thread Felix Yan via arch-commits
Date: Friday, December 3, 2021 @ 00:27:06
  Author: felixonmars
Revision: 1063760

upgpkg: python-moto 2.2.15-3: Python 3.10 rebuild

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-12-03 00:26:48 UTC (rev 1063759)
+++ PKGBUILD2021-12-03 00:27:06 UTC (rev 1063760)
@@ -5,7 +5,7 @@
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
 pkgver=2.2.15
-pkgrel=2
+pkgrel=3
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
 url='https://github.com/spulec/moto'



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-12-01 Thread Felix Yan via arch-commits
Date: Wednesday, December 1, 2021 @ 14:51:33
  Author: felixonmars
Revision: 1059420

upgpkg: python-moto 2.2.15-2: Python 3.10 rebuild

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-12-01 14:51:31 UTC (rev 1059419)
+++ PKGBUILD2021-12-01 14:51:33 UTC (rev 1059420)
@@ -5,7 +5,7 @@
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
 pkgver=2.2.15
-pkgrel=1
+pkgrel=2
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
 url='https://github.com/spulec/moto'



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-11-20 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, November 20, 2021 @ 11:52:33
  Author: yan12125
Revision: 1052847

upgpkg: python-moto 2.2.15-1 with a backported fix from 
https://github.com/spulec/moto/pull/4604

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |   11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-11-20 11:52:10 UTC (rev 1052846)
+++ PKGBUILD2021-11-20 11:52:33 UTC (rev 1052847)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=2.2.13
+pkgver=2.2.15
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -41,14 +41,17 @@
 checkdepends+=(python-yaml python-jose python-docker python-jsondiff 
python-aws-xray-sdk
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
-sdist-no-pyc.diff)
-sha256sums=('ad4d0f1fbe9a7ff91246308079c578a45e3e1315aedf7db1c2cae5d3f2211718'
-'4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
+sdist-no-pyc.diff
+
fix-batch-logs.patch::https://github.com/spulec/moto/commit/c7a9dc32e0bcd92097775aadf48d42d630917544.patch)
+sha256sums=('c5692058863803d8a17e422cea48f6f745895760a4be05cd479c0b481cc8e3b0'
+'4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208'
+'6640daff14da0fc63cc0ddffcbdcb5faf847bb66b712c506078cbe4d13c0972f')
 
 prepare() {
   cd $_pkgname-$pkgver
 
   patch -Np1 -i ../sdist-no-pyc.diff
+  patch -Np1 -i ../fix-batch-logs.patch
 
   # Remove upper bounds of dependencies
   sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-11-11 Thread Chih-Hsuan Yen via arch-commits
Date: Thursday, November 11, 2021 @ 15:03:39
  Author: yan12125
Revision: 1042171

upgpkg: python-moto 2.2.13-1

Some test warnings are due to incompatibility between (bundled)
HTTPretty and docker-py [1]. I don't plan to dig deeper as HTTPretty
will no longer be used in moto 3.0 [2,3].

[1] https://github.com/gabrielfalcao/HTTPretty/issues/311
[2] https://github.com/spulec/moto/pull/4378
[3] https://github.com/spulec/moto/issues/4526

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-11-11 14:52:27 UTC (rev 1042170)
+++ PKGBUILD2021-11-11 15:03:39 UTC (rev 1042171)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=2.2.12
+pkgver=2.2.13
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -42,7 +42,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('e83ff38cbbf901a11b21c344c101f6e18810868145e2e2f8ff34857025f06a5f'
+sha256sums=('ad4d0f1fbe9a7ff91246308079c578a45e3e1315aedf7db1c2cae5d3f2211718'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-11-05 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, November 6, 2021 @ 03:12:19
  Author: yan12125
Revision: 1037410

upgpkg: python-moto 2.2.12-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-11-06 03:12:11 UTC (rev 1037409)
+++ PKGBUILD2021-11-06 03:12:19 UTC (rev 1037410)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=2.2.11
+pkgver=2.2.12
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -42,7 +42,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('3d962ba1646e8a417bfbf17ccc4dc7d2ca48a1bf7e847db7daae0690fc70537c'
+sha256sums=('e83ff38cbbf901a11b21c344c101f6e18810868145e2e2f8ff34857025f06a5f'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-10-31 Thread Chih-Hsuan Yen via arch-commits
Date: Sunday, October 31, 2021 @ 08:01:38
  Author: yan12125
Revision: 1035041

upgpkg: python-moto 2.2.11-1; pushed to [community-testing] as it requires 
python-sure 2.0

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-10-31 03:01:03 UTC (rev 1035040)
+++ PKGBUILD2021-10-31 08:01:38 UTC (rev 1035041)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=2.2.10
+pkgver=2.2.11
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -42,7 +42,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('2a29da1d06a13a1a5f2dc2bf7742b31f6dc8e71069c7626c2300e18c84bec9e3'
+sha256sums=('3d962ba1646e8a417bfbf17ccc4dc7d2ca48a1bf7e847db7daae0690fc70537c'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-10-22 Thread Chih-Hsuan Yen via arch-commits
Date: Friday, October 22, 2021 @ 17:23:32
  Author: yan12125
Revision: 1032555

upgpkg: python-moto 2.2.10-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-10-22 17:10:02 UTC (rev 1032554)
+++ PKGBUILD2021-10-22 17:23:32 UTC (rev 1032555)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=2.2.9
+pkgver=2.2.10
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -42,7 +42,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('f94502cc5c075742cdd58a8983c0565f129a43d43bba2b9b6f14a5ace96ee751'
+sha256sums=('2a29da1d06a13a1a5f2dc2bf7742b31f6dc8e71069c7626c2300e18c84bec9e3'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-10-14 Thread Chih-Hsuan Yen via arch-commits
Date: Thursday, October 14, 2021 @ 08:02:03
  Author: yan12125
Revision: 1030089

upgpkg: python-moto 2.2.9-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-10-14 06:25:47 UTC (rev 1030088)
+++ PKGBUILD2021-10-14 08:02:03 UTC (rev 1030089)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=2.2.8
+pkgver=2.2.9
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -42,7 +42,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('418a47e65fd1a0001068d833b3e9924ce881f2e93e8d45b8cbc8bfa26bfeb7e0'
+sha256sums=('f94502cc5c075742cdd58a8983c0565f129a43d43bba2b9b6f14a5ace96ee751'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-10-01 Thread Chih-Hsuan Yen via arch-commits
Date: Friday, October 1, 2021 @ 12:28:57
  Author: yan12125
Revision: 1026357

upgpkg: python-moto 2.2.8-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-10-01 12:16:32 UTC (rev 1026356)
+++ PKGBUILD2021-10-01 12:28:57 UTC (rev 1026357)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=2.2.7
+pkgver=2.2.8
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -42,7 +42,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('f5d131d0be71890809c94556930f865d25814e2d2e29d74fab749f963a11b518'
+sha256sums=('418a47e65fd1a0001068d833b3e9924ce881f2e93e8d45b8cbc8bfa26bfeb7e0'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-09-18 Thread Chih-Hsuan Yen via arch-commits
Date: Sunday, September 19, 2021 @ 04:37:43
  Author: yan12125
Revision: 1017128

upgpkg: python-moto 2.2.7-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-09-19 01:01:33 UTC (rev 1017127)
+++ PKGBUILD2021-09-19 04:37:43 UTC (rev 1017128)
@@ -3,7 +3,8 @@
 
 pkgname=python-moto
 _pkgname=moto
-pkgver=2.2.6
+# https://github.com/spulec/moto/blob/master/CHANGELOG.md
+pkgver=2.2.7
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -41,7 +42,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('21c838b63f44e24b9b5015a2cdcc5be7c1e1004e58a69fb7cac71383bce34535'
+sha256sums=('f5d131d0be71890809c94556930f865d25814e2d2e29d74fab749f963a11b518'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-09-03 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, September 4, 2021 @ 01:57:14
  Author: yan12125
Revision: 1010759

upgpkg: python-moto 2.2.6-1

The importlib.metadata hack is no longer necessary after 
https://github.com/spulec/moto/pull/4214

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |8 ++--
 1 file changed, 2 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-09-04 01:32:17 UTC (rev 1010758)
+++ PKGBUILD2021-09-04 01:57:14 UTC (rev 1010759)
@@ -3,7 +3,7 @@
 
 pkgname=python-moto
 _pkgname=moto
-pkgver=2.2.4
+pkgver=2.2.6
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -41,7 +41,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('ee652be8c3bb52c6c54bcc811f74afbfb317c59dcdfdc96d6027fe93e1b4a94d'
+sha256sums=('21c838b63f44e24b9b5015a2cdcc5be7c1e1004e58a69fb7cac71383bce34535'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {
@@ -52,10 +52,6 @@
   # Remove upper bounds of dependencies
   sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py
   diff -u setup.py{.orig,} || true
-
-  # Remove the unnecessary dependency. See also 
https://bugs.archlinux.org/task/64719
-  sed -i '/"importlib_metadata"/d' setup.py
-  sed -i 's#importlib_metadata#importlib.metadata#g' moto/core/models.py
 }
 
 build() {



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-08-22 Thread Chih-Hsuan Yen via arch-commits
Date: Sunday, August 22, 2021 @ 07:32:53
  Author: yan12125
Revision: 1004177

upgpkg: python-moto 2.2.4-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-08-22 06:11:07 UTC (rev 1004176)
+++ PKGBUILD2021-08-22 07:32:53 UTC (rev 1004177)
@@ -3,7 +3,7 @@
 
 pkgname=python-moto
 _pkgname=moto
-pkgver=2.2.3
+pkgver=2.2.4
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -41,7 +41,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('76850f44a38c0047e573ec5d4d2e5b20a77ae2de2691b2be03ed0cae17a85a0e'
+sha256sums=('ee652be8c3bb52c6c54bcc811f74afbfb317c59dcdfdc96d6027fe93e1b4a94d'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-08-20 Thread Chih-Hsuan Yen via arch-commits
Date: Friday, August 20, 2021 @ 08:34:20
  Author: yan12125
Revision: 1003964

upgpkg: python-moto 2.2.3-1

Ref: https://github.com/spulec/moto/pull/4142

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |   14 ++
 1 file changed, 10 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-08-20 08:31:10 UTC (rev 1003963)
+++ PKGBUILD2021-08-20 08:34:20 UTC (rev 1003964)
@@ -3,18 +3,20 @@
 
 pkgname=python-moto
 _pkgname=moto
-pkgver=2.2.1
+pkgver=2.2.3
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
 url='https://github.com/spulec/moto'
 license=(Apache)
-# depends on python-setuptools as pkg_resources is used is several modules
 # NOTE: Keep the order of dependencies matching setup.py
+# setup.py includes setuptools, which is a work around for missing 
dependencies in aws-xray-sdk [1].
+# I use the correct dependency in python-aws-xray-sdk, so python-setuptools is 
not needed here.
+# [1] https://github.com/spulec/moto/pull/4142
 depends=(python-boto3 python-botocore python-cryptography python-requests 
python-xmltodict
  python-werkzeug python-pytz python-dateutil python-responses
  # Below dependencies varied with Python versions
- python-jinja python-more-itertools python-setuptools)
+ python-jinja python-more-itertools)
 # See reqquirements-test.txt, excluding pytest-cov
 checkdepends=(python-pytest python-sure python-freezegun
   # boto is vendored (#3503), but still imported in tests
@@ -39,7 +41,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('4ea538fe090b964c22bb98a6f87d3c589eaf754893d297d58b74dedb94d4448c'
+sha256sums=('76850f44a38c0047e573ec5d4d2e5b20a77ae2de2691b2be03ed0cae17a85a0e'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {
@@ -50,6 +52,10 @@
   # Remove upper bounds of dependencies
   sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py
   diff -u setup.py{.orig,} || true
+
+  # Remove the unnecessary dependency. See also 
https://bugs.archlinux.org/task/64719
+  sed -i '/"importlib_metadata"/d' setup.py
+  sed -i 's#importlib_metadata#importlib.metadata#g' moto/core/models.py
 }
 
 build() {



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-08-08 Thread Chih-Hsuan Yen via arch-commits
Date: Sunday, August 8, 2021 @ 07:09:36
  Author: yan12125
Revision: 994818

upgpkg: python-moto 2.2.1-1; cleanup dependencies [1] and add a workaround for 
check() [2]

[1] https://github.com/spulec/moto/pull/4094
[2] https://github.com/spulec/moto/pull/4082

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |   19 ++-
 1 file changed, 14 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-08-08 06:56:13 UTC (rev 994817)
+++ PKGBUILD2021-08-08 07:09:36 UTC (rev 994818)
@@ -3,7 +3,7 @@
 
 pkgname=python-moto
 _pkgname=moto
-pkgver=2.2.0
+pkgver=2.2.1
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -18,7 +18,7 @@
 # See reqquirements-test.txt, excluding pytest-cov
 checkdepends=(python-pytest python-sure python-freezegun
   # boto is vendored (#3503), but still imported in tests
-  python-boto)
+  python-boto podman)
 # Below are optional dependencies. The order matches _dep_* items in upstream 
`setup.py`.
 # Note that _dep_python_jose_ecdsa_pin and _dep_idna are excluded as they are 
pins and
 # not used by moto.
@@ -25,11 +25,13 @@
 optdepends=(
   'python-yaml: for cloudformation, s3 and ssm'
   'python-jose: for apigateway and cognitoidp'
-  'python-docker: for awslambda, batch, cloudformation, dynamodb2, 
dynamodbstreams, ec2, ses, sns, sqs and ssm'
+  # SNS and SQS still uses docker indirectly, while upstream explicitly 
removes them
+  # https://github.com/spulec/moto/pull/4094
+  'python-docker: for awslambda, batch, cloudformation, dynamodb2 and 
dynamodbstreams'
   'python-jsondiff: for iotdata'
   'python-aws-xray-sdk: for xray'
   'python-cfn-lint: for cloudformation'
-  'python-sshpubkeys: for ec2'
+  'python-sshpubkeys: for ec2 and efs'
   'python-flask: for moto_server'
   'python-flask-cors: for moto_server'
 )
@@ -37,7 +39,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('54824ad7fb5040d60558f7f34e0cb32e2de1d97612c03a1f9accfe3d5b94d2a6'
+sha256sums=('4ea538fe090b964c22bb98a6f87d3c589eaf754893d297d58b74dedb94d4448c'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {
@@ -67,6 +69,13 @@
   # $ extra-x86_64-build -- -d "$XDG_RUNTIME_DIR/podman:/tmp/podman"
   PODMAN_SOCK=/tmp/podman/podman.sock
   if [ -S $PODMAN_SOCK ]; then
+# XXX: a workaround to make tests work with podman
+# Images are not pulled before usage since version 2.2.1 [1][2], and
+# that is needed for podman [3]
+# [1] 
https://github.com/spulec/moto/commit/338420c3b979b85501193d948ab442c1ebd0ae4a
+# [2] https://github.com/spulec/moto/pull/4082
+# [3] https://github.com/spulec/moto/pull/3702
+podman-remote --url "unix:$PODMAN_SOCK" pull 
docker.io/library/busybox:latest
 DOCKER_HOST="unix://$PODMAN_SOCK" TZ=UTC pytest tests
   fi
 }



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-07-27 Thread Chih-Hsuan Yen via arch-commits
Date: Tuesday, July 27, 2021 @ 13:24:25
  Author: yan12125
Revision: 987579

upgpkg: python-moto 2.2.0-1; python-six is no longer needed after [1]

[1] https://github.com/spulec/moto/pull/3915

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-27 13:16:30 UTC (rev 987578)
+++ PKGBUILD2021-07-27 13:24:25 UTC (rev 987579)
@@ -3,7 +3,7 @@
 
 pkgname=python-moto
 _pkgname=moto
-pkgver=2.1.0
+pkgver=2.2.0
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -12,7 +12,7 @@
 # depends on python-setuptools as pkg_resources is used is several modules
 # NOTE: Keep the order of dependencies matching setup.py
 depends=(python-boto3 python-botocore python-cryptography python-requests 
python-xmltodict
- python-six python-werkzeug python-pytz python-dateutil 
python-responses
+ python-werkzeug python-pytz python-dateutil python-responses
  # Below dependencies varied with Python versions
  python-jinja python-more-itertools python-setuptools)
 # See reqquirements-test.txt, excluding pytest-cov
@@ -37,7 +37,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('ab4f094bf50885c7e593c9d0a27756eeb522c916d6f58c02437cb3654835f8dd'
+sha256sums=('54824ad7fb5040d60558f7f34e0cb32e2de1d97612c03a1f9accfe3d5b94d2a6'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-07-17 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, July 17, 2021 @ 15:22:45
  Author: yan12125
Revision: 978368

upgpkg: python-moto 2.1.0-1; update optdepends

The ssm module no longer needs cfn-lint. See 
https://github.com/spulec/moto/pull/4072

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-17 15:22:19 UTC (rev 978367)
+++ PKGBUILD2021-07-17 15:22:45 UTC (rev 978368)
@@ -3,7 +3,7 @@
 
 pkgname=python-moto
 _pkgname=moto
-pkgver=2.0.11
+pkgver=2.1.0
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -28,7 +28,7 @@
   'python-docker: for awslambda, batch, cloudformation, dynamodb2, 
dynamodbstreams, ec2, ses, sns, sqs and ssm'
   'python-jsondiff: for iotdata'
   'python-aws-xray-sdk: for xray'
-  'python-cfn-lint: for cloudformation and ssm'
+  'python-cfn-lint: for cloudformation'
   'python-sshpubkeys: for ec2'
   'python-flask: for moto_server'
   'python-flask-cors: for moto_server'
@@ -37,7 +37,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('569049a42bc63b6c4702fda0fee952e4d0088cd7f4989aa8eaaae0b222f7a2a1'
+sha256sums=('ab4f094bf50885c7e593c9d0a27756eeb522c916d6f58c02437cb3654835f8dd'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-07-09 Thread Chih-Hsuan Yen via arch-commits
Date: Friday, July 9, 2021 @ 13:57:58
  Author: yan12125
Revision: 976218

upgpkg: python-moto 2.0.11-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-09 13:02:43 UTC (rev 976217)
+++ PKGBUILD2021-07-09 13:57:58 UTC (rev 976218)
@@ -3,7 +3,7 @@
 
 pkgname=python-moto
 _pkgname=moto
-pkgver=2.0.10
+pkgver=2.0.11
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -37,7 +37,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('f205da54d5e9442450a519dbe5bb49c31d9f496b551a84648afa01a360fd4b82'
+sha256sums=('569049a42bc63b6c4702fda0fee952e4d0088cd7f4989aa8eaaae0b222f7a2a1'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-06-24 Thread Chih-Hsuan Yen via arch-commits
Date: Thursday, June 24, 2021 @ 06:52:24
  Author: yan12125
Revision: 967167

upgpkg: python-moto 2.0.10-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-24 06:45:32 UTC (rev 967166)
+++ PKGBUILD2021-06-24 06:52:24 UTC (rev 967167)
@@ -3,7 +3,7 @@
 
 pkgname=python-moto
 _pkgname=moto
-pkgver=2.0.9
+pkgver=2.0.10
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -37,7 +37,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('d46023795ce991c5cbbb3e68666133d57eb5d2b59805585f54eec7d40be8d05f'
+sha256sums=('f205da54d5e9442450a519dbe5bb49c31d9f496b551a84648afa01a360fd4b82'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {



[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-06-16 Thread Chih-Hsuan Yen via arch-commits
Date: Wednesday, June 16, 2021 @ 10:40:12
  Author: yan12125
Revision: 964264

upgpkg: python-moto 2.0.9-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-16 10:25:02 UTC (rev 964263)
+++ PKGBUILD2021-06-16 10:40:12 UTC (rev 964264)
@@ -3,7 +3,7 @@
 
 pkgname=python-moto
 _pkgname=moto
-pkgver=2.0.8
+pkgver=2.0.9
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -37,7 +37,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('812dcfdb460e6d43236f2c0f7774ede038716daef6db8a09dc5c16ea7e4de931'
+sha256sums=('d46023795ce991c5cbbb3e68666133d57eb5d2b59805585f54eec7d40be8d05f'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {


[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-05-21 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, May 22, 2021 @ 02:09:22
  Author: yan12125
Revision: 941149

upgpkg: python-moto 2.0.8-1

zipp is no longer an dependency since https://github.com/spulec/moto/pull/3940

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-22 01:18:43 UTC (rev 941148)
+++ PKGBUILD2021-05-22 02:09:22 UTC (rev 941149)
@@ -3,7 +3,7 @@
 
 pkgname=python-moto
 _pkgname=moto
-pkgver=2.0.7
+pkgver=2.0.8
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -14,7 +14,7 @@
 depends=(python-boto3 python-botocore python-cryptography python-requests 
python-xmltodict
  python-six python-werkzeug python-pytz python-dateutil 
python-responses
  # Below dependencies varied with Python versions
- python-jinja python-more-itertools python-setuptools python-zipp)
+ python-jinja python-more-itertools python-setuptools)
 # See reqquirements-test.txt, excluding pytest-cov
 checkdepends=(python-pytest python-sure python-freezegun
   # boto is vendored (#3503), but still imported in tests
@@ -37,7 +37,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('4209ee3241df1160523a58a169d31d0c8aa10b7aa75894484de58cbfacf14523'
+sha256sums=('812dcfdb460e6d43236f2c0f7774ede038716daef6db8a09dc5c16ea7e4de931'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {


[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-05-15 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, May 15, 2021 @ 09:31:13
  Author: yan12125
Revision: 934603

upgpkg: python-moto 2.0.7-1

Although a upstream dev got test failures with werkzeug/flask 2.0 [1], all 
tests, including `managedblockchain` ones, are green on my machine.

[1] https://github.com/spulec/moto/pull/3923

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-15 08:14:29 UTC (rev 934602)
+++ PKGBUILD2021-05-15 09:31:13 UTC (rev 934603)
@@ -3,7 +3,7 @@
 
 pkgname=python-moto
 _pkgname=moto
-pkgver=2.0.6
+pkgver=2.0.7
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -37,7 +37,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('7982176837406cabb47a84785125d337b6df357ae92ae29423724d072764dd90'
+sha256sums=('4209ee3241df1160523a58a169d31d0c8aa10b7aa75894484de58cbfacf14523'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {


[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-05-05 Thread Chih-Hsuan Yen via arch-commits
Date: Thursday, May 6, 2021 @ 04:42:20
  Author: yan12125
Revision: 928360

upgpkg: python-moto 2.0.6-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-05-06 04:35:41 UTC (rev 928359)
+++ PKGBUILD2021-05-06 04:42:20 UTC (rev 928360)
@@ -3,7 +3,7 @@
 
 pkgname=python-moto
 _pkgname=moto
-pkgver=2.0.5
+pkgver=2.0.6
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -37,7 +37,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('17219c9e8d79bc7450615896b37e5bd639c2038d4672bcab114ac4661e27f8ae'
+sha256sums=('7982176837406cabb47a84785125d337b6df357ae92ae29423724d072764dd90'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {
@@ -63,7 +63,7 @@
   # other than listing one-by-one for exclusion. To make things worse, running 
docker/podman
   # in systemd-nspawn containers appears impossible without special 
configurations. I gave
   # it up and running podman _outside_ the container for testing.
-  # $ podman system service "unix:$XDG_RUNTIME_DIR/podman/podman.sock" -t 0
+  # $ systemctl --user start podman.socket
   # $ extra-x86_64-build -- -d "$XDG_RUNTIME_DIR/podman:/tmp/podman"
   PODMAN_SOCK=/tmp/podman/podman.sock
   if [ -S $PODMAN_SOCK ]; then


[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-04-11 Thread Chih-Hsuan Yen via arch-commits
Date: Monday, April 12, 2021 @ 01:35:17
  Author: yan12125
Revision: 915853

upgpkg: python-moto 2.0.5-1

python-mock is no longer needed after https://github.com/spulec/moto/pull/3481

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-04-12 01:31:08 UTC (rev 915852)
+++ PKGBUILD2021-04-12 01:35:17 UTC (rev 915853)
@@ -3,7 +3,7 @@
 
 pkgname=python-moto
 _pkgname=moto
-pkgver=2.0.2
+pkgver=2.0.5
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -14,7 +14,7 @@
 depends=(python-boto3 python-botocore python-cryptography python-requests 
python-xmltodict
  python-six python-werkzeug python-pytz python-dateutil 
python-responses
  # Below dependencies varied with Python versions
- python-jinja python-mock python-more-itertools python-setuptools 
python-zipp)
+ python-jinja python-more-itertools python-setuptools python-zipp)
 # See reqquirements-test.txt, excluding pytest-cov
 checkdepends=(python-pytest python-sure python-freezegun
   # boto is vendored (#3503), but still imported in tests
@@ -37,7 +37,7 @@
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
 sdist-no-pyc.diff)
-sha256sums=('4610d27ead9124eaa84a78eca7dfa25a8ccb66cf6a7cb8a8889b5ca0c7796889'
+sha256sums=('17219c9e8d79bc7450615896b37e5bd639c2038d4672bcab114ac4661e27f8ae'
 '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {


[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-03-14 Thread Chih-Hsuan Yen via arch-commits
Date: Sunday, March 14, 2021 @ 10:57:39
  Author: yan12125
Revision: 891053

upgpkg: python-moto 2.0.2-1

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |   13 -
 1 file changed, 4 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-03-14 10:39:00 UTC (rev 891052)
+++ PKGBUILD2021-03-14 10:57:39 UTC (rev 891053)
@@ -3,7 +3,7 @@
 
 pkgname=python-moto
 _pkgname=moto
-pkgver=2.0.1
+pkgver=2.0.2
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -36,11 +36,9 @@
 checkdepends+=(python-yaml python-jose python-docker python-jsondiff 
python-aws-xray-sdk
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
-sdist-no-pyc.diff
-
"moto-fix-osaka-region.patch"::"https://github.com/spulec/moto/commit/ac0b4bbcf73d37612f86e07a950c9d20c1e6b9d3.patch;)
-sha256sums=('b0761ad0d73eaaf92324a190f780bb482dfed57c235c1cada1f5cfbf84ae6feb'
-'4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208'
-'12d081223b0cc6cfee2c7b3b8e705a356a0d162c1f7993a9de040db737ff83aa')
+sdist-no-pyc.diff)
+sha256sums=('4610d27ead9124eaa84a78eca7dfa25a8ccb66cf6a7cb8a8889b5ca0c7796889'
+'4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {
   cd $_pkgname-$pkgver
@@ -50,9 +48,6 @@
   # Remove upper bounds of dependencies
   sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py
   diff -u setup.py{.orig,} || true
-
-  # Backport of https://github.com/spulec/moto/pull/3751
-  patch -Np1 -i ../moto-fix-osaka-region.patch
 }
 
 build() {


[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-03-07 Thread Chih-Hsuan Yen via arch-commits
Date: Sunday, March 7, 2021 @ 14:15:34
  Author: yan12125
Revision: 886020

upgpkg: python-moto 2.0.1-1

Ref: https://github.com/spulec/moto/pull/3751

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |   13 +
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-03-07 13:49:56 UTC (rev 886019)
+++ PKGBUILD2021-03-07 14:15:34 UTC (rev 886020)
@@ -3,7 +3,7 @@
 
 pkgname=python-moto
 _pkgname=moto
-pkgver=2.0.0
+pkgver=2.0.1
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -36,9 +36,11 @@
 checkdepends+=(python-yaml python-jose python-docker python-jsondiff 
python-aws-xray-sdk
python-cfn-lint python-sshpubkeys python-flask 
python-flask-cors)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz;
-sdist-no-pyc.diff)
-sha256sums=('d2edc6bdd8a9548c56e7fb73329bdd508ece1530d4b8a054426a8716d6ef35f2'
-'4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
+sdist-no-pyc.diff
+
"moto-fix-osaka-region.patch"::"https://github.com/spulec/moto/commit/ac0b4bbcf73d37612f86e07a950c9d20c1e6b9d3.patch;)
+sha256sums=('b0761ad0d73eaaf92324a190f780bb482dfed57c235c1cada1f5cfbf84ae6feb'
+'4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208'
+'12d081223b0cc6cfee2c7b3b8e705a356a0d162c1f7993a9de040db737ff83aa')
 
 prepare() {
   cd $_pkgname-$pkgver
@@ -48,6 +50,9 @@
   # Remove upper bounds of dependencies
   sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py
   diff -u setup.py{.orig,} || true
+
+  # Backport of https://github.com/spulec/moto/pull/3751
+  patch -Np1 -i ../moto-fix-osaka-region.patch
 }
 
 build() {


[arch-commits] Commit in python-moto/trunk (PKGBUILD)

2021-02-09 Thread Chih-Hsuan Yen via arch-commits
Date: Tuesday, February 9, 2021 @ 08:15:25
  Author: yan12125
Revision: 850819

python-moto: add comments about setuptools and update disabled tests; not bump 
pkgrel as it's only a fix for check()

Refs:
1. 
https://archlinux.org/todo/cleanup-of-python-setuptools-dependency-for-console-scripts/
2. https://github.com/spulec/moto/pull/3628
3. https://github.com/spulec/moto/pull/3610

Modified:
  python-moto/trunk/PKGBUILD

--+
 PKGBUILD |   12 +++-
 1 file changed, 11 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-02-09 07:58:24 UTC (rev 850818)
+++ PKGBUILD2021-02-09 08:15:25 UTC (rev 850819)
@@ -9,6 +9,7 @@
 arch=(any)
 url='https://github.com/spulec/moto'
 license=(Apache)
+# depends on python-setuptools as pkg_resources is used is several modules
 depends=(python-aws-xray-sdk python-boto python-boto3
  python-cryptography python-dateutil python-docker python-jinja
  python-jsondiff python-jose python-mock python-yaml
@@ -66,6 +67,13 @@
   #   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
+  # * test_create_notebook_instance_bad_volume_size,
+  # * test_describe_parameters_parameter_validation: fixed in
+  #   https://github.com/spulec/moto/pull/3628. Disable tests here as the
+  #   patch cannot be applied cleanly. Note that in #3628, the removed test
+  #   test_describe_parameters_parameter_validation is one of tests split
+  #   from test_describe_parameters_invalid_parameter_filters in
+  #   https://github.com/spulec/moto/pull/3610
   TZ=UTC nosetests -s ./tests/ \
 --exclude='test_lambda' \
 --exclude='test_list_jobs' \
@@ -75,7 +83,9 @@
 --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'
+--exclude='test_put_subscription_filter_with_lambda' \
+--exclude='test_create_notebook_instance_bad_volume_size' \
+--exclude='test_describe_parameters_invalid_parameter_filters'
 }
 
 package() {