python3-cachecontrol: initial commit, version 0.12.6

This commit is contained in:
Tim Biermann 2021-06-14 19:51:46 +00:00
parent 3fdbc7326d
commit 19753ce483
Signed by: tb
GPG Key ID: 42F8B4E30B673606
4 changed files with 92 additions and 0 deletions

View File

@ -0,0 +1,43 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/doesitcache
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/python3.9/
drwxr-xr-x root/root usr/lib/python3.9/site-packages/
drwxr-xr-x root/root usr/lib/python3.9/site-packages/CacheControl-0.12.6-py3.9.egg-info/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/CacheControl-0.12.6-py3.9.egg-info/PKG-INFO
-rw-r--r-- root/root usr/lib/python3.9/site-packages/CacheControl-0.12.6-py3.9.egg-info/SOURCES.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/CacheControl-0.12.6-py3.9.egg-info/dependency_links.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/CacheControl-0.12.6-py3.9.egg-info/entry_points.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/CacheControl-0.12.6-py3.9.egg-info/requires.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/CacheControl-0.12.6-py3.9.egg-info/top_level.txt
drwxr-xr-x root/root usr/lib/python3.9/site-packages/cachecontrol/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/__init__.py
drwxr-xr-x root/root usr/lib/python3.9/site-packages/cachecontrol/__pycache__/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/__pycache__/__init__.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/__pycache__/_cmd.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/__pycache__/adapter.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/__pycache__/cache.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/__pycache__/compat.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/__pycache__/controller.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/__pycache__/filewrapper.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/__pycache__/heuristics.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/__pycache__/serialize.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/__pycache__/wrapper.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/_cmd.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/adapter.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/cache.py
drwxr-xr-x root/root usr/lib/python3.9/site-packages/cachecontrol/caches/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/caches/__init__.py
drwxr-xr-x root/root usr/lib/python3.9/site-packages/cachecontrol/caches/__pycache__/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/caches/__pycache__/__init__.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/caches/__pycache__/file_cache.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/caches/__pycache__/redis_cache.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/caches/file_cache.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/caches/redis_cache.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/compat.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/controller.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/filewrapper.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/heuristics.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/serialize.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachecontrol/wrapper.py

View File

@ -0,0 +1,4 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF35q3om7zqqTVlJCMjVknnOhEsv4x8Ub5LjP4mq4BJzjMrMI0bT7qwz5dteqdZaAaiN5tUeNNZBCTwCXOx5BhHQI=
SHA256 (Pkgfile) = f98097344390b07e82c4016aaa32e805e45661f7b51a955d057939437b705087
SHA256 (.footprint) = 38ad6e755008e1fe2e81c03938ac8a38a93b3864a882049b383e8c8117e4687d

View File

@ -0,0 +1,26 @@
From 5949227996ba403eecaf6fb961c2f2a6aca4d3e2 Mon Sep 17 00:00:00 2001
From: Eli Schwartz <eschwartz93@gmail.com>
Date: Thu, 7 Jun 2018 12:39:59 -0400
Subject: [PATCH] Remove unnecessary console script
The purpose of this module is to cache things, not to test if they
*can* be cached. This clutters up the $PATH.
---
setup.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/setup.py b/setup.py
index 34f5f44..95e1741 100644
--- a/setup.py
+++ b/setup.py
@@ -19,7 +19,6 @@ setup_params = dict(
long_description=long_description,
install_requires=["requests", "msgpack"],
extras_require={"filecache": ["lockfile>=0.9"], "redis": ["redis>=2.10.5"]},
- entry_points={"console_scripts": ["doesitcache = cachecontrol._cmd:main"]},
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
classifiers=[
"Development Status :: 4 - Beta",
--
2.17.1

View File

@ -0,0 +1,19 @@
# Description: httplib2 caching for requests
# URL: https://github.com/ionrock/cachecontrol
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-msgpack python3-requests
# Optional: python3-lockfile
name=python3-cachecontrol
version=0.12.6
release=1
source=(https://github.com/ionrock/cachecontrol/archive/v$version/$name-$version.tar.gz
0001-Remove-unnecessary-console-script.patch)
build() {
cd cachecontrol-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr \
--root=$PKG \
--skip-build
}