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

Chih-Hsuan Yen yan12125 at archlinux.org
Sun Mar 7 14:15:34 UTC 2021


    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
===================================================================
--- PKGBUILD	2021-03-07 13:49:56 UTC (rev 886019)
+++ PKGBUILD	2021-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() {



More information about the arch-commits mailing list