From owner-cvs-all@FreeBSD.ORG Mon Jun 25 18:14:48 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6D7C416A46B; Mon, 25 Jun 2007 18:14:48 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 5E90213C45A; Mon, 25 Jun 2007 18:14:48 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5PIEm7I087400; Mon, 25 Jun 2007 18:14:48 GMT (envelope-from miwi@repoman.freebsd.org) Received: (from miwi@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5PIEmrr087399; Mon, 25 Jun 2007 18:14:48 GMT (envelope-from miwi) Message-Id: <200706251814.l5PIEmrr087399@repoman.freebsd.org> From: Martin Wilke Date: Mon, 25 Jun 2007 18:14:47 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/devel Makefile ports/devel/py-decorator Makefile distinfo pkg-descr pkg-plist X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2007 18:14:48 -0000 miwi 2007-06-25 18:14:47 UTC FreeBSD ports repository Modified files: devel Makefile Added files: devel/py-decorator Makefile distinfo pkg-descr pkg-plist Log: As of now, writing custom decorators correctly requires some experience and it is not as easy as it could be. For instance, typical implementations of decorators involve nested functions, and we all know that flat is better than nested. Moreover, typical implementations of decorators do not preserve the signature of decorated functions, thus confusing both documentation tools and developers. The aim of the decorator module it to simplify the usage of decorators for the average programmer, and to popularize decorators usage giving examples of useful decorators, such as memoize, tracing, redirecting_stdout, locked, etc. WWW: http://www.phyast.pitt.edu/~micheles/python/documentation.html PR: ports/113968 Submitted by: Denis Shaposhnikov Revision Changes Path 1.2796 +1 -0 ports/devel/Makefile 1.1 +43 -0 ports/devel/py-decorator/Makefile (new) 1.1 +3 -0 ports/devel/py-decorator/distinfo (new) 1.1 +14 -0 ports/devel/py-decorator/pkg-descr (new) 1.1 +12 -0 ports/devel/py-decorator/pkg-plist (new)