BSD Ports

devel/py-cached-property 2.0.1p2 OpenBSD

decorator for caching properties in classes

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Sebastien Marie <[email protected]>
Last update
Commit
3f059e808a
Categories
devel, lang/python

Description

A decorator for caching properties in classes.

Why ?

  • Makes caching of time or computational expensive properties quick and easy.
  • Because I got tired of copy/pasting this code from non-web project to non-web project.
  • I needed something really simple that worked in Python 2 and 3.

In the other systems

SystemPortVersion
OpenBSDdevel/py-cached-property2.0.1p2
FreeBSDdevel/py-cached-property2.0.1
NetBSDdevel/py-cached-property2.0.1nb1
DragonFlydevel/py-cached-property1.5.2_1
HardenedBSDdevel/py-cached-property2.0.1
GhostBSDdevel/py-cached-property2.0.1

Install

Binary package:

pkg_add py3-cached-property

From the ports tree:

cd /usr/ports/devel/py-cached-property && make install

Dependencies

Build dependencies 5
Run dependencies 1

No port depends on this one.

Commit history 1

DateCommitCreditsLog message
3f059e808a sthen drop @pkgpath/@conflict markers previously used for updates from 7.0/7.1