Date: Sun, 29 Dec 2019 17:30:55 +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: r521364 - in head/devel: . py-cachecontrol Message-ID: <201912291730.xBTHUtTe068788@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <sunpoet@FreeBSD.org> +# $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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912291730.xBTHUtTe068788>