From owner-svn-ports-head@freebsd.org Sun Dec 29 17:30:56 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 679F81E4459; Sun, 29 Dec 2019 17:30:56 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47m6zN20Rvz3KYq; Sun, 29 Dec 2019 17:30:56 +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 25DF31CD8A; Sun, 29 Dec 2019 17:30:56 +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 xBTHUuDI068792; Sun, 29 Dec 2019 17:30:56 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBTHUtTe068788; Sun, 29 Dec 2019 17:30:55 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201912291730.xBTHUtTe068788@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, 29 Dec 2019 17:30:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r521364 - in head/devel: . py-cachecontrol X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel: . py-cachecontrol X-SVN-Commit-Revision: 521364 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Dec 2019 17:30:56 -0000 Author: sunpoet Date: Sun Dec 29 17:30:55 2019 New Revision: 521364 URL: https://svnweb.freebsd.org/changeset/ports/521364 Log: Add py-cachecontrol 0.12.6 CacheControl is a port of the caching algorithms in httplib2 for use with requests session object. It was written because httplib2's better support for caching is often mitigated by its lack of thread safety. The same is true of requests in terms of caching. WWW: https://github.com/ionrock/cachecontrol Added: head/devel/py-cachecontrol/ head/devel/py-cachecontrol/Makefile (contents, props changed) head/devel/py-cachecontrol/distinfo (contents, props changed) head/devel/py-cachecontrol/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Dec 29 17:23:22 2019 (r521363) +++ head/devel/Makefile Sun Dec 29 17:30:55 2019 (r521364) @@ -4260,6 +4260,7 @@ SUBDIR += py-buildbot-www SUBDIR += py-bullet3 SUBDIR += py-cabby + SUBDIR += py-cachecontrol SUBDIR += py-cached-property SUBDIR += py-cachetools SUBDIR += py-calendar Added: head/devel/py-cachecontrol/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-cachecontrol/Makefile Sun Dec 29 17:30:55 2019 (r521364) @@ -0,0 +1,32 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= cachecontrol +PORTVERSION= 0.12.6 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= CacheControl-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= httplib2 caching for requests + +LICENSE= APACHE20 + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0.5.2:devel/py-msgpack@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +OPTIONS_DEFINE= LOCKFILE REDIS +OPTIONS_DEFAULT=LOCKFILE +LOCKFILE_DESC= Lockfile support +REDIS_DESC= Redis support + +LOCKFILE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lockfile>=0.9:devel/py-lockfile@${PY_FLAVOR} +REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}redis>=2.10.5:databases/py-redis@${PY_FLAVOR} + +.include Added: head/devel/py-cachecontrol/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-cachecontrol/distinfo Sun Dec 29 17:30:55 2019 (r521364) @@ -0,0 +1,3 @@ +TIMESTAMP = 1577626013 +SHA256 (CacheControl-0.12.6.tar.gz) = be9aa45477a134aee56c8fac518627e1154df063e85f67d4f83ce0ccc23688e8 +SIZE (CacheControl-0.12.6.tar.gz) = 14616 Added: head/devel/py-cachecontrol/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-cachecontrol/pkg-descr Sun Dec 29 17:30:55 2019 (r521364) @@ -0,0 +1,7 @@ +CacheControl is a port of the caching algorithms in httplib2 for use with +requests session object. + +It was written because httplib2's better support for caching is often mitigated +by its lack of thread safety. The same is true of requests in terms of caching. + +WWW: https://github.com/ionrock/cachecontrol