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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-catalogue | 2.0.10_1 |
| DragonFly | devel/py-catalogue | 2.0.10_1 |
| HardenedBSD | devel/py-catalogue | 2.0.10_1 |
| GhostBSD | devel/py-catalogue | 2.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.0.10_1 | 2.0.10_1 | 2.0.8 | 2.0.10_1 | 2.0.10_1 |
| FreeBSD:14:quarterly | 2.0.10_1 | 2.0.10_1 | n/a | 2.0.10_1 | 2.0.10_1 |
| FreeBSD:15:latest | 2.0.10_1 | 2.0.10_1 | n/a | 2.0.10_1 | 2.0.10_1 |
| FreeBSD:15:quarterly | 2.0.10_1 | 2.0.10_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.0.10_1 | 2.0.10_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
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
| File | Size | SHA256 |
|---|---|---|
| catalogue-2.0.10.tar.gz | 19561 | 4f56daa940913d3f09d589c191c74e5a6d51762b3a9e37dd53b7437afd6cda15 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.