FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
py-attrs Python attributes without boilerplate
17.1.0 devel on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: axel.rau@chaos1.de search for ports maintained by this maintainer
Port Added: 10 Mar 2016 16:23:35
Also Listed In: python
License: MIT
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.

WWW: https://github.com/hynek/attrs
SVNWeb : Homepage : PortsMon : pkg-plist

To install the port: cd /usr/ports/devel/py-attrs/ && make install clean
To add the package: pkg install py27-attrs

PKGNAME: py27-attrs

distinfo:

TIMESTAMP = 1495103265
SHA256 (attrs-17.1.0.tar.gz) = 91a2160e61ffb778a8d017c9b1dcc60758d65d39bf7b480e5e9c6005a4462321
SIZE (attrs-17.1.0.tar.gz) = 76069


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. py27-setuptools>0 : devel/py27-setuptools
  2. python2.7 : lang/python27
Runtime dependencies:
  1. py27-setuptools>0 : devel/py27-setuptools
  2. python2.7 : lang/python27

This port is required by:

for Run * - 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

USES:
python

Master Sites:
  1. https://files.pythonhosted.org/packages/source/a/attrs/
  2. https://pypi.python.org/packages/source/a/attrs/

Number of commits found: 3

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
19 May 2017 15:36:19
Original commit files touched by this commit  17.1.0
Revision:441242
sunpoet search for other commits by this committer
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)
17 Jun 2016 20:04:50
Original commit files touched by this commit  16.0.0
Revision:417035
rm search for other commits by this committer
devel/py-attrs upgrade to 16.0.0

PR:		210304
Submitted by:	Axel.Rau@Chaos1.DE (maintainer)
10 Mar 2016 16:23:24
Original commit files touched by this commit  15.2.0
Revision:410763
rakuco search for other commits by this committer
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

Number of commits found: 3

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
arjOct 19
cactiOct 19
mariadb100-serverOct 19
mariadb101-serverOct 19
mariadb102-serverOct 19
mariadb55-serverOct 19
mysql55-serverOct 19
mysql56-serverOct 19
mysql57-serverOct 19
percona55-serverOct 19
percona56-serverOct 19
percona57-serverOct 19
krb5Oct 18
krb5-113Oct 18
krb5-114Oct 18

22 vulnerabilities affecting 93 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 31598
Broken 153
Deprecated 75
Ignore 422
Forbidden 0
Restricted 175
No CDROM 78
Vulnerable 58
Expired 16
Set to expire 68
Interactive 0
new 24 hours 12
new 48 hours15
new 7 days25
new fortnight49
new month108

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2017 Dan Langille. All rights reserved.