Port details on branch 2022Q2 |
- py-pylru Least recently used (lru) cache implementation
- 1.2.0 devel =1 1.2.0Version of this port present on the latest quarterly branch.
- Maintainer: kevans@FreeBSD.org
- Port Added: 2016-10-18 21:10:08
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- People watching this port, also watch:: json-c, sysinfo, python, miller
- Also Listed In: python
- License: GPLv2
- WWW:
- https://github.com/jlhutch/pylru
- Description:
- Pylru implements a true LRU cache along with several support classes. The cache
is efficient and written in pure Python. It works with Python 2.6+ including the
3.x series. Basic operations (lookup, insert, delete) all run in a constant
amount of time. Pylru provides a cache class with a simple dict interface. It
also provides classes to wrap any object that has a dict interface with a cache.
Both write-through and write-back semantics are supported. Pylru also provides
classes to wrap functions in a similar way, including a function decorator.
- ¦ ¦ ¦ ¦
- 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}pylru>0:devel/py-pylru@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-pylru/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-pylru
- pkg install py39-pylru
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-pylru listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-pylru
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1608086962
SHA256 (pylru-1.2.0.tar.gz) = 492f934bb98dc6c8b2370c02c95c65516ddc08c8f64d27f70087eb038621d297
SIZE (pylru-1.2.0.tar.gz) = 18533
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-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- devel_py-pylru
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|