devel/py-serializable 1.3.1 FreeBSD
Base class with serialization helpers for user-defined Python objects
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
1b43b1fe92- License
- APACHE20
- Categories
- devel, python
- Package size
- 22.2 KiB, 105.2 KiB installed
Description
Base class with serialization methods for user-defined Python objects.
Classes which inherit from Serializable are enabled with default implementations of to_json, from_json, __reduce__ (for pickling), and other serialization helpers. A derived class must either have a member data matching the name of each argument to __init__ or, alternatively, must provide a user-defined to_dict() method which returns a dictionary whose keys match the arguments to __init__.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-serializable | 1.3.1 |
| NetBSD | devel/py-serializable | 2.1.0nb1 |
| DragonFly | devel/py-serializable | 0.4.1_1 |
Install
Binary package:
pkg install py312-serializable
From the ports tree:
cd /usr/ports/devel/py-serializable/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-serializable>0:devel/py-serializable
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 | 1.1.0 | 1.1.0 | 0.2.1 | 0.4.1_1 | 1.1.0 |
| FreeBSD:14:quarterly | 1.1.0 | 1.1.0 | n/a | 0.4.1_1 | 1.1.0 |
| FreeBSD:15:latest | 1.1.0 | 1.1.0 | n/a | 0.4.1_1 | 0.4.1_1 |
| FreeBSD:15:quarterly | 1.1.0 | 1.1.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.1.0 | 1.1.0 | 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>=63: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}typechecks>=0.0.2: devel/py-typechecks
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 8
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| openvax-serializable-v1.3.1_GH0.tar.gz | 30494 | 4a55101d8e6e6c1a20bfc917eac92ee02a0be1eb4df775765a565275656972fc |