Bug 193929 - [NEW PORT] devel/py-characteristic: Python attributes without boilerplate
Summary: [NEW PORT] devel/py-characteristic: Python attributes without boilerplate
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Marcus von Appen
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2014-09-25 18:02 UTC by Axel.Rau
Modified: 2014-09-28 02:34 UTC (History)
0 users

See Also:


Attachments
shell archive of the new port (1.90 KB, text/plain)
2014-09-25 18:02 UTC, Axel.Rau
no flags Details
shekk archive of revised port (1.90 KB, text/plain)
2014-09-27 08:16 UTC, Axel.Rau
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Axel.Rau 2014-09-25 18:02:11 UTC
Created attachment 147674 [details]
shell archive of the new port

py-characteristic is a Python package with class decorators that ease the
chores of implementing the most common attribute-related object protocols.
Comment 1 Marcus von Appen freebsd_committer freebsd_triage 2014-09-26 20:22:44 UTC
Drop the leading py- in pkg-descr. The upstream package is named "characteristic" and we should keep it in the description instead of using FreeBSD's port and package naming.
Comment 2 Axel.Rau 2014-09-27 08:16:55 UTC
Created attachment 147714 [details]
shekk archive of revised port

pkg-descr corrected.
Comment 3 commit-hook freebsd_committer freebsd_triage 2014-09-27 08:34:17 UTC
A commit references this bug:

Author: mva
Date: Sat Sep 27 08:34:12 UTC 2014
New revision: 369380
URL: https://svnweb.freebsd.org/changeset/ports/369380

Log:
  characteristic is a 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 characteristic gives you
  any or all of:
    a nice human-readable __repr__,
    a complete set of comparison methods,
    immutability for attributes,
    and a kwargs-based initializer
  without writing dull boilerplate code again and again.

  WWW: https://github.com/hynek/characteristic

  PR:		193929
  Submitted by:	Axel Rau <Axel.Rau@Chaos1.DE>

Changes:
  head/devel/Makefile
  head/devel/py-characteristic/
  head/devel/py-characteristic/Makefile
  head/devel/py-characteristic/distinfo
  head/devel/py-characteristic/pkg-descr
Comment 4 Marcus von Appen freebsd_committer freebsd_triage 2014-09-27 08:35:06 UTC
Committed in ports r369380, thanks!