62dcd57a6a
1.0.1: Bug fix * Duplicate rate limits applied via application limits 1.0.0: Improved documentation for handling ip addresses for applications behind proxiues Execute rate limits for decorated routes in decorator instead of before_request Bug Fix * Python 3.5 Errors * RATELIMIT_KEY_PREFIX configuration constant not used * Can't use dynamic limit in default_limits * Retry-After header always zero when using key prefix
22 lines
637 B
Makefile
22 lines
637 B
Makefile
# $NetBSD: Makefile,v 1.6 2018/01/03 07:46:56 adam Exp $
|
|
|
|
DISTNAME= Flask-Limiter-1.0.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= www python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=F/Flask-Limiter/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://flask-limiter.readthedocs.org/
|
|
COMMENT= Rate limiting for flask applications
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-flask>=0.8:../../www/py-flask
|
|
DEPENDS+= ${PYPKGPREFIX}-limits-[0-9]*:../../devel/py-limits
|
|
DEPENDS+= ${PYPKGPREFIX}-six>=1.4.1:../../lang/py-six
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
EGG_NAME= ${DISTNAME:S/-/_/1}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|