pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-cachecontrol



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Wed Oct  7 19:44:52 UTC 2020

Added Files:
        pkgsrc/devel/py-cachecontrol: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-cachecontrol/DESCR \
    pkgsrc/devel/py-cachecontrol/Makefile pkgsrc/devel/py-cachecontrol/PLIST \
    pkgsrc/devel/py-cachecontrol/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/py-cachecontrol/DESCR
diff -u /dev/null pkgsrc/devel/py-cachecontrol/DESCR:1.1
--- /dev/null   Wed Oct  7 19:44:52 2020
+++ pkgsrc/devel/py-cachecontrol/DESCR  Wed Oct  7 19:44:52 2020
@@ -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.
Index: pkgsrc/devel/py-cachecontrol/Makefile
diff -u /dev/null pkgsrc/devel/py-cachecontrol/Makefile:1.1
--- /dev/null   Wed Oct  7 19:44:52 2020
+++ pkgsrc/devel/py-cachecontrol/Makefile       Wed Oct  7 19:44:52 2020
@@ -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"
Index: pkgsrc/devel/py-cachecontrol/PLIST
diff -u /dev/null pkgsrc/devel/py-cachecontrol/PLIST:1.1
--- /dev/null   Wed Oct  7 19:44:52 2020
+++ pkgsrc/devel/py-cachecontrol/PLIST  Wed Oct  7 19:44:52 2020
@@ -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
Index: pkgsrc/devel/py-cachecontrol/distinfo
diff -u /dev/null pkgsrc/devel/py-cachecontrol/distinfo:1.1
--- /dev/null   Wed Oct  7 19:44:52 2020
+++ pkgsrc/devel/py-cachecontrol/distinfo       Wed Oct  7 19:44:52 2020
@@ -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