2023-11-24 18:22:36 +00:00
|
|
|
# Contributor: lauren n. liberda <lauren@selfisekai.rocks>
|
|
|
|
# Maintainer: lauren n. liberda <lauren@selfisekai.rocks>
|
2023-08-30 17:38:47 +00:00
|
|
|
pkgname=py3-flask-limiter
|
2023-11-24 18:22:36 +00:00
|
|
|
pkgver=3.5.0
|
2023-08-30 17:38:47 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Rate Limiting extension for Flask"
|
|
|
|
url="https://github.com/alisaifee/flask-limiter"
|
|
|
|
arch="noarch"
|
|
|
|
license="MIT"
|
|
|
|
depends="
|
|
|
|
py3-flask
|
|
|
|
py3-limits
|
|
|
|
py3-ordered-set
|
|
|
|
py3-rich
|
|
|
|
python3
|
|
|
|
"
|
|
|
|
makedepends="py3-setuptools"
|
|
|
|
checkdepends="
|
|
|
|
py3-flask-restful
|
|
|
|
py3-flask-restx
|
|
|
|
py3-limits-mongodb
|
|
|
|
py3-limits-redis
|
|
|
|
py3-pytest
|
|
|
|
py3-pytest-cov
|
|
|
|
"
|
|
|
|
options="!check" # tests depend on unpackaged modules
|
|
|
|
subpackages="$pkgname-pyc"
|
|
|
|
source="
|
|
|
|
https://github.com/alisaifee/flask-limiter/archive/refs/tags/$pkgver/flask-limiter-$pkgver.tar.gz
|
|
|
|
|
|
|
|
our-std-is-good-enough.patch
|
|
|
|
"
|
|
|
|
builddir="$srcdir/flask-limiter-$pkgver"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
python3 setup.py build
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
pytest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2023-11-24 18:22:36 +00:00
|
|
|
f97fd830fd0bbb2186c82451643413420be93872ed17d71d20c830a76ec3aee999bcda3a07b9d27d4602ef5fcd33f78888dc5d75c220eae5cb83ef02853151e6 flask-limiter-3.5.0.tar.gz
|
2023-08-30 17:38:47 +00:00
|
|
|
1b90e9134076cda249695d5ea741db9d205a2ae452c7d6edfe01eb37a221ce6f64b0e8ddcdbbee9b0e0fb16a28e5eabf14f1c1e41e965c7e3b93ea4f42caf553 our-std-is-good-enough.patch
|
|
|
|
"
|