From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jan 20 18:10:02 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EA2E16A421 for ; Sun, 20 Jan 2008 18:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 39EFA13C46B for ; Sun, 20 Jan 2008 18:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0KIA2XJ068039 for ; Sun, 20 Jan 2008 18:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0KIA2hH068038; Sun, 20 Jan 2008 18:10:02 GMT (envelope-from gnats) Resent-Date: Sun, 20 Jan 2008 18:10:02 GMT Resent-Message-Id: <200801201810.m0KIA2hH068038@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, alexander smishlajev Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FC2116A41A for ; Sun, 20 Jan 2008 18:08:32 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 79FE613C45D for ; Sun, 20 Jan 2008 18:08:32 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m0KI74LC071755 for ; Sun, 20 Jan 2008 18:07:04 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m0KI745d071754; Sun, 20 Jan 2008 18:07:04 GMT (envelope-from nobody) Message-Id: <200801201807.m0KI745d071754@www.freebsd.org> Date: Sun, 20 Jan 2008 18:07:04 GMT From: alexander smishlajev To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/119835: New port: devel/py-DecoratorTools - class, function, and metaclass decorators X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2008 18:10:02 -0000 >Number: 119835 >Category: ports >Synopsis: New port: devel/py-DecoratorTools - class, function, and metaclass decorators >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Jan 20 18:10:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: alexander smishlajev >Release: 5.4-RELEASE >Organization: >Environment: >Description: Installing DecoratorTools gives access to the peak.util.decorators module. The tools in this module have been bundled for years inside of PEAK, PyProtocols, RuleDispatch, and the zope.interface package, so they have been widely used and tested. Recent versions of the TurboGears framework (ported to FreeBSD as www/py-turbogears) require the DecoratorTools package. >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # devel/py-DecoratorTools # devel/py-DecoratorTools/Makefile # devel/py-DecoratorTools/distinfo # devel/py-DecoratorTools/pkg-descr # echo c - devel/py-DecoratorTools mkdir -p devel/py-DecoratorTools > /dev/null 2>&1 echo x - devel/py-DecoratorTools/Makefile sed 's/^X//' >devel/py-DecoratorTools/Makefile << 'END-of-devel/py-DecoratorTools/Makefile' X# New ports collection makefile for: py-DecoratorTools X# Date created: 20-jan-2008 X# Whom: alexander smishlajev X# X# $FreeBSD$ X# X XPORTNAME= DecoratorTools XPORTVERSION= 1.7 XCATEGORIES= devel python XMASTER_SITES= ${MASTER_SITE_CHEESESHOP} XMASTER_SITE_SUBDIR= source/D/DecoratorTools XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} X XMAINTAINER= portmgr@FreeBSD.org XCOMMENT= Class, function, and metaclass decorators X XUSE_PYTHON= 2.3+ XUSE_PYDISTUTILS= easy_install X XUSE_ZIP= yes X XPLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% X X.include END-of-devel/py-DecoratorTools/Makefile echo x - devel/py-DecoratorTools/distinfo sed 's/^X//' >devel/py-DecoratorTools/distinfo << 'END-of-devel/py-DecoratorTools/distinfo' XMD5 (DecoratorTools-1.7.zip) = 84df0a86aabec6a7d802439ffaa17585 XSHA256 (DecoratorTools-1.7.zip) = 55283e6acc4e5f66cb6e104f98d08f93b1bd29823d17d7e2f852541738a53a11 XSIZE (DecoratorTools-1.7.zip) = 27481 END-of-devel/py-DecoratorTools/distinfo echo x - devel/py-DecoratorTools/pkg-descr sed 's/^X//' >devel/py-DecoratorTools/pkg-descr << 'END-of-devel/py-DecoratorTools/pkg-descr' XWant to use decorators, but still need to support Python 2.3? XWish you could have class decorators, decorate arbitrary assignments, Xor match decorated function signatures to their original functions? XWant to get metaclass features without creating metaclasses? XHow about synchronized methods? X X"DecoratorTools" gets you all of this and more. X XAuthor: Phillip J. Eby XWWW: http://cheeseshop.python.org/pypi/DecoratorTools END-of-devel/py-DecoratorTools/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted: