./devel/py-attrs [classes without boilerplate]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 19.3.0, Package name: py-attrs-19.3.0
Maintained by: The OpenBSD ports mailing-list
Master sites:
Flavors (export FLAVOR=xyz, setenv FLAVOR xyz):
  • python3
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!


Filesize: 129.372 KB
Version History (View Complete History)
  • (2020-01-07) Updated to version: py-attrs-19.3.0
  • (2019-03-26) Updated to version: py-attrs-18.2.0
  • (2018-04-28) Updated to version: py-attrs-17.4.0
  • (2017-05-06) Package added to openports.se, version py-attrs-16.3.0 (created)
[show/hide] View available PLISTS (Can be a lot of data)

CVS Commit History:

   2020-07-03 15:13:23 by Stuart Henderson | Files touched by this commit (1032)
Log message:
bump REVISION; python 3 default changed to 3.8
   2020-01-06 11:12:09 by Kurt Mosiejczuk | Files touched by this commit (3)
Log message:
Update devel/py-attrs 18.2.0 -> 19.3.0
Bring py-attrs up to latest
Most work done by sthen, I worked through tests to verify it
doesn't break anything
OK sthen@
   2019-07-12 14:45:17 by Stuart Henderson | Files touched by this commit (859)
Log message:
replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes
   2019-04-28 14:52:03 by Stuart Henderson | Files touched by this commit (715)
Log message:
bump all the py3 things, _SYSTEM_VERSION didn't quite work out how
we expected and it's easier|safer to do it this way than fiddle with
pkg_add now. thanks aja for update tests with a quick bulk.
   2019-03-25 18:57:17 by Daniel Jakots | Files touched by this commit (3)
Log message:
Update to py-attrs-18.2.0
From Timo Myyra
   2019-03-25 08:29:53 by Klemens Nanni | Files touched by this commit (70)
Log message:
Convert devel/py-test consumers to new MODPY_PYTEST
lang/python/python.port.mk revision 1.102 and 1.103 added
MODPY_TEST_LOCALE and MODPY_PYTEST respectively, nicely wrapping up the
usual pytest dance.
This removes hand-rolled do-tests from all 70 ports by setting
MODPY_PYTEST=Yes and MODPY_TEST_LOCALE as well as HOME=${WRKDIR} to TESTENV
as needed.
From Kurt Mosiejczuk <kurt at cranky dot work>, thanks!
OK sthen
   2018-04-28 04:41:38 by Pavel Korovin | Files touched by this commit (3)
Log message:
Update py-attrs 16.3.0 -> 17.4.0
ok danj@ sthen@