BSD Ports

devel/py-catalogue 2.0.10_1 FreeBSD

Super lightweight function registries for your library

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, python
Package size
36.0 KiB, 165.3 KiB installed

Description

catalogue is a tiny, zero-dependencies library that makes it easy to add function (or object) registries to your code. Function registries are helpful when you have objects that need to be both easily serializable and fully customizable. Instead of passing a function into your object, you pass in an identifier name, which the object can use to lookup the function from the registry. This makes the object easy to serialize, because the name is a simple string. If you instead saved the function, you'd have to use Pickle for serialization, which has many drawbacks.

In the other systems

SystemPortVersion
FreeBSDdevel/py-catalogue2.0.10_1
DragonFlydevel/py-catalogue2.0.10_1
HardenedBSDdevel/py-catalogue2.0.10_1
GhostBSDdevel/py-catalogue2.0.10_1

Install

Binary package:

pkg install py312-catalogue

From the ports tree:

cd /usr/ports/devel/py-catalogue/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-catalogue>0:devel/py-catalogue

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:latest2.0.10_12.0.10_12.0.82.0.10_12.0.10_1
FreeBSD:14:quarterly2.0.10_12.0.10_1n/a2.0.10_12.0.10_1
FreeBSD:15:latest2.0.10_12.0.10_1n/a2.0.10_12.0.10_1
FreeBSD:15:quarterly2.0.10_12.0.10_1n/an/an/a
FreeBSD:16:latest2.0.10_12.0.10_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 7

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
catalogue-2.0.10.tar.gz195614f56daa940913d3f09d589c191c74e5a6d51762b3a9e37dd53b7437afd6cda15
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.