Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2018 20:06:39 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473217 - in head/devel: . py-ratelimiter
Message-ID:  <201806242006.w5OK6dSZ043391@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Jun 24 20:06:39 2018
New Revision: 473217
URL: https://svnweb.freebsd.org/changeset/ports/473217

Log:
  Add py-ratelimiter 1.2.0
  
  This package provides the ratelimiter module, which ensures that an operation
  will not be executed more than a given number of times on a given period. This
  can prove useful when working with third parties APIs which require for example
  a maximum of 10 requests per second.
  
  WWW: https://github.com/RazerM/ratelimiter

Added:
  head/devel/py-ratelimiter/
  head/devel/py-ratelimiter/Makefile   (contents, props changed)
  head/devel/py-ratelimiter/distinfo   (contents, props changed)
  head/devel/py-ratelimiter/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun Jun 24 20:06:33 2018	(r473216)
+++ head/devel/Makefile	Sun Jun 24 20:06:39 2018	(r473217)
@@ -4952,6 +4952,7 @@
     SUBDIR += py-qt5-test
     SUBDIR += py-qtconsole
     SUBDIR += py-ramlfications
+    SUBDIR += py-ratelimiter
     SUBDIR += py-rauth
     SUBDIR += py-raven
     SUBDIR += py-rcsparse

Added: head/devel/py-ratelimiter/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-ratelimiter/Makefile	Sun Jun 24 20:06:39 2018	(r473217)
@@ -0,0 +1,27 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	ratelimiter
+PORTVERSION=	1.2.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Simple python rate limiting object
+
+LICENSE=	APACHE20
+
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=3.0:devel/py-pytest@${PY_FLAVOR}
+
+NO_ARCH=	yes
+USE_PYTHON=	autoplist concurrent distutils
+USES=		python
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} >= 3500
+TEST_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>

Added: head/devel/py-ratelimiter/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-ratelimiter/distinfo	Sun Jun 24 20:06:39 2018	(r473217)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1529858638
+SHA256 (ratelimiter-1.2.0.tar.gz) = f724b256264afdeab0225ec174728b0f8af1afd1cc122463150daf226b411fb6
+SIZE (ratelimiter-1.2.0.tar.gz) = 4189

Added: head/devel/py-ratelimiter/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-ratelimiter/pkg-descr	Sun Jun 24 20:06:39 2018	(r473217)
@@ -0,0 +1,6 @@
+This package provides the ratelimiter module, which ensures that an operation
+will not be executed more than a given number of times on a given period. This
+can prove useful when working with third parties APIs which require for example
+a maximum of 10 requests per second.
+
+WWW: https://github.com/RazerM/ratelimiter



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806242006.w5OK6dSZ043391>