diff --git a/srcpkgs/python3-pyrate-limiter/template b/srcpkgs/python3-pyrate-limiter/template new file mode 100644 index 00000000000..49bd198e996 --- /dev/null +++ b/srcpkgs/python3-pyrate-limiter/template @@ -0,0 +1,23 @@ +# Template file for 'python3-pyrate-limiter' +pkgname=python3-pyrate-limiter +version=2.10.0 +revision=1 +build_style=python3-pep517 +# tests need django_redis and fakeredis +make_check_args="--ignore tests/test_with_django.py --ignore tests/test_02.py + --deselect tests/test_context_decorator.py::test_ratelimit__delay_synchronous" +hostmakedepends="python3-poetry-core" +depends="python3" +checkdepends="python3-pytest python3-pytest-asyncio python3-pytest-xdist + python3-filelock" +short_desc="Python Rate-Limiter using Leaky-Bucket Algorithm" +maintainer="Joel Beckmeyer " +license="MIT" +homepage="https://github.com/vutran1710/PyrateLimiter" +changelog="https://raw.githubusercontent.com/vutran1710/PyrateLimiter/refs/heads/master/CHANGELOG.md" +distfiles="${PYPI_SITE}/p/pyrate_limiter/pyrate_limiter-${version}.tar.gz" +checksum=98cc52cdbe058458e945ae87d4fd5a73186497ffa545ee6e98372f8599a5bd34 + +post_install() { + vlicense LICENSE +}