devel/py-pylru 1.2.0_1 FreeBSD
Least recently used (lru) cache implementation
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- GPLv2
- Categories
- devel, python
- Package size
- 21.3 KiB, 88.4 KiB installed
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-pylru | 1.2.0_1 |
| NetBSD | devel/py-pylru | 1.3.1 |
| DragonFly | devel/py-pylru | 1.2.0_1 |
| HardenedBSD | devel/py-pylru | 1.2.0_1 |
| GhostBSD | devel/py-pylru | 1.2.0_1 |
Install
Binary package:
pkg install py312-pylru
From the ports tree:
cd /usr/ports/devel/py-pylru/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-pylru>0:devel/py-pylru
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.2.0_1 | 1.2.0_1 | 1.2.0 | 1.2.0_1 | 1.2.0_1 |
| FreeBSD:14:quarterly | 1.2.0_1 | 1.2.0_1 | n/a | 1.2.0_1 | 1.2.0_1 |
| FreeBSD:15:latest | 1.2.0_1 | 1.2.0_1 | n/a | 1.2.0_1 | 1.2.0_1 |
| FreeBSD:15:quarterly | 1.2.0_1 | 1.2.0_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.2.0_1 | 1.2.0_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 11
Run dependencies 7
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pylru-1.2.0.tar.gz | 18533 | 492f934bb98dc6c8b2370c02c95c65516ddc08c8f64d27f70087eb038621d297 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.