From owner-svn-ports-all@freebsd.org Sun Jun 24 20:06:41 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C626C100C76D; Sun, 24 Jun 2018 20:06:41 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E06FE74FEE; Sun, 24 Jun 2018 20:06:40 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8DA07234AC; Sun, 24 Jun 2018 20:06:40 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5OK6el5043396; Sun, 24 Jun 2018 20:06:40 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5OK6dSZ043391; Sun, 24 Jun 2018 20:06:39 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201806242006.w5OK6dSZ043391@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 24 Jun 2018 20:06:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473217 - in head/devel: . py-ratelimiter X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel: . py-ratelimiter X-SVN-Commit-Revision: 473217 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jun 2018 20:06:42 -0000 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 +# $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 + +.if ${PYTHON_REL} >= 3500 +TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} +.endif + +.include 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