notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
py-cattrs Composable complex class support for attrs and dataclasses
23.2.3 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 23.2.3Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2022-02-28 12:51:25
Last Update: 2024-04-08 12:37:28
Commit Hash: 0a4260b
Also Listed In: python
License: MIT
WWW:
https://catt.rs/en/stable/
https://github.com/python-attrs/cattrs
Description:
cattrs is an open source Python library for structuring and unstructuring data. cattrs works best with attrs classes, dataclasses and the usual Python collections, but other kinds of classes are supported by manually registering converters. Python has a rich set of powerful, easy to use, built-in data types like dictionaries, lists and tuples. These data types are also the lingua franca of most data serialization libraries, for formats like json, msgpack, yaml or toml. Data types like this, and mappings like dict s in particular, represent unstructured data. Your data is, in all likelihood, structured: not all combinations of field names or values are valid inputs to your programs. In Python, structured data is better represented with classes and enumerations. attrs is an excellent library for declaratively describing the structure of your data, and validating it. When you're handed unstructured data (by your network, file system, database...), cattrs helps to convert this data into structured data. When you have to convert your structured data into data types other libraries can handle, cattrs turns your classes and enumerations into dictionaries, integers and strings.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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}cattrs>0:devel/py-cattrs@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-cattrs/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-cattrs
  • pkg install py39-cattrs
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 py39-cattrs listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-cattrs
Package flavors (<flavor>: <package>)
  • py39: py39-cattrs
distinfo:
TIMESTAMP = 1701363700 SHA256 (cattrs-23.2.3.tar.gz) = a934090d95abaa9e911dac357e3a8699e0b4b14f8529bcc7d2b1ad9d51672b9f SIZE (cattrs-23.2.3.tar.gz) = 610215

Packages (timestamps in pop-ups are UTC):
py39-cattrs
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest23.2.323.2.3-23.2.323.2.3---
FreeBSD:13:quarterly23.2.323.2.322.2.0_123.2.323.2.323.2.323.2.323.2.3
FreeBSD:14:latest23.2.323.2.322.2.023.2.323.2.322.2.0-22.2.0
FreeBSD:14:quarterly23.2.323.2.3-23.2.323.2.323.2.323.2.323.2.3
FreeBSD:15:latest23.2.323.2.3n/a23.2.3n/a23.2.323.2.323.2.3
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-hatch-vcs>=0 : devel/py-hatch-vcs@py39
  2. py39-hatchling>=0 : devel/py-hatchling@py39
  3. python3.9 : lang/python39
  4. py39-build>=0 : devel/py-build@py39
  5. py39-installer>=0 : devel/py-installer@py39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. py39-attrs>=23.1.0 : devel/py-attrs@py39
  2. py39-exceptiongroup>=1.1.1 : devel/py-exceptiongroup@py39
  3. python3.9 : lang/python39
  4. py39-typing-extensions>=4.1.0 : devel/py-typing-extensions@py39
This port is required by:
for Run
  1. devel/py-ddtrace
  2. devel/py-lsprotocol
  3. www/py-requests-cache
  4. www/py-requests-cache0
  5. www/py-requests-cache93

Configuration Options:
No options to configure
Options name:
devel_py-cattrs
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/c/cattrs/
  2. https://pypi.org/packages/source/c/cattrs/
Collapse this list.

Number of commits found: 12

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
23.2.3
08 Apr 2024 12:37:28
commit hash: 0a4260b3a1a599e94eca7a85d38f97214fb4606ecommit hash: 0a4260b3a1a599e94eca7a85d38f97214fb4606ecommit hash: 0a4260b3a1a599e94eca7a85d38f97214fb4606ecommit hash: 0a4260b3a1a599e94eca7a85d38f97214fb4606e files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Introduce PY_EXCEPTIONGROUP

The minimal version is set to 1.1.1 because it is required by devel/py-cattrs.
Convert ports to use PY_EXCEPTIONGROUP to simplify Makefile.

With hat:	python
23.2.3
01 Dec 2023 22:11:42
commit hash: c968655b4f255736f6966e27e38913450e68b445commit hash: c968655b4f255736f6966e27e38913450e68b445commit hash: c968655b4f255736f6966e27e38913450e68b445commit hash: c968655b4f255736f6966e27e38913450e68b445 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-cattrs: Update to 23.2.3

Changes:	https://github.com/python-attrs/cattrs/releases
23.2.2
27 Nov 2023 10:28:11
commit hash: cab137ae0fa18edd4bf4700c0a64b48b2c558bb0commit hash: cab137ae0fa18edd4bf4700c0a64b48b2c558bb0commit hash: cab137ae0fa18edd4bf4700c0a64b48b2c558bb0commit hash: cab137ae0fa18edd4bf4700c0a64b48b2c558bb0 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-cattrs: Update to 23.2.2

- Update WWW

Changes:	https://github.com/python-attrs/cattrs/releases
22.2.0_1
30 Jun 2023 07:03:15
commit hash: ec7932d450598b88b5efc298284e2a11b28a7248commit hash: ec7932d450598b88b5efc298284e2a11b28a7248commit hash: ec7932d450598b88b5efc298284e2a11b28a7248commit hash: ec7932d450598b88b5efc298284e2a11b28a7248 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-cattrs: Convert to USE_PYTHON=pep517

- Remove outdated PYTHON_REL check after lang/python37 removal
- Bump PORTREVISION for package change
22.2.0
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
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>
22.2.0
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
22.2.0
09 Oct 2022 15:37:54
commit hash: 853479655fec58684372228448c026ec36af592dcommit hash: 853479655fec58684372228448c026ec36af592dcommit hash: 853479655fec58684372228448c026ec36af592dcommit hash: 853479655fec58684372228448c026ec36af592d files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-cattrs: Update to 22.2.0

Changes:	https://github.com/python-attrs/cattrs/blob/main/HISTORY.rst
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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)
22.1.0
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
22.1.0
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
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 View all of this commit message)
22.1.0
21 Jun 2022 16:32:53
commit hash: 117a037d1c8d5a2546a5f10b829fe37c78e2b4ffcommit hash: 117a037d1c8d5a2546a5f10b829fe37c78e2b4ffcommit hash: 117a037d1c8d5a2546a5f10b829fe37c78e2b4ffcommit hash: 117a037d1c8d5a2546a5f10b829fe37c78e2b4ff files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-cattrs: Update to 22.1.0

Changes:	https://github.com/python-attrs/cattrs/blob/main/HISTORY.rst
1.10.0
28 Feb 2022 12:45:54
commit hash: 272b6fb8f52bc0bba505c034f5f545259efccfcdcommit hash: 272b6fb8f52bc0bba505c034f5f545259efccfcdcommit hash: 272b6fb8f52bc0bba505c034f5f545259efccfcdcommit hash: 272b6fb8f52bc0bba505c034f5f545259efccfcd files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-cattrs: Add py-cattrs 1.10.0

cattrs is an open source Python library for structuring and unstructuring data.
cattrs works best with attrs classes, dataclasses and the usual Python
collections, but other kinds of classes are supported by manually registering
converters.

Python has a rich set of powerful, easy to use, built-in data types like
dictionaries, lists and tuples. These data types are also the lingua franca of
most data serialization libraries, for formats like json, msgpack, yaml or toml.

Data types like this, and mappings like dict s in particular, represent
unstructured data. Your data is, in all likelihood, structured: not all
combinations of field names or values are valid inputs to your programs. In
Python, structured data is better represented with classes and enumerations.
attrs is an excellent library for declaratively describing the structure of your
data, and validating it.

When you're handed unstructured data (by your network, file system,
database...), cattrs helps to convert this data into structured data. When you
have to convert your structured data into data types other libraries can handle,
cattrs turns your classes and enumerations into dictionaries, integers and
strings.

WWW: https://github.com/python-attrs/cattrs

Number of commits found: 12