backports/py3-limits: upgrade to 3.12.0

This commit is contained in:
Antoine Martin 2024-06-02 19:15:29 -04:00
parent c2f2218c0a
commit 7f99c70ce5
2 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
# Contributor: lauren n. liberda <lauren@selfisekai.rocks>
# Maintainer: lauren n. liberda <lauren@selfisekai.rocks>
pkgname=py3-limits
pkgver=3.10.1
pkgver=3.12.0
pkgrel=0
pkgdesc="Rate limiting using various strategies and storage backends such as redis & memcached"
url="https://github.com/alisaifee/limits"
@ -45,6 +45,6 @@ package() {
}
sha512sums="
5daa23a2a53dc56ba8e24fe72000bd69bfade9956a159c02731ef3a240682f467c4ae1f58878139fd9d0f67806bf115f6f97999160a2f66f34c64fdad1503d70 limits-3.10.1.tar.gz
8db0d96f860a07bbc554504a6e94b61546a6be22c0b9736c6b5aca628db9b618efc30609fce3702ee8e3812e1e34329c04d2f34bd69fdaecaa7c7fa0a2bde8a7 our-std-is-good-enough.patch
2803dc26b18015e177342ed89e879f4dd680908579c99f9069d695edfa2beb3008b5bc47454ea2120a425bbcbc8a08928ab93a3058b33e11a2ae29431dfd9cd1 limits-3.12.0.tar.gz
0364d51f9f879b95c6a4a3c9e9fd3d7d1e15ea214c50ae98cd36826b8c0b2d903cf1128741ac83738e305a207dae8955a0b2c8679484d2d6643e334595bdb1d7 our-std-is-good-enough.patch
"

View file

@ -11,12 +11,12 @@
from limits.typing import Dict, List, NamedTuple, Optional, Tuple, Type, Union
--- ./limits/typing.py.orig
+++ ./limits/typing.py
@@ -11,7 +11,7 @@
@@ -13,7 +13,7 @@
Union,
)
-from typing_extensions import ClassVar, Counter, ParamSpec, Protocol
+from typing import ClassVar, Counter, ParamSpec, Protocol
-from typing_extensions import ClassVar, Counter, ParamSpec, Protocol, TypeAlias
+from typing import ClassVar, Counter, ParamSpec, Protocol, TypeAlias
Serializable = Union[int, str, float]