Port details |
- py-requests-cache93 Transparent persistent cache for the requests library (0.9.3 branch)
- 0.9.3_2 www =2 0.9.3_2Version of this port present on the latest quarterly branch.
- Maintainer: bofh@FreeBSD.org
- Port Added: 2022-06-06 11:30:05
- Last Update: 2023-11-27 10:30:09
- Commit Hash: 52e564d
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: BSD2CLAUSE
- WWW:
- https://github.com/requests-cache/requests-cache
- Description:
- requests-cache is a transparent, persistent cache that provides an easy way to
get better performance with the python requests library.
Features:
- Ease of use: Keep using the requests library you're already familiar with. Add
caching with a drop-in replacement for requests.Session, or install globally
to add caching to all requests functions.
- Performance: Get sub-millisecond response times for cached responses. When
they expire, you still save time with conditional requests.
- Persistence: Works with several storage backends including SQLite, Redis,
MongoDB, and DynamoDB; or save responses as plain JSON files, YAML, and more
- Customization: Works out of the box with zero config, but with a robust set of
features for configuring and extending the library to suit your needs
- Expiration: Keep your cache fresh using Cache-Control, eagerly cache
everything for long-term storage, use URL patterns for selective caching, or
any combination of strategies
- Compatibility: Can be combined with other popular libraries based on requests
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}requests-cache93>0:www/py-requests-cache93@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/www/py-requests-cache93/ && make install clean
- To add the package, run one of these commands:
- pkg install www/py-requests-cache93
- pkg install py39-requests-cache93
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-requests-cache93 listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-requests-cache93
- Package flavors (<flavor>: <package>)
- py39: py39-requests-cache93
- distinfo:
- TIMESTAMP = 1654497752
SHA256 (requests-cache-0.9.3.tar.gz) = b32f8afba2439e1b3e12cba511c8f579271eff827f063210d62f9efa5bed6564
SIZE (requests-cache-0.9.3.tar.gz) = 1506512
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-appdirs>=1.4.4<2.0.0 : devel/py-appdirs@py39
- py39-attrs>=21.2 : devel/py-attrs@py39
- py39-cattrs>=1.8<23.3 : devel/py-cattrs@py39
- py39-requests>=2.22<3.0 : www/py-requests@py39
- py39-url-normalize>=1.4<2.0 : net/py-url-normalize@py39
- py39-urllib3>=1.25.5,1<2.0.0,1 : net/py-urllib3@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- www/py-tvdb_api
Configuration Options:
- No options to configure
- Options name:
- www_py-requests-cache93
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.9.3_2 27 Nov 2023 10:30:09 |
Po-Chuan Hsieh (sunpoet) |
www/py-requests-cache93: Allow build with py-cattrs 23.2.2
- Bump PORTREVISION for package change |
0.9.3_1 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
0.9.3_1 11 Jan 2023 15:58:34 |
Dmitry Marakasov (amdmi3) |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
0.9.3_1 09 Oct 2022 15:38:12 |
Po-Chuan Hsieh (sunpoet) |
www/py-requests-cache93: Allow build with py-cattrs 22.2.0
- Bump PORTREVISION for package change |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.9.3_1 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.9.3_1 27 Aug 2022 10:27:08 |
Po-Chuan Hsieh (sunpoet) |
www/py-requests-cache93: Allow build with py-attrs 22.1.0
- Bump PORTREVISION for package change |
0.9.3 19 Jul 2022 19:12:34 |
Muhammad Moinur Rahman (bofh) |
www/py-requests-cache93: Fix PORTSCOUT |
0.9.3 19 Jul 2022 11:39:12 |
Muhammad Moinur Rahman (bofh) |
www/py-requests-cache93: Add PORTSCOUT |
0.9.3 07 Jul 2022 12:36:28 |
Po-Chuan Hsieh (sunpoet) |
www/py-requests-cache93: Update WWW
Approved by: portmgr (blanket) |
0.9.3 21 Jun 2022 16:36:34 |
Po-Chuan Hsieh (sunpoet) |
www/py-requests-cache93: Allow build with py-cattrs 22.1.0
Obtained
from: https://github.com/requests-cache/requests-cache/commit/66550b5355f4a4f063b4b22c3139a2f941c91eb4 |
0.9.3 06 Jun 2022 11:28:44 |
Muhammad Moinur Rahman (bofh) |
www/py-requests-cache93: New Port
This is 0.9.3 branch of www/py-requests-cache which is required for
www/py-tvdb_api
requests-cache is a transparent, persistent cache that provides an easy
way to get better performance with the python requests library.
Features:
- Ease of use: Keep using the requests library you're already familiar
with. Add caching with a drop-in replacement for requests.Session, or
install globally to add caching to all requests functions.
- Performance: Get sub-millisecond response times for cached responses.
When they expire, you still save time with conditional requests.
- Persistence: Works with several storage backends including SQLite, (Only the first 15 lines of the commit message are shown above ) |