Port details |
- py-requests-cache Persistent cache for python requests
- 1.2.1 www
=2 1.2.1Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2017-10-26 11:34:09
- Last Update: 2024-07-03 04:36:54
- Commit Hash: 80d13d7
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: BSD2CLAUSE
- WWW:
- https://requests-cache.readthedocs.io/en/stable/
- 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-cache>0:www/py-requests-cache@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/www/py-requests-cache/ && make install clean
- To add the package, run one of these commands:
- pkg install www/py-requests-cache
- pkg install py311-requests-cache
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 py311-requests-cache listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-requests-cache
- Package flavors (<flavor>: <package>)
- py311: py311-requests-cache
- distinfo:
- TIMESTAMP = 1718784565
SHA256 (requests_cache-1.2.1.tar.gz) = 68abc986fdc5b8d0911318fbb5f7c80eebcd4d01bfacc6685ecf8876052511d1
SIZE (requests_cache-1.2.1.tar.gz) = 3018209
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:
-
- py311-poetry-core>=1.0.0 : devel/py-poetry-core@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-attrs>=21.2 : devel/py-attrs@py311
- py311-cattrs>=22.2 : devel/py-cattrs@py311
- py311-platformdirs>=2.5 : devel/py-platformdirs@py311
- py311-requests>=2.22 : www/py-requests@py311
- py311-url-normalize>=1.4 : net/py-url-normalize@py311
- py311-urllib3>=1.25.5,1 : net/py-urllib3@py311
- python3.11 : lang/python311
- This port is required by:
- for Run
-
- devel/py-fastf1
- multimedia/mythtv
Configuration Options:
- No options to configure
- Options name:
- www_py-requests-cache
- 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 |
1.2.1 03 Jul 2024 04:36:54
    |
Po-Chuan Hsieh (sunpoet)  |
www/py-requests-cache: Update to 1.2.1
Changes: https://github.com/requests-cache/requests-cache/releases
https://github.com/requests-cache/requests-cache/blob/main/HISTORY.md
https://requests-cache.readthedocs.io/en/stable/project_info/history.html |
1.2.0 09 Mar 2024 14:06:21
    |
Po-Chuan Hsieh (sunpoet)  |
www/py-requests-cache: Update to 1.2.0
Changes: https://github.com/requests-cache/requests-cache/releases
https://github.com/requests-cache/requests-cache/blob/main/HISTORY.md
https://requests-cache.readthedocs.io/en/stable/project_info/history.html |
1.1.1 27 Nov 2023 10:28:25
    |
Po-Chuan Hsieh (sunpoet)  |
www/py-requests-cache: Update to 1.1.1
Changes: https://github.com/requests-cache/requests-cache/releases
https://github.com/requests-cache/requests-cache/blob/main/HISTORY.md
https://requests-cache.readthedocs.io/en/stable/project_info/history.html |
1.1.0 31 Jul 2023 16:40:18
    |
Po-Chuan Hsieh (sunpoet)  |
www/py-requests-cache: Update to 1.1.0
- Update WWW
Changes: https://github.com/requests-cache/requests-cache/releases
https://github.com/requests-cache/requests-cache/blob/main/HISTORY.md
https://requests-cache.readthedocs.io/en/stable/project_info/history.html |
0.9.8 09 Jul 2023 10:21:20
    |
Po-Chuan Hsieh (sunpoet)  |
www/py-requests-cache: Update to 0.9.8
Changes: https://github.com/requests-cache/requests-cache/releases
https://github.com/requests-cache/requests-cache/blob/main/HISTORY.md |
0.9.6_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.6_1 07 May 2023 16:04:26
    |
Po-Chuan Hsieh (sunpoet)  |
www/py-requests-cache: Convert to USE_PYTHON=pep517
- Clean up RUN_DEPENDS: py-exceptiongroup is not needed anymore after py-cattrs
22.2.0 update
- Bump PORTREVISION for dependency and package change |
0.9.6 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
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.6 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.6 31 Aug 2022 18:49:46
    |
Po-Chuan Hsieh (sunpoet)  |
www/py-requests-cache: Update to 0.9.6
Changes: https://github.com/requests-cache/requests-cache/releases
https://github.com/requests-cache/requests-cache/blob/main/HISTORY.md |
0.9.5_1 27 Aug 2022 10:25:05
    |
Po-Chuan Hsieh (sunpoet)  |
www/py-requests-cache: Allow build with py-attrs 22.1.0
- Bump PORTREVISION for package change |
0.9.5 20 Jul 2022 14:23:26
    |
Tobias C. Berner (tcberner)  |
www: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
*
* <hvo.pm@xs4all.nl>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron LI <aly@aaronly.me>
* Aaron Zauner <az_mail@gmx.at>
* Abel Chow <achow@transoft.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Adrian Steinmann <ast@marabu.ch>
* Akinori MUSHA aka knu <knu@idaemons.org> (Only the first 15 lines of the commit message are shown above ) |
0.9.5 07 Jul 2022 12:36:19
    |
Po-Chuan Hsieh (sunpoet)  |
www/py-requests-cache: Update to 0.9.5
- Update WWW
Changes: https://github.com/requests-cache/requests-cache/releases
https://github.com/requests-cache/requests-cache/blob/main/HISTORY.md |
0.9.4 21 Jun 2022 16:36:24
    |
Po-Chuan Hsieh (sunpoet)  |
www/py-requests-cache: Allow build with py-cattrs 22.1.0
Obtained
from: https://github.com/requests-cache/requests-cache/commit/66550b5355f4a4f063b4b22c3139a2f941c91eb4 |
0.9.4 26 Apr 2022 15:01:31
    |
Po-Chuan Hsieh (sunpoet)  |
www/py-requests-cache: Update to 0.9.4
Changes: https://github.com/reclosedev/requests-cache/releases
https://github.com/reclosedev/requests-cache/blob/master/HISTORY.md |
0.9.3 16 Apr 2022 04:19:29
    |
Po-Chuan Hsieh (sunpoet)  |
www/py-requests-cache: Update to 0.9.3
- Update pkg-descr
Changes: https://github.com/reclosedev/requests-cache/releases
https://github.com/reclosedev/requests-cache/blob/master/HISTORY.md |
0.4.13 07 Mar 2022 19:24:01
    |
Po-Chuan Hsieh (sunpoet)  |
*/py-*: Take maintainership |
0.4.13 07 Mar 2022 19:07:39
    |
Rene Ladan (rene)  |
all: return koobs' ports to the pool after safekeeping his commit bit. |
0.4.13 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.4.13 28 Dec 2020 23:02:15
  |
antoine  |
Drop python 2.7 support from a few ports
With hat: portmgr |
0.4.13 20 Jun 2018 17:05:44
  |
mat  |
Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.
Sponsored by: Absolight |
0.4.13 30 Nov 2017 15:50:34
  |
mat  |
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the (Only the first 15 lines of the commit message are shown above ) |
0.4.13 26 Oct 2017 11:34:01
  |
koobs  |
[NEW] www/py-requests-cache: Persistent cache for requests library
Requests-cache is a transparent persistent cache for requests (version
>= 1.1.0) library.
Features:
* Transparent caching
* Persistence (with support for SQLite, MongoDB or Redis)
* Cached object expiration
WWW: https://github.com/reclosedev/requests-cache |