Port details |
- py-traits Explicitly Typed Attributes for Python
- 7.0.2 devel
=2 6.4.3Version of this port present on the latest quarterly branch. - Maintainer: wen@FreeBSD.org
 - Port Added: 2008-12-14 10:41:26
- Last Update: 2025-02-08 22:43:14
- Commit Hash: 4bc089f
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: BSD3CLAUSE PSFL
- WWW:
- https://pypi.org/project/traits/
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}traits>0:devel/py-traits@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-traits/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-traits
- pkg install py311-traits
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-traits listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-traits
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1739007118
SHA256 (traits-7.0.2.tar.gz) = a563515809cb3911975de5a54209855f0b6fdb7ca6912a5e81de26529f70428c
SIZE (traits-7.0.2.tar.gz) = 9534785
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-numpy>=1.16,1<1.27,1 : math/py-numpy@py311
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- This port is required by:
- for Build
-
- science/py-scimath
-
Deleted ports which required this port:
- for Run
-
- devel/py-apptools
- devel/py-envisage
- devel/py-pyface
- graphics/py-mayavi
- graphics/py-traitsui
- science/py-scimath
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- devel_py-traits
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
7.0.2 08 Feb 2025 22:43:14
    |
Wen Heping (wen)  |
devel/py-traits: Update to 7.0.2 |
6.4.3 10 Nov 2023 11:53:38
    |
Wen Heping (wen)  |
devel/py-traits: Update to 6.4.3 |
6.4.2 05 Sep 2023 00:01:36
    |
Wen Heping (wen)  |
devel/py-traits: Update to 6.4.2 |
6.4.1_1 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
6.4.1_1 23 Apr 2023 09:09:58
    |
Gerald Pfeifer (gerald)  |
*: Bump PORTREVISIONs for math/mpc update to 1.3.1 |
6.4.1 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
6.4.1 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
6.4.1 14 Aug 2022 13:12:39
    |
Wen Heping (wen)  |
devel/py-traits: Update to 6.4.1 |
6.3.2 20 Jul 2022 14:21:35
    |
Tobias C. Berner (tcberner)  |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
6.3.2 24 Dec 2021 07:33:36
    |
Wen Heping (wen)  |
devel/py-traits: Update to 6.3.2 |
6.3.1 14 Oct 2021 06:53:17
    |
Wen Heping (wen)  |
devel/py-traits: Update to 6.3.1 |
6.2.0 27 Apr 2021 07:38:57
    |
Wen Heping (wen)  |
devel/py-traits: Update to 6.2.0 |
6.1.1 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
6.1.1 20 Oct 2020 06:54:23
  |
wen  |
- Update to 6.1.1 |
5.1.2 06 Sep 2019 05:52:30
  |
wen  |
- Update to 5.1.2 |
5.1.1_1 26 Jul 2019 20:46:57
  |
gerald  |
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330 |
5.1.1 28 Apr 2019 00:28:50
  |
wen  |
- Update to 5.1.1 |
5.0.0 18 Feb 2019 11:57:09
  |
wen  |
- Update to 5.0.0 |
4.6.0_2 12 Dec 2018 01:35:36
  |
gerald  |
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590 |
4.6.0_1 25 Apr 2018 16:42:38
  |
amdmi3  |
Switch all pypi.python.org WWWs to a new PyPi home pypi.org where
they now redirect to anyway. All new urls checked to return 200,
I've fixed a couple of them in the process.
Approved by: portmgr blanket, mat |
4.6.0_1 10 Mar 2018 17:46:06
  |
gerald  |
Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079). |
4.6.0 08 Feb 2018 20:18:09
  |
amdmi3  |
Canonicalize PyPi WWWs:
- Switch to https://
- Remove trailing slashes
Approved by: portmgr blanket |
4.6.0 28 Nov 2016 03:02:06
  |
wen  |
- Update to 4.6.0 |
4.5.0 21 Oct 2016 12:51:41
  |
mat  |
${RM} already has -f.
PR: 213570
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight |
4.5.0 23 Jan 2015 15:04:24
  |
antoine  |
Fix packaging (plist no longer needed) |
4.5.0 23 Jan 2015 10:20:18
  |
olivierd  |
- Update to 4.5.0
- Switch MASTER_SITES to CHEESESHOP macro
- Remove DOCS and EXAMPLES
- Adjust dependencies
PR: 196977
Submitted by: myself
Approved by: wen@ (maintainer) |
3.6.0_5 22 Dec 2014 17:12:27
  |
feld  |
Update "BSD" license in devel category |
3.6.0_5 27 Oct 2014 10:58:26
  |
bapt  |
Cleanup plist |
3.6.0_5 20 Oct 2014 16:04:14
  |
mva  |
- Convert ports of devel/ to USES=python
Approved by: portmgr (implicit) |
3.6.0_5 10 Sep 2014 20:50:37
  |
gerald  |
Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.
Part II, Bump PORTREVISIONs.
PR: 192025
Tested by: antoine (-exp runs)
Approved by: portmgr (implicit) |
3.6.0_4 15 Jul 2014 23:11:13
  |
adamw  |
Add OPTIONS_DEFINE=DOCS for ports with %%PORTDOCS%% in the plist.
Where possible, correct a few instances where PORTDOCS was being used
to flag stuff in EXAMPLESDIR. For some ports, mostly those owned by
ruby@, PORTDOCS is applied to pretty much everything whether it's
documentation or example. |
3.6.0_4 09 Jun 2014 14:27:28
  |
mva  |
- Remove easy_install dependency
- Convert to PYDISTUTILS_AUTOPLIST
- Bump PORTREVISION to enforce a cleanup for the easy_install references
With hat: python@
Approved by: portmgr (implicit) |
3.6.0_3 06 Jun 2014 15:12:20
  |
gerald  |
- Convert to staging. [1]
- Set license (BSD). [1]
- Update maintainer address to wen@FreeBSD.org.
- Bump PORTREVISION.
PR: 188565 [1]
Submitted by: Bartek Rutkowski <ports@robakdesign.com> [1] (mostly)
Approved by: portmgr (blanket pre-approval) |
3.6.0_2 10 Mar 2014 20:55:22
  |
gerald  |
Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3. This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.
Part II, Bump PORTREVISIONs.
PR: 182136
Supported by: Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by: bdrewery (two -exp runs) |
3.6.0_1 03 Jan 2014 01:53:21
  |
bapt  |
Part 3 at removing now useless FETCH_ARGS redifition |
3.6.0_1 20 Nov 2013 20:51:25
  |
sunpoet  |
- Update WWW:
- http://cheeseshop.python.org/ -> https://pypi.python.org/
- http://pypi.python.org/ -> https://pypi.python.org/
With hat: python
Approved by: bapt (portmgr) |
3.6.0_1 26 Oct 2013 00:52:36
  |
gerald  |
Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
- #14669: Fixed extraction of CC from gmp.h.
- Fixed case of intermediate zero real or imaginary part in mpc_fma,
found by hydra with GMP_CHECK_RANDOMIZE=1346362345.
This is on top of the following changes from version 1.0
- Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
invariant sections) for the documentation.
- 100% of all lines are covered by tests
- Renamed functions
. mpc_mul_2exp to mpc_mul_2ui
. mpc_div_2exp to mpc_div_2ui (Only the first 15 lines of the commit message are shown above ) |
3.6.0 20 Sep 2013 17:13:47
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3) |
3.6.0 21 Jan 2012 17:40:15
 |
eadler  |
At the moment 1385 ports use BUILD_DEPENDS= ${RUN_DEPENDS} and 450
ports use BUILD_DEPENDS:= ${RUN_DEPENDS}. This patch fixes ports that are
currently broken. This is a temporary measure until we organically stop using
:= or someone(s) spend a lot of time changing all the ports over.
Explicit duplication > := > = and this just moves ports one step to the left
Approved by: portmgr |
3.6.0 18 Feb 2011 01:22:56
 |
wen  |
- Update to 3.6.0
PR: ports/154349
Submitted by: Wen Heping (myself) |
3.4.0 02 Jun 2010 08:52:14
 |
wen  |
- Update to 3.4.0 |
3.2.0 22 Aug 2009 19:22:15
 |
miwi  |
- Update to 3.20
PR: 138040
Submitted by: Jacob Frelinger <jacob.frelinger@duke.edu>
Approved by: maintainer |
3.1.0 22 Mar 2009 11:10:17
 |
miwi  |
- Update to 3.1.0
PR: 132896
Submitted by: Wen Heping <wenheping@gmail.com> (maintainer) |
3.0.3 14 Dec 2008 10:40:57
 |
miwi  |
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.
WWW: http://pypi.python.org/pypi/Traits/
PR: ports/129589
Submitted by: Wen Heping <wenheping at gmail.com> |