devel/py-attrs 26.1.0 FreeBSD
Python attributes without boilerplate
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel, python
- Package size
- 111.1 KiB, 634.7 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:
>>> 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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-attrs | 26.1.0 |
| OpenBSD | devel/py-attrs | 26.1.0 |
| NetBSD | 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:
pkg install py312-attrs
From the ports tree:
cd /usr/ports/devel/py-attrs/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-attrs>0:devel/py-attrs
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 26.1.0 | 26.1.0 | 22.1.0 | 25.3.0 | 26.1.0 |
| FreeBSD:14:quarterly | 26.1.0 | 26.1.0 | n/a | 25.3.0 | 26.1.0 |
| FreeBSD:15:latest | 26.1.0 | 26.1.0 | n/a | 25.3.0 | 25.3.0 |
| FreeBSD:15:quarterly | 26.1.0 | 26.1.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 26.1.0 | 26.1.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=23.2.0: devel/py-hatch-fancy-pypi-readme${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0: devel/py-hatch-vcs${PYTHON_PKGNAMEPREFIX}hatchling>=0: devel/py-hatchling
Test 6
${PYTHON_PKGNAMEPREFIX}cloudpickle>=0: devel/py-cloudpickle${PYTHON_PKGNAMEPREFIX}hypothesis>=0: devel/py-hypothesis${PYTHON_PKGNAMEPREFIX}mypy>=1.11.1: devel/py-mypy${PYTHON_PKGNAMEPREFIX}Pympler>=0: devel/py-pympler${PYTHON_PKGNAMEPREFIX}pytest-mypy-plugins>=0: devel/py-pytest-mypy-plugins${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0: devel/py-pytest-xdist
The full lists below include those, and their dependencies in turn.
Build dependencies 23
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatch-fancy-pypi-readme
- devel/py-hatch-vcs
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-setuptools
- devel/py-setuptools-scm
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 7
Required by 1064
- archivers/engrampa
- archivers/file-roller
- archivers/py-extractcode
- archivers/py-python-rpm-packaging
- archivers/thunar-archive-plugin
- astro/py-pytest-astropy
- astro/py-spacetrack
- astro/py-sunpy
- audio/mythplugin-mythmusic
- audio/py-edge-tts
- audio/py-pyradio
- audio/py-torchaudio
- audio/thunar-media-tags-plugin
- benchmarks/hipercontracer
- benchmarks/phoronix-test-suite
- benchmarks/py-locust
- benchmarks/py-locust-cloud
- benchmarks/py-reframe-hpc
- biology/atac-seq
- biology/biostar-tools
- biology/chip-seq
- biology/py-hits
- biology/py-multiqc
- biology/py-resdk
- biology/python-nexus
- biology/rna-seq
- cad/apio
- cad/py-pymtl
- comms/gnuradio
- comms/gqrx
- comms/gr-osmosdr
- comms/py-pymodbus
- comms/py-sdm_modbus
- comms/py-spsdk
- databases/cego
- databases/cegobridge
- databases/mongodb70
- databases/mongodb80
- databases/mongodb90
- databases/mysql-shell
- databases/nagios-check_mongodb
- databases/p5-DBD-cego
- databases/pg_activity
- databases/py-chromadb
- databases/py-dbt-core
- databases/py-dbt-duckdb
- databases/py-dbt-semantic-interfaces
- databases/py-dbt-snowflake
- databases/py-flask-pymongo
- databases/py-mongoengine
- databases/py-motor
- databases/py-ormar
- databases/py-pyiceberg
- databases/py-pymongo
- databases/py-snowddl
- databases/py-tableschema
- databases/py-txredisapi
- databases/pythoncego
- deskutils/caja-extensions
- deskutils/calibre
- deskutils/gnome-shell-extension-coverflow
- deskutils/gnome-shell-extension-dashtodock
- deskutils/gnome-shell-extension-dashtopanel
- deskutils/gnome-shell-extension-hidetopbar
- deskutils/gnome-shell-extension-lockkeys
- deskutils/gnome-shell-extension-simple-weather
- deskutils/gnome-shell-extra-extensions
- deskutils/gnome-tweaks
- deskutils/py-calendar_cli
- deskutils/py-khal
- deskutils/py-khard
- deskutils/py-paperless-ngx
- deskutils/py-qmd
- deskutils/py-vdirsyncer
- devel/dolphin-plugins
- devel/git-lab
- devel/kdesdk
- devel/kio-extras
- devel/kommit
- devel/nox
- devel/oci-cli
- devel/opengrok
- devel/p5-IPC-ShellCmd
- devel/py-aioboto3
- devel/py-aiobotocore
- devel/py-aiohttp-apispec
- devel/py-aiohttp-asgi
- devel/py-aioice
- devel/py-aiorpcX
- devel/py-aiorpcX-legacy
- devel/py-aiortc
- devel/py-anywidget
- devel/py-apispec
- devel/py-apispec-webframeworks
- devel/py-attrs-strict
- devel/py-aws-sam-translator
- devel/py-azure-ai-agents
- devel/py-azure-ai-projects
- devel/py-azure-appconfiguration
- devel/py-azure-batch
The first 100 are listed.
Configuration
No options to configure.
- USES
- cpe python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| attrs-26.1.0.tar.gz | 952055 | d03ceb89cb322a8fd706d4fb91940737b6642aa36998fe130a9bc96c985eff32 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.