BSD Ports

devel/py-pylru 1.3.1 NetBSD

Implementation of a least recently used (LRU) cache

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
f38e5b6554
License
gnu-gpl-v2
Categories
devel, python
Package size
16.7 KiB, 76.9 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

The newest version among them is 1.3.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDdevel/py-pylru1.3.1 newestnone known-[email protected]2026-10-24
FreeBSDdevel/py-pylru1.2.0_1 behind since 2026-07-08none known-[email protected]-
DragonFlydevel/py-pylru1.2.0_1 behind since 2026-07-08none known-[email protected]-
HardenedBSDdevel/py-pylru1.2.0_1 behind since 2026-07-08no data-[email protected]-
GhostBSDdevel/py-pylru1.2.0_1 behind since 2026-07-08no data-[email protected]-

Compare across BSDs

Version history 2

  1. 1.3.2 f38e5b6554
  2. 1.3.1 661258fc32

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkgin install py311-pylru

From pkgsrc:

cd /usr/pkgsrc/devel/py-pylru && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.3.1
NetBSD 10.1 aarch641.2.2
SmartOS / illumos x86_641.3.1
macOS 15 arm641.3.1

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-pylru-1.3.1, py313-pylru-1.3.1, py314-pylru-1.3.1

Commit history 2

DateCommitCreditsLog message
f38e5b6554 adam py-pylru: updated to 1.3.2
1.3.2 Unknown changes
661258fc32 adam py-pylru: updated to 1.3.1
1.3.1 Unknown changes