Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2008 18:07:04 GMT
From:      alexander smishlajev <alex@ank-sia.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/119835: New port: devel/py-DecoratorTools - class, function, and metaclass decorators
Message-ID:  <200801201807.m0KI745d071754@www.freebsd.org>
Resent-Message-ID: <200801201810.m0KIA2hH068038@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 <bsd.port.mk>
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801201807.m0KI745d071754>