mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
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>
This commit is contained in:
parent
b97f4dcc3a
commit
17ba3fa7bb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369380
@ -3622,6 +3622,7 @@
|
||||
SUBDIR += py-celery
|
||||
SUBDIR += py-cffi
|
||||
SUBDIR += py-cfgparse
|
||||
SUBDIR += py-characteristic
|
||||
SUBDIR += py-checkmanifest
|
||||
SUBDIR += py-cheetah
|
||||
SUBDIR += py-ciphon
|
||||
|
19
devel/py-characteristic/Makefile
Normal file
19
devel/py-characteristic/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
# Created by: Axel Rau <axel.rau@chaos1.de>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= characteristic
|
||||
PORTVERSION= 14.1.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= axel.rau@chaos1.de
|
||||
COMMENT= Python attributes without boilerplate
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/py-characteristic/distinfo
Normal file
2
devel/py-characteristic/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (characteristic-14.1.0.tar.gz) = 91e254948180678dd69e6143202b4686f2fa47cce136936079bb4d9a3b82419d
|
||||
SIZE (characteristic-14.1.0.tar.gz) = 24612
|
12
devel/py-characteristic/pkg-descr
Normal file
12
devel/py-characteristic/pkg-descr
Normal file
@ -0,0 +1,12 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user