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

Newsfeed changes

The news feed page[s] were not laid out well. Two pages, disjointed information, hard to figure out how to use the optional parameters...

Thankfully, someone told me.

The new page is ready for your review. Please compare these two:

You may also be interested in the Github issue.
Port details on branch 2025Q2
py-attrs Python attributes without boilerplate
25.3.0 devel on this many watch lists=12 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 25.3.0Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2016-03-10 16:23:35
Last Update: 2025-03-19 03:38:28
Commit Hash: fae889a
People watching this port, also watch:: jpeg-turbo, py311-six, indexinfo, p5-Error, libxml2
Also Listed In: python
License: MIT
WWW:
https://www.attrs.org/en/stable/
https://github.com/python-attrs/attrs
Description:
attrs is an MIT-licensed Python package with class decorators that ease the chores of implementing the most common attribute-related object protocols: >>> import attr >>> @attr.s ... class C(object): ... x = attr.ib(default=42) ... y = attr.ib(default=attr.Factory(list)) >>> i = C(x=1, y=2) (If you don't like the playful attr.s and attr.ib, you can also use their no-nonsense aliases attr.attributes and attr.attr). You just specify the attributes to work with and attrs gives you: a nice human-readable __repr__, a complete set of comparison methods, an initializer, and much more without writing dull boilerplate code again and again.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

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

Packages (timestamps in pop-ups are UTC):
py37-attrs
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--20.3.0---20.3.0-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-attrs
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--23.1.0--23.1.023.1.023.1.0
FreeBSD:14:latest--22.1.0--23.1.0-23.1.0
FreeBSD:14:quarterly-----23.1.023.1.023.1.0
FreeBSD:15:latest--n/a-n/a23.1.023.1.023.2.0
 
py311-attrs
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest25.1.025.3.0-25.1.025.3.0---
FreeBSD:13:quarterly24.3.024.3.0-24.3.024.3.0---
FreeBSD:14:latest25.1.025.3.0-25.1.025.3.0---
FreeBSD:14:quarterly24.3.025.3.0-24.3.024.3.0---
FreeBSD:15:latest25.3.025.3.0n/a25.3.0n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-hatch-fancy-pypi-readme>=23.2.0 : devel/py-hatch-fancy-pypi-readme@py311
  2. py311-hatch-vcs>=0 : devel/py-hatch-vcs@py311
  3. py311-hatchling>=0 : devel/py-hatchling@py311
  4. python3.11 : lang/python311
  5. py311-build>=0 : devel/py-build@py311
  6. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-cloudpickle>=0 : devel/py-cloudpickle@py311
  2. py311-hypothesis>=0 : devel/py-hypothesis@py311
  3. py311-Pympler>=0 : devel/py-pympler@py311
  4. py311-pytest-xdist>=0 : devel/py-pytest-xdist@py311
  5. py311-pytest>=7,1 : devel/py-pytest@py311
  6. python3.11 : lang/python311
  7. py311-mypy>=1.11.1 : devel/py-mypy@py311
  8. py311-pytest-mypy-plugins>=0 : devel/py-pytest-mypy-plugins@py311
Runtime dependencies:
  1. python3.11 : lang/python311
This port is required by:
for Build
  1. devel/nox
  2. x11/libei

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. math/sage*
  2. Collapse this list of deleted ports.
for Run
  1. databases/pg_activity
  2. devel/nox
  3. devel/py-aiorpcX
  4. devel/py-aiorpcX-legacy
  5. devel/py-attrs-strict
  6. devel/py-cattrs
  7. devel/py-cattrs23
Expand this list (75 items / 68 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/py-check-wheel-contents
  3. devel/py-clldutils
  4. devel/py-flake8-bugbear
  5. devel/py-frictionless
  6. devel/py-glom
  7. devel/py-hypothesis
  8. devel/py-jschema-to-python
  9. devel/py-jsonlines
  10. devel/py-jsonschema
  11. devel/py-jsonschema3
  12. devel/py-livemark
  13. devel/py-lsprotocol
  14. devel/py-matrix-common
  15. devel/py-outcome
  16. devel/py-parver
  17. devel/py-pytest-mypy
  18. devel/py-pytest-nunit
  19. devel/py-pytest-subtests
  20. devel/py-pytest4
  21. devel/py-qcs-api-client
  22. devel/py-ramlfications
  23. devel/py-referencing
  24. devel/py-sarif-om
  25. devel/py-scantree
  26. devel/py-twisted
  27. devel/py-usort
  28. devel/py-xarray-simlab
  29. devel/py-xsdata-attrs
  30. devel/pytype
  31. finance/electrum
  32. games/pysolfc
  33. graphics/py-fiona
  34. graphics/py-rasterio
  35. graphics/py-ueberzug
  36. mail/py-aiosmtpd
  37. mail/py-flanker
  38. misc/py-eemeter
  39. net/py-aiohttp-socks
  40. net/py-magic-wormhole
  41. net/py-trio
  42. net/py-zeep
  43. net-im/py-matrix-synapse
  44. print/py-ufolib2
  45. science/py-asdf
  46. science/py-cfgrib
  47. science/py-eccodes
  48. security/cowrie
  49. security/py-muacrypt
  50. security/py-service-identity
  51. sysutils/kleene-cli
  52. sysutils/py-mqttwarn
  53. sysutils/py-ploy
  54. www/py-aiohttp
  55. www/py-autobahn
  56. www/py-requests-cache
  57. www/py-requests-cache0
  58. www/py-requests-cache93
  59. www/py-treq
  60. x11-fonts/py-fontmake
  61. Collapse this list.

Deleted ports which required this port:

Expand this list of 9 deleted ports
  1. devel/py-jsonschema417*
  2. devel/py-jsonschema49*
  3. devel/py-trio*
  4. devel/py-zeep*
  5. math/sage*
  6. science/py-eccodes-python*
  7. security/py-service_identity*
  8. textproc/scancode-toolkit*
  9. www/py-httpx-cache*
  10. Collapse this list of deleted ports.
* - 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-attrs
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/a/attrs/
  2. https://pypi.org/packages/source/a/attrs/
Collapse this list.

There are no commits on branch 2025Q2 for this port