Date: Wednesday, September 21, 2022 @ 16:39:00
  Author: yan12125
Revision: 1306088

upgpkg: python-moto 4.0.5-1; update dependencies following upstream

* flask is changed from optional to required [1]
* Jinja2 is no longer a dependency varied with Python versions [2]
* more-itertools is no longer needed [3]

[1] https://github.com/spulec/moto/pull/5471
[2] https://github.com/spulec/moto/pull/3915
[3] https://github.com/spulec/moto/pull/4576

Modified:
  python-moto/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-09-21 15:40:20 UTC (rev 1306087)
+++ PKGBUILD    2022-09-21 16:39:00 UTC (rev 1306088)
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=4.0.3
+pkgver=4.0.5
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -16,8 +16,7 @@
 # [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-jinja python-flask python-flask-cors)
 # See reqquirements-test.txt, excluding pytest-cov
 checkdepends=(python-pytest python-sure python-freezegun)
 # Below are optional dependencies. The order matches _dep_* items in upstream 
`setup.py`.
@@ -36,14 +35,12 @@
   'python-cfn-lint: for cloudformation'
   '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-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)
+               python-cfn-lint python-sshpubkeys python-pyparsing)
 
source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz";)
-sha256sums=('8aeb56757e686af3e4a63f90afbc973cb231adaad87c5ce89e68936c109b0be9')
+sha256sums=('81312005827902ef88003aec0f92c79761e94e1e478994d18b56100ff020a511')
 
 prepare() {
   cd $_pkgname-$pkgver

Reply via email to