FreeBSD Bugzilla – Attachment 167935 Details for
Bug 207853
[NEW PORT][PATCH] devel/py-attrs class decorators
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
shar archive of new port
py-attrs.shar (text/plain), 2.01 KB, created by
Axel.Rau
on 2016-03-09 19:13:48 UTC
(
hide
)
Description:
shar archive of new port
Filename:
MIME Type:
Creator:
Axel.Rau
Created:
2016-03-09 19:13:48 UTC
Size:
2.01 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># py-attrs ># py-attrs/distinfo ># py-attrs/Makefile ># py-attrs/pkg-descr ># >echo c - py-attrs >mkdir -p py-attrs > /dev/null 2>&1 >echo x - py-attrs/distinfo >sed 's/^X//' >py-attrs/distinfo << 'e5e16ec176ea73498f9e209a8565ecc1' >XSHA256 (attrs-15.2.0.tar.gz) = 9f895d2ecefa0be054e29375769f1d0ee88e93ce820088cf5c49390529bf7ee7 >XSIZE (attrs-15.2.0.tar.gz) = 36766 >e5e16ec176ea73498f9e209a8565ecc1 >echo x - py-attrs/Makefile >sed 's/^X//' >py-attrs/Makefile << '91c244bc67d3655717c3a4bb849b226c' >X# Created by: Axel Rau <axel.rau@chaos1.de> >X >XPORTNAME= attrs >XPORTVERSION= 15.2.0 >XCATEGORIES= devel python >XMASTER_SITES= CHEESESHOP >XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >X >XMAINTAINER= axel.rau@chaos1.de >XCOMMENT= Python attributes without boilerplate >X >XLICENSE= MIT >XLICENSE_FILE= ${WRKSRC}/LICENSE >X >XUSES= python >XUSE_PYTHON= distutils autoplist >XNO_ARCH=yes >X >X.include <bsd.port.mk> >91c244bc67d3655717c3a4bb849b226c >echo x - py-attrs/pkg-descr >sed 's/^X//' >py-attrs/pkg-descr << 'aa4b6d98c453ccfc063c2dd63e6f1f3a' >Xattrs is an MIT-licensed Python package with class decorators >Xthat ease the chores of implementing the most common attribute-related >Xobject protocols: >X >X>>> import attr >X>>> @attr.s >X... class C(object): >X... x = attr.ib(default=42) >X... y = attr.ib(default=attr.Factory(list)) >X>>> i = C(x=1, y=2) >X >X(If you don\u2019t like the playful attr.s and attr.ib, you can also use their >Xno-nonsense aliases attr.attributes and attr.attr). >X >XYou just specify the attributes to work with and attrs gives you: >X >X a nice human-readable __repr__, >X a complete set of comparison methods, >X an initializer, >X and much more >X >Xwithout writing dull boilerplate code again and again. >X >XWWW: https://github.com/hynek/attrs >aa4b6d98c453ccfc063c2dd63e6f1f3a >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
rakuco
:
maintainer-approval+
Actions:
View
Attachments on
bug 207853
: 167935