Port details |
- py-attrs Python attributes without boilerplate
- 25.1.0 devel
=14 24.2.0Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2016-03-10 16:23:35
- Last Update: 2025-02-03 15:51:02
- Commit Hash: 86f5a87
- People watching this port, also watch:: libgpg-error, gettext-runtime, indexinfo, libXau, expat
- 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.
 ¦ ¦ ¦ ¦ 
- 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>)
- distinfo:
- TIMESTAMP = 1738088938
SHA256 (attrs-25.1.0.tar.gz) = 1c97078a80c814273a76b2a298a932eb681c87415c11dee0a6921de7f1b02c3e
SIZE (attrs-25.1.0.tar.gz) = 810562
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-hatch-fancy-pypi-readme>=23.2.0 : devel/py-hatch-fancy-pypi-readme@py311
- py311-hatch-vcs>=0 : devel/py-hatch-vcs@py311
- py311-hatchling>=0 : devel/py-hatchling@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- py311-cloudpickle>=0 : devel/py-cloudpickle@py311
- py311-hypothesis>=0 : devel/py-hypothesis@py311
- py311-Pympler>=0 : devel/py-pympler@py311
- py311-pytest-xdist>=0 : devel/py-pytest-xdist@py311
- py311-pytest>=7,1 : devel/py-pytest@py311
- python3.11 : lang/python311
- py311-mypy>=1.11.1 : devel/py-mypy@py311
- py311-pytest-mypy-plugins>=0 : devel/py-pytest-mypy-plugins@py311
- Runtime dependencies:
-
- python3.11 : lang/python311
- This port is required by:
- for Build
-
- devel/nox
- x11/libei
-
Deleted ports which required this port:
- for Run
-
- databases/pg_activity
- devel/nox
- devel/py-aiorpcX
- devel/py-aiorpcX-legacy
- devel/py-attrs-strict
- devel/py-cattrs
- devel/py-cattrs23
-
Deleted ports which required this port:
- * - 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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
25.1.0 03 Feb 2025 15:51:02
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-attrs: Update to 25.1.0
Changes: https://github.com/python-attrs/attrs/releases
https://www.attrs.org/en/stable/changelog.html |
24.3.0 31 Dec 2024 15:48:04
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-attrs: Update to 24.3.0
Changes: https://github.com/python-attrs/attrs/releases
https://www.attrs.org/en/stable/changelog.html |
24.2.0 05 Sep 2024 06:17:55
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-attrs: Update to 24.2.0
Changes: https://github.com/python-attrs/attrs/releases
https://www.attrs.org/en/stable/changelog.html |
24.1.0 15 Aug 2024 10:55:35
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-attrs: Update to 24.1.0
- Update WWW
Changes: https://github.com/python-attrs/attrs/releases
https://www.attrs.org/en/stable/changelog.html |
23.2.0 21 Feb 2024 15:07:12
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-attrs: Update to 23.2.0
Changes: https://github.com/python-attrs/attrs/releases |
23.1.0 30 Jun 2023 07:03:08
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-attrs: Remove outdated PYTHON_REL check after lang/python37 removal |
23.1.0 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
23.1.0 27 May 2023 04:08:25
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-attrs: Update to 23.1.0
- Convert to USE_PYTHON=pep517
Changes: https://github.com/python-attrs/attrs/releases |
22.2.0 30 Jan 2023 12:59:38
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-attrs: Update to 22.2.0
Changes: https://github.com/python-attrs/attrs/releases |
22.1.0 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
22.1.0 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
22.1.0 27 Aug 2022 10:24:15
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-attrs: Update to 22.1.0
Changes: https://github.com/python-attrs/attrs/releases |
21.4.0 20 Jul 2022 14:21:35
    |
Tobias C. Berner (tcberner)  |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
21.4.0 09 Jun 2022 10:58:09
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-attrs: Convert to USE_PYTHON=pytest
- Add missing TEST_DEPENDS
- Update version requirement of TEST_DEPENDS |
21.4.0 23 Jan 2022 18:19:17
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-attrs: Update to 21.4.0
Changes: https://github.com/python-attrs/attrs/releases |
21.3.0 11 Jan 2022 18:44:17
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-attrs: Update to 21.3.0
Changes: https://github.com/python-attrs/attrs/releases |
21.2.0 11 May 2021 21:47:06
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-attrs: Update to 21.2.0
Changes: https://github.com/python-attrs/attrs/releases |
20.3.0 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
20.3.0 10 Jan 2021 08:19:56
  |
sunpoet  |
Use WRKSRC instead of TEST_WRKSRC |
20.3.0 28 Dec 2020 23:02:15
  |
antoine  |
Drop python 2.7 support from a few ports
With hat: portmgr |
20.3.0 08 Nov 2020 17:18:48
  |
sunpoet  |
Update to 20.3.0
Changes: https://github.com/python-attrs/attrs/releases |
20.2.0 13 Oct 2020 18:44:02
  |
sunpoet  |
Update to 20.2.0
- Take maintainership
- Update WWW
Changes: https://github.com/python-attrs/attrs/releases
PR: 250107
Submitted by: sunpoet (myself)
Approved by: Axel Rau <axel.rau@chaos1.de> (maintainer) |
19.3.0 04 Jan 2020 22:52:55
  |
ehaupt  |
Update to 19.3.0
PR: 242851
Approved by: Axel.Rau@Chaos1.DE (maintainer) |
19.1.0 30 Jun 2019 19:51:22
  |
swills  |
devel/py-attrs: Update to 19.1.0
PR: 238466
Approved by: Axel.Rau@Chaos1.DE (maintainer) |
18.2.0 16 Sep 2018 00:08:28
  |
sunpoet  |
Update to 18.2.0
Changes: https://github.com/python-attrs/attrs/blob/master/CHANGELOG.rst
PR: 231386
Submitted by: Axel Rau <axel.rau@chaos1.de> (maintainer) |
18.1.0 30 Jun 2018 16:59:34
  |
loader  |
devel/py-attrs: Update to 18.1.0
Changelog:
https://github.com/python-attrs/attrs/blob/master/CHANGELOG.rst
- Update PORTVERSION and distinfo checksum to 18.1.0
- Add TEST_DEPENDS and test target
PR: 229170
Reviewed by: koobs
Approved by: koobs (mentor), Axel Rau <axel.rau@chaos1.de> (maintainer)
Differential Revision: https://reviews.freebsd.org/D15923 |
17.3.0 09 Dec 2017 20:27:32
  |
pi  |
devel/py-attrs: update 17.1.0 -> 17.3.0
PR: 224149
Submitted by: Axel Rau <Axel.Rau@Chaos1.DE> (maintainer)
Relnotes: https://github.com/python-attrs/attrs/blob/master/CHANGELOG.rst |
17.1.0 19 May 2017 15:36:19
  |
sunpoet  |
Update to 17.1.0
Changes: https://github.com/python-attrs/attrs/blob/master/CHANGELOG.rst
PR: 219373
Submitted by: John W. O'Brien <john@saltant.com>
Approved by: Axel Rau <axel.rau@chaos1.de> (maintainer) |
16.0.0 17 Jun 2016 20:04:50
  |
rm  |
devel/py-attrs upgrade to 16.0.0
PR: 210304
Submitted by: Axel.Rau@Chaos1.DE (maintainer) |
15.2.0 10 Mar 2016 16:23:24
  |
rakuco  |
New port: devel/py-attrs.
attrs is an MIT-licensed Python package with class decorators
that ease the chores of implementing the most common attribute-related
object protocols without writing dull boilerplate code again and again.
WWW: https://github.com/hynek/attrs
PR: 207853
Submitted by: Axel.Rau@Chaos1.DE |