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
This commit is contained in:
parent
45577e7777
commit
d869b6e896
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=521364
4 changed files with 43 additions and 0 deletions
|
@ -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
|
||||
|
|
32
devel/py-cachecontrol/Makefile
Normal file
32
devel/py-cachecontrol/Makefile
Normal file
|
@ -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>
|
3
devel/py-cachecontrol/distinfo
Normal file
3
devel/py-cachecontrol/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1577626013
|
||||
SHA256 (CacheControl-0.12.6.tar.gz) = be9aa45477a134aee56c8fac518627e1154df063e85f67d4f83ce0ccc23688e8
|
||||
SIZE (CacheControl-0.12.6.tar.gz) = 14616
|
7
devel/py-cachecontrol/pkg-descr
Normal file
7
devel/py-cachecontrol/pkg-descr
Normal file
|
@ -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
|
Loading…
Reference in a new issue