BSD Ports

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

SystemPortVersion
FreeBSDdevel/py-pylru1.2.0_1
NetBSDdevel/py-pylru1.3.1
DragonFlydevel/py-pylru1.2.0_1
HardenedBSDdevel/py-pylru1.2.0_1
GhostBSDdevel/py-pylru1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.2.0_11.2.0_11.2.01.2.0_11.2.0_1
FreeBSD:14:quarterly1.2.0_11.2.0_1n/a1.2.0_11.2.0_1
FreeBSD:15:latest1.2.0_11.2.0_1n/a1.2.0_11.2.0_1
FreeBSD:15:quarterly1.2.0_11.2.0_1n/an/an/a
FreeBSD:16:latest1.2.0_11.2.0_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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
FileSizeSHA256
pylru-1.2.0.tar.gz18533492f934bb98dc6c8b2370c02c95c65516ddc08c8f64d27f70087eb038621d297
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.