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
Port details
py-cattrs23 Composable complex class support for attrs and dataclasses
23.2.3 develnew! 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 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-10-14 05:30:08
Last Update: 2024-10-14 04:45:07
Commit Hash: dabbe84
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}cattrs23>0:devel/py-cattrs23@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-cattrs23/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-cattrs23
  • pkg install py311-cattrs23
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-cattrs23 listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-cattrs23
Package flavors (<flavor>: <package>)
  • py311: py311-cattrs23
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):
py311-cattrs23
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest23.2.323.2.3-23.2.323.2.3---
FreeBSD:13:quarterly--------
FreeBSD:14:latest23.2.323.2.3-23.2.323.2.3---
FreeBSD:14:quarterly--------
FreeBSD:15:latest23.2.323.2.3n/a23.2.3n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-hatch-vcs>=0 : devel/py-hatch-vcs@py311
  2. py311-hatchling>=0 : devel/py-hatchling@py311
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-attrs>=23.1.0 : devel/py-attrs@py311
  2. python3.11 : lang/python311
This port is required by:
for Run
  1. www/py-requests-cache93

Configuration Options:
No options to configure
Options name:
devel_py-cattrs23
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: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
23.2.3
14 Oct 2024 04:45:07
commit hash: dabbe8449f5fbd9a94b7a73cbcf9b15cb3aaacb6commit hash: dabbe8449f5fbd9a94b7a73cbcf9b15cb3aaacb6commit hash: dabbe8449f5fbd9a94b7a73cbcf9b15cb3aaacb6commit hash: dabbe8449f5fbd9a94b7a73cbcf9b15cb3aaacb6 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-cattrs23: Add py-cattrs23 23.2.3 (copied from py-cattrs)

- Add PORTSCOUT

Number of commits found: 1