devel/py-traits 7.1.0_1 FreeBSD
Explicitly Typed Attributes for Python
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD3CLAUSE, PSFL
- Categories
- devel, python
- Package size
- 5264.2 KiB, 11404.7 KiB installed
Description
The Traits project is at the center of all Enthought Tool Suite development and has changed the mental model used at Enthought for programming in the already extremely efficient Python programming language.
The Traits project allows Python programmers to use a special kind of type definition called a trait, which gives object attributes some additional characteristics, such as Initialization, Validation, Delegation, Notification and Visualization.
A class can freely mix trait-based attributes with normal Python attributes, or can opt to allow the use of only a fixed or open set of trait attributes within the class. Trait attributes defined by a classs are automatically inherited by any subclass derived from the class.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-traits | 7.1.0_1 |
| DragonFly | devel/py-traits | 7.0.2_1 |
| HardenedBSD | devel/py-traits | 7.1.0_1 |
| GhostBSD | devel/py-traits | 7.1.0_1 |
Install
Binary package:
pkg install py312-traits
From the ports tree:
cd /usr/ports/devel/py-traits/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-traits>0:devel/py-traits
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 | 7.1.0_1 | 7.1.0_1 | - | 7.0.2_1 | 7.1.0_1 |
| FreeBSD:14:quarterly | 7.1.0_1 | 7.1.0_1 | n/a | 7.0.2_1 | 7.1.0_1 |
| FreeBSD:15:latest | 7.1.0_1 | 7.1.0_1 | n/a | 7.0.2_1 | 7.0.2_1 |
| FreeBSD:15:quarterly | 7.1.0_1 | 7.1.0_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 7.1.0_1 | 7.1.0_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 1
${PYTHON_PKGNAMEPREFIX}numpy>=1.16: math/py-numpy
The full lists below include those, and their dependencies in turn.
Build dependencies 18
Run dependencies 7
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| traits-7.1.0.tar.gz | 9.536051e+06 | af4775747e11e05ffe13d3ba463d92f67f1f3d1a9e4f46ba33a44ea22b0c9644 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.