pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-cachecontrol Initial import of py-cachecontro...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fdfc092686f5
branches:  trunk
changeset: 440372:fdfc092686f5
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Wed Oct 07 19:44:52 2020 +0000

description:
Initial import of py-cachecontrol, 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.

diffstat:

 devel/py-cachecontrol/DESCR    |   6 +++++
 devel/py-cachecontrol/Makefile |  19 ++++++++++++++++
 devel/py-cachecontrol/PLIST    |  47 ++++++++++++++++++++++++++++++++++++++++++
 devel/py-cachecontrol/distinfo |   6 +++++
 4 files changed, 78 insertions(+), 0 deletions(-)

diffs (94 lines):

diff -r 98d894b9619d -r fdfc092686f5 devel/py-cachecontrol/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-cachecontrol/DESCR       Wed Oct 07 19:44:52 2020 +0000
@@ -0,0 +1,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.
diff -r 98d894b9619d -r fdfc092686f5 devel/py-cachecontrol/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-cachecontrol/Makefile    Wed Oct 07 19:44:52 2020 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2020/10/07 19:44:52 schmonz Exp $
+
+DISTNAME=      CacheControl-0.12.6
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
+CATEGORIES=    devel python python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=C/CacheControl/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/ionrock/cachecontrol
+COMMENT=       Port of httplib2's caching to requests
+LICENSE=       apache-2.0
+
+DEPENDS+=      ${PYPKGPREFIX}-requests>=0:../../devel/py-requests
+DEPENDS+=      ${PYPKGPREFIX}-msgpack>=0.5.2:../../devel/py-msgpack
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 98d894b9619d -r fdfc092686f5 devel/py-cachecontrol/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-cachecontrol/PLIST       Wed Oct 07 19:44:52 2020 +0000
@@ -0,0 +1,47 @@
+@comment $NetBSD: PLIST,v 1.1 2020/10/07 19:44:52 schmonz Exp $
+bin/doesitcache
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/cachecontrol/__init__.py
+${PYSITELIB}/cachecontrol/__init__.pyc
+${PYSITELIB}/cachecontrol/__init__.pyo
+${PYSITELIB}/cachecontrol/_cmd.py
+${PYSITELIB}/cachecontrol/_cmd.pyc
+${PYSITELIB}/cachecontrol/_cmd.pyo
+${PYSITELIB}/cachecontrol/adapter.py
+${PYSITELIB}/cachecontrol/adapter.pyc
+${PYSITELIB}/cachecontrol/adapter.pyo
+${PYSITELIB}/cachecontrol/cache.py
+${PYSITELIB}/cachecontrol/cache.pyc
+${PYSITELIB}/cachecontrol/cache.pyo
+${PYSITELIB}/cachecontrol/caches/__init__.py
+${PYSITELIB}/cachecontrol/caches/__init__.pyc
+${PYSITELIB}/cachecontrol/caches/__init__.pyo
+${PYSITELIB}/cachecontrol/caches/file_cache.py
+${PYSITELIB}/cachecontrol/caches/file_cache.pyc
+${PYSITELIB}/cachecontrol/caches/file_cache.pyo
+${PYSITELIB}/cachecontrol/caches/redis_cache.py
+${PYSITELIB}/cachecontrol/caches/redis_cache.pyc
+${PYSITELIB}/cachecontrol/caches/redis_cache.pyo
+${PYSITELIB}/cachecontrol/compat.py
+${PYSITELIB}/cachecontrol/compat.pyc
+${PYSITELIB}/cachecontrol/compat.pyo
+${PYSITELIB}/cachecontrol/controller.py
+${PYSITELIB}/cachecontrol/controller.pyc
+${PYSITELIB}/cachecontrol/controller.pyo
+${PYSITELIB}/cachecontrol/filewrapper.py
+${PYSITELIB}/cachecontrol/filewrapper.pyc
+${PYSITELIB}/cachecontrol/filewrapper.pyo
+${PYSITELIB}/cachecontrol/heuristics.py
+${PYSITELIB}/cachecontrol/heuristics.pyc
+${PYSITELIB}/cachecontrol/heuristics.pyo
+${PYSITELIB}/cachecontrol/serialize.py
+${PYSITELIB}/cachecontrol/serialize.pyc
+${PYSITELIB}/cachecontrol/serialize.pyo
+${PYSITELIB}/cachecontrol/wrapper.py
+${PYSITELIB}/cachecontrol/wrapper.pyc
+${PYSITELIB}/cachecontrol/wrapper.pyo
diff -r 98d894b9619d -r fdfc092686f5 devel/py-cachecontrol/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-cachecontrol/distinfo    Wed Oct 07 19:44:52 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/10/07 19:44:52 schmonz Exp $
+
+SHA1 (CacheControl-0.12.6.tar.gz) = 213bd9dd49b9a4b8ea6aa797cd86f4ce19ed13a7
+RMD160 (CacheControl-0.12.6.tar.gz) = 67bcb07c66fed67504390434cce0e02050336f72
+SHA512 (CacheControl-0.12.6.tar.gz) = 5269624dd523c4f94b258ba4d35d2fce65779377c601c1ade01b1058a6616319725fde10b188fbc7015ac263537fb11085272fbbb9b595e87c187521066a567a
+Size (CacheControl-0.12.6.tar.gz) = 14616 bytes



Home | Main Index | Thread Index | Old Index