pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-characteristic Import py34-characteristic-14....
details: https://anonhg.NetBSD.org/pkgsrc/rev/2ac814dcbe58
branches: trunk
changeset: 650280:2ac814dcbe58
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Apr 20 07:28:58 2015 +0000
description:
Import py34-characteristic-14.3.0 as devel/py-characteristic.
characteristic 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 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 (that cooperates with your existing
one and optionally even checks the types of the arguments)
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!
diffstat:
devel/py-characteristic/DESCR | 21 +++++++++++++++++++++
devel/py-characteristic/Makefile | 14 ++++++++++++++
devel/py-characteristic/PLIST | 11 +++++++++++
devel/py-characteristic/distinfo | 5 +++++
4 files changed, 51 insertions(+), 0 deletions(-)
diffs (67 lines):
diff -r c48497a574ee -r 2ac814dcbe58 devel/py-characteristic/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-characteristic/DESCR Mon Apr 20 07:28:58 2015 +0000
@@ -0,0 +1,21 @@
+characteristic 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 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 (that cooperates with your existing
+ one and optionally even checks the types of the arguments)
+
+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!
diff -r c48497a574ee -r 2ac814dcbe58 devel/py-characteristic/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-characteristic/Makefile Mon Apr 20 07:28:58 2015 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2015/04/20 07:28:58 wiz Exp $
+
+DISTNAME= characteristic-14.3.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= https://pypi.python.org/packages/source/c/characteristic/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://pypi.python.org/pypi/characteristic
+COMMENT= Python attributes without boilerplate
+LICENSE= mit
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c48497a574ee -r 2ac814dcbe58 devel/py-characteristic/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-characteristic/PLIST Mon Apr 20 07:28:58 2015 +0000
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2015/04/20 07:28:58 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/characteristic.py
+${PYSITELIB}/characteristic.pyc
+${PYSITELIB}/characteristic.pyo
+${PYSITELIB}/test_characteristic.py
+${PYSITELIB}/test_characteristic.pyc
+${PYSITELIB}/test_characteristic.pyo
diff -r c48497a574ee -r 2ac814dcbe58 devel/py-characteristic/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-characteristic/distinfo Mon Apr 20 07:28:58 2015 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/04/20 07:28:58 wiz Exp $
+
+SHA1 (characteristic-14.3.0.tar.gz) = 81e19af03f3cba606e159f1abb47fdff7d2e6e90
+RMD160 (characteristic-14.3.0.tar.gz) = a6b7ad57b30b4c2db3d009fd5a409017da64accd
+Size (characteristic-14.3.0.tar.gz) = 26993 bytes
Home |
Main Index |
Thread Index |
Old Index