devel/py-attrs 26.1.0 NetBSD
Attributes without boilerplate
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
98aee4881b- License
- mit
- Categories
- devel, python
- Package size
- 106.1 KiB, 669.2 KiB installed
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
| System | Port | Version |
|---|---|---|
| NetBSD | devel/py-attrs | 26.1.0 |
| FreeBSD | devel/py-attrs | 26.1.0 |
| OpenBSD | devel/py-attrs | 26.1.0 |
| DragonFly | devel/py-attrs | 25.3.0 |
| MidnightBSD | devel/py-attrs | 26.1.0_1 |
| HardenedBSD | devel/py-attrs | 26.1.0 |
| GhostBSD | devel/py-attrs | 26.1.0 |
| OPNsense | devel/py-attrs | 26.1.0 |
Install
Binary package:
pkgin install py311-attrs
From pkgsrc:
cd /usr/pkgsrc/devel/py-attrs && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 26.1.0 |
| NetBSD 10.1 aarch64 | 26.1.0 |
| SmartOS / illumos x86_64 | 26.1.0 |
| macOS 15 arm64 | 26.1.0 |
Dependencies
Run dependencies 1
Required by 43
- chat/matrix-synapse
- chat/py-matrix-common
- databases/pg_activity
- databases/py-kb
- devel/py-cattrs
- devel/py-doctor
- devel/py-outcome
- devel/py-pytype
- devel/py-requests-cache
- devel/py-stdio-mgr
- devel/py-test-subtests
- devel/py-treq
- devel/py-trio
- filesystems/tahoe-lafs
- games/pysolfc
- lang/py-lsprotocol
- mail/py-aiosmtpd
- math/py-asdf
- net/py-magic-wormhole
- net/py-magic-wormhole-mailbox-server
- net/py-twisted
- net/py-zeep
- security/py-service_identity
- sysutils/py-fritz_exporter
- textproc/py-jsonlines
- textproc/py-jsonschema
- textproc/py-jsonschema-path
- textproc/py-ramlfications
- textproc/py-referencing
- textproc/py-sphobjinv
- wip/clixon-pyapi
- wip/py-electrum
- wip/py-ginga
- wip/py-glom
- wip/py-parver
- wip/py-swh-model
- wip/py-swh-scheduler
- wip/reuse-tool
- wip/semgrep
- www/py-aiohttp
- www/py-klein
- www/py-sydent
- www/qutebrowser
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py312-attrs-26.1.0,py313-attrs-26.1.0,py314-attrs-26.1.0