Chih-Hsuan Yen pushed to branch main at Arch Linux / Packaging / Packages / 
python-moto


Commits:
835d03b0 by Chih-Hsuan Yen at 2023-12-23T19:37:03+08:00
upgpkg: 4.2.12-1

* typing-extensions.diff not needed after 
https://github.com/getmoto/moto/pull/7045
* add-requires_docker.diff is merged with 
https://github.com/getmoto/moto/pull/7048

- - - - -


4 changed files:

- .SRCINFO
- PKGBUILD
- − add-requires_docker.diff
- − typing-extensions.diff


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = python-moto
        pkgdesc = Moto is a library to mock out the boto library.
-       pkgver = 4.2.9
+       pkgver = 4.2.12
        pkgrel = 1
        url = https://github.com/spulec/moto
        arch = any
@@ -53,13 +53,9 @@ pkgbase = python-moto
        optdepends = python-flask: for moto_server
        optdepends = python-flask-cors: for moto_server
        optdepends = python-multipart: for moto_proxy
-       source = 
https://github.com/getmoto/moto/archive/refs/tags/4.2.9/python-moto-4.2.9.tar.gz
+       source = 
https://github.com/getmoto/moto/archive/refs/tags/4.2.12/python-moto-4.2.12.tar.gz
        source = fix-tests.diff
-       source = typing-extensions.diff
-       source = add-requires_docker.diff
-       sha256sums = 
c5b77fee5f371694ff2b7027c9c1b48f204a43e6da6a6dc7517de0dc7db6da9b
+       sha256sums = 
55e3bba30011512327389a86feeda7d820270849454be09e46c28f1239019451
        sha256sums = 
21305cdf3d650ced1acb1d0f7dde8760b26e32a94c56a5571e798d6b6976cf5a
-       sha256sums = 
8406f4c68b8b43c3666fe5a153de1321a9bc9f02ad19910c6078d8189d8cb24f
-       sha256sums = 
178b2c2a4d9b1a74220885ebdf9b521f212534acf8611b0352a2ed59d77e134d
 
 pkgname = python-moto


=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
 pkgname=python-moto
 _pkgname=moto
 # https://github.com/spulec/moto/blob/master/CHANGELOG.md
-pkgver=4.2.9
+pkgver=4.2.12
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -49,20 +49,14 @@ checkdepends+=(python-yaml python-jose 
python-openapi-spec-validator python-dock
                python-crc32c
                python-flask python-flask-cors python-multipart)
 
source=("https://github.com/getmoto/moto/archive/refs/tags/$pkgver/$pkgname-$pkgver.tar.gz";
-        "fix-tests.diff"
-        "typing-extensions.diff"
-        "add-requires_docker.diff")
-sha256sums=('c5b77fee5f371694ff2b7027c9c1b48f204a43e6da6a6dc7517de0dc7db6da9b'
-            '21305cdf3d650ced1acb1d0f7dde8760b26e32a94c56a5571e798d6b6976cf5a'
-            '8406f4c68b8b43c3666fe5a153de1321a9bc9f02ad19910c6078d8189d8cb24f'
-            '178b2c2a4d9b1a74220885ebdf9b521f212534acf8611b0352a2ed59d77e134d')
+        "fix-tests.diff")
+sha256sums=('55e3bba30011512327389a86feeda7d820270849454be09e46c28f1239019451'
+            '21305cdf3d650ced1acb1d0f7dde8760b26e32a94c56a5571e798d6b6976cf5a')
 
 prepare() {
   cd $_pkgname-$pkgver
 
   patch -Np1 -i ../fix-tests.diff
-  patch -Np1 -i ../typing-extensions.diff
-  patch -Np0 -i ../add-requires_docker.diff
 }
 
 build() {


=====================================
add-requires_docker.diff deleted
=====================================
@@ -1,10 +0,0 @@
---- tests/test_batch/test_batch_jobs.py        2023-11-19 16:28:35.154464263 
+0800
-+++ tests/test_batch/test_batch_jobs.py        2023-11-19 16:28:52.380960286 
+0800
-@@ -409,6 +409,7 @@
- @mock_ecs
- @mock_iam
- @mock_batch
-+@requires_docker
- def test_cancel_pending_job():
-     ec2_client, iam_client, _, _, batch_client = _get_clients()
-     _, _, _, iam_arn = _setup(ec2_client, iam_client)


=====================================
typing-extensions.diff deleted
=====================================
@@ -1,16 +0,0 @@
-diff -ur moto-4.2.2.orig/moto/identitystore/models.py 
moto-4.2.2/moto/identitystore/models.py
---- moto-4.2.2.orig/moto/identitystore/models.py       2023-09-08 
20:34:39.481595401 +0800
-+++ moto-4.2.2/moto/identitystore/models.py    2023-09-08 20:35:43.999914179 
+0800
-@@ -1,5 +1,10 @@
--from typing import Dict, Tuple, List, Any, NamedTuple, Optional
--from typing_extensions import Self
-+from typing import Dict, Tuple, List, Any, NamedTuple, Optional, TYPE_CHECKING
-+
-+if TYPE_CHECKING:
-+    from typing_extensions import Self
-+else:
-+    Self = object
-+
- from moto.utilities.paginator import paginate
- 
- from botocore.exceptions import ParamValidationError



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-moto/-/commit/835d03b0361fe35d82db55cbc13b6a47e2923924

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-moto/-/commit/835d03b0361fe35d82db55cbc13b6a47e2923924
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to