Grouch is a system for describing and enforcing a Python object schema.
That is, it provides you with a language for describing the intended type
signatures of your objects (collectively, the "object schema"), and tools
to walk an object graph, checking that every value found matches your
object schema.
An object schema describes every class in a collection of objects -- in
particular, it specifies the type of every instance attribute of every
class. Grouch includes a type language for specifying attribute types, a
tool to parse specially-formatted class docstrings and output a complete
object schema, and another tool for walking a persistent object graph and
ensuring that every scrap of data in it conforms to the object schema
extracted from your class docstrings. The API for defining, querying, and
enforcing types is fairly complete and well-documented, so you can use
Grouch's type system in other ways as well.
WWW: http://www.mems-exchange.org/software/grouch/
===> The following configuration options are available for py27-grouch-0.4_2:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
devel/py-grouch: support staging and minor changes
- Support staging
- Use python auto plist
- Unmute install command
- Remove leading article from COMMENT
For ports maintained by ports@FreeBSD.org, remove names and/or
e-mail addresses from the pkg-descr file that could reasonably
be mistaken for maintainer contact information in order to avoid
confusion on the part of users looking for support. As a pleasant
side effect this also avoids confusion and/or frustration for people
who are no longer maintaining those ports.
- Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
Python Eggs and the easy_install system
Tested by: pointyhat runs
Approved by: pav (portmgr)
Most work by: perky
Thanks to: pav