BSD Ports

devel/py-attrs 26.1.0 OpenBSD

classes without boilerplate

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Last update
Commit
a07d43f3a9
Categories
devel, lang/python

Description

attrs is an MIT-licensed Python package with class decorators that ease the chores of implementing the most common attribute-related object protocols.

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.

This gives you the power to use actual classes with actual types in your code instead of confusing tuples or confusingly behaving namedtuples.

So put down that type-less data structures and welcome some class into your life!

In the other systems

The newest version among them is 26.1.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
OpenBSDdevel/py-attrs26.1.0 newestno data-The OpenBSD ports mailing-list <[email protected]>2026-09-03
FreeBSDdevel/py-attrs26.1.0 newestnone known-[email protected]-
NetBSDdevel/py-attrs26.1.0 newestnone known-[email protected]2026-10-16
DragonFlydevel/py-attrs25.3.0none known-[email protected]-
MidnightBSDdevel/py-attrs26.1.0_1 newestno data-[email protected]2026-08-07
HardenedBSDdevel/py-attrs26.1.0 newestno data-[email protected]-
GhostBSDdevel/py-attrs26.1.0 newestno data-[email protected]-
OPNsensedevel/py-attrs26.1.0 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg_add py3-attrs

From the ports tree:

cd /usr/ports/devel/py-attrs && make install

Dependencies

Build dependencies 5
Run dependencies 1

Commit history 2

DateCommitCreditsLog message
a07d43f3a9 sthen update to py3-attrs-26.1.0
3f059e808a sthen drop @pkgpath/@conflict markers previously used for updates from 7.0/7.1