backports/py3-limits: upgrade to 3.13.0
This commit is contained in:
parent
f4d9e64eff
commit
d3528ec8f3
1 changed files with 13 additions and 8 deletions
|
@ -1,8 +1,8 @@
|
||||||
# Contributor: lauren n. liberda <lauren@selfisekai.rocks>
|
# Contributor: lauren n. liberda <lauren@selfisekai.rocks>
|
||||||
# Maintainer: lauren n. liberda <lauren@selfisekai.rocks>
|
# Maintainer: lauren n. liberda <lauren@selfisekai.rocks>
|
||||||
pkgname=py3-limits
|
pkgname=py3-limits
|
||||||
pkgver=3.12.0
|
pkgver=3.13.0
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="Rate limiting using various strategies and storage backends such as redis & memcached"
|
pkgdesc="Rate limiting using various strategies and storage backends such as redis & memcached"
|
||||||
url="https://github.com/alisaifee/limits"
|
url="https://github.com/alisaifee/limits"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
|
@ -11,7 +11,7 @@ depends="
|
||||||
py3-deprecated
|
py3-deprecated
|
||||||
python3
|
python3
|
||||||
"
|
"
|
||||||
makedepends="py3-setuptools"
|
makedepends="py3-setuptools py3-gpep517"
|
||||||
checkdepends="
|
checkdepends="
|
||||||
py3-flaky
|
py3-flaky
|
||||||
py3-mongo
|
py3-mongo
|
||||||
|
@ -31,20 +31,25 @@ source="
|
||||||
builddir="$srcdir/limits-$pkgver"
|
builddir="$srcdir/limits-$pkgver"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
python3 setup.py build
|
gpep517 build-wheel \
|
||||||
|
--wheel-dir .dist \
|
||||||
|
--output-fd 3 3>&1 >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
pytest \
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
||||||
|
gpep517 install-wheel --destdir .testenv --prefix '' .dist/*.whl
|
||||||
|
.testenv/bin/python3 -m pytest \
|
||||||
-m 'not benchmark and not etcd and not integration and not memcached' \
|
-m 'not benchmark and not etcd and not integration and not memcached' \
|
||||||
-k 'not aio and not Storage and not strategy' -v
|
-k 'not aio and not Storage and not strategy' -v
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
gpep517 install-wheel --destdir "$pkgdir" \
|
||||||
|
.dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
2803dc26b18015e177342ed89e879f4dd680908579c99f9069d695edfa2beb3008b5bc47454ea2120a425bbcbc8a08928ab93a3058b33e11a2ae29431dfd9cd1 limits-3.12.0.tar.gz
|
0a13d08001c2f95e559ac1be35fa8cc178ad2d41bd5bf7b7e85781a428f550c350c21b92942b5b7e45f0f4c0604e96e579c8a26b5e9ca1196e6605608721030a limits-3.13.0.tar.gz
|
||||||
0364d51f9f879b95c6a4a3c9e9fd3d7d1e15ea214c50ae98cd36826b8c0b2d903cf1128741ac83738e305a207dae8955a0b2c8679484d2d6643e334595bdb1d7 our-std-is-good-enough.patch
|
0364d51f9f879b95c6a4a3c9e9fd3d7d1e15ea214c50ae98cd36826b8c0b2d903cf1128741ac83738e305a207dae8955a0b2c8679484d2d6643e334595bdb1d7 our-std-is-good-enough.patch
|
||||||
"
|
"
|
||||||
|
|
Loading…
Reference in a new issue