pkgsrc-WIP-changes archive

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

py-cachecontrol: Import py-cachecontrol-0.12.6 as wip/py-cachecontrol



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Wed Oct 7 19:52:08 2020 +0200
Changeset:	70a7a5167717298503b982b1765ce3ca32b70f1a

Modified Files:
	Makefile
Added Files:
	py-cachecontrol/ALTERNATIVES
	py-cachecontrol/DESCR
	py-cachecontrol/Makefile
	py-cachecontrol/PLIST
	py-cachecontrol/distinfo

Log Message:
py-cachecontrol: Import py-cachecontrol-0.12.6 as wip/py-cachecontrol

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.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=70a7a5167717298503b982b1765ce3ca32b70f1a

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

diffstat:
 Makefile                     |  1 +
 py-cachecontrol/ALTERNATIVES |  1 +
 py-cachecontrol/DESCR        |  6 ++++++
 py-cachecontrol/Makefile     | 22 +++++++++++++++++++++
 py-cachecontrol/PLIST        | 47 ++++++++++++++++++++++++++++++++++++++++++++
 py-cachecontrol/distinfo     |  6 ++++++
 6 files changed, 83 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 164f7f3499..185f989b2d 100644
--- a/Makefile
+++ b/Makefile
@@ -3176,6 +3176,7 @@ SUBDIR+=	py-bsddb
 SUBDIR+=	py-bson
 SUBDIR+=	py-bumpversion
 SUBDIR+=	py-bxa
+SUBDIR+=	py-cachecontrol
 SUBDIR+=	py-cachelib
 SUBDIR+=	py-calphad
 SUBDIR+=	py-calverter
diff --git a/py-cachecontrol/ALTERNATIVES b/py-cachecontrol/ALTERNATIVES
new file mode 100644
index 0000000000..e008071a14
--- /dev/null
+++ b/py-cachecontrol/ALTERNATIVES
@@ -0,0 +1 @@
+bin/doesitcache @PREFIX@/bin/doesitcache@PYVERSSUFFIX@
diff --git a/py-cachecontrol/DESCR b/py-cachecontrol/DESCR
new file mode 100644
index 0000000000..d383e65f0c
--- /dev/null
+++ b/py-cachecontrol/DESCR
@@ -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 --git a/py-cachecontrol/Makefile b/py-cachecontrol/Makefile
new file mode 100644
index 0000000000..9cc0c297ed
--- /dev/null
+++ b/py-cachecontrol/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+DISTNAME=	CacheControl-0.12.6
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME:tl}
+CATEGORIES=	www python
+MASTER_SITES=	${MASTER_SITE_PYPI:=C/CacheControl/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/ionrock/cachecontrol
+COMMENT=	httplib2 caching for requests
+LICENSE=	apache-2.0
+
+DEPENDS+=	${PYPKGPREFIX}-msgpack>=0.5.2:../../devel/py-msgpack
+DEPENDS+=	${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
+
+USE_LANGUAGES=	# none
+
+post-install:
+	${MV} ${DESTDIR}${PREFIX}/bin/doesitcache ${DESTDIR}${PREFIX}/bin/doesitcache${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-cachecontrol/PLIST b/py-cachecontrol/PLIST
new file mode 100644
index 0000000000..a7f04371f2
--- /dev/null
+++ b/py-cachecontrol/PLIST
@@ -0,0 +1,47 @@
+@comment $NetBSD$
+bin/doesitcache${PYVERSSUFFIX}
+${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 --git a/py-cachecontrol/distinfo b/py-cachecontrol/distinfo
new file mode 100644
index 0000000000..0d9c340a69
--- /dev/null
+++ b/py-cachecontrol/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+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