1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

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.

PR:		ports/119835
Submitted by:	alexander smishlajev <alex@ank-sia.com>
This commit is contained in:
Dryice Dong Liu 2008-01-28 09:23:35 +00:00
parent e9da7bab57
commit 08fc9f7784
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=206312
4 changed files with 39 additions and 0 deletions

View File

@ -1935,6 +1935,7 @@
SUBDIR += py-dateutil
SUBDIR += py-dbus
SUBDIR += py-decorator
SUBDIR += py-decoratortools
SUBDIR += py-dialog
SUBDIR += py-distorm
SUBDIR += py-durus

View File

@ -0,0 +1,25 @@
# New ports collection makefile for: py-DecoratorTools
# Date created: 20-jan-2008
# Whom: alexander smishlajev
#
# $FreeBSD$
#
PORTNAME= DecoratorTools
PORTVERSION= 1.7
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
MASTER_SITE_SUBDIR= source/D/DecoratorTools
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Class, function, and metaclass decorators
USE_PYTHON= 2.3+
USE_PYDISTUTILS= easy_install
USE_ZIP= yes
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (DecoratorTools-1.7.zip) = 84df0a86aabec6a7d802439ffaa17585
SHA256 (DecoratorTools-1.7.zip) = 55283e6acc4e5f66cb6e104f98d08f93b1bd29823d17d7e2f852541738a53a11
SIZE (DecoratorTools-1.7.zip) = 27481

View File

@ -0,0 +1,10 @@
Want to use decorators, but still need to support Python 2.3?
Wish you could have class decorators, decorate arbitrary assignments,
or match decorated function signatures to their original functions?
Want to get metaclass features without creating metaclasses?
How about synchronized methods?
"DecoratorTools" gets you all of this and more.
Author: Phillip J. Eby
WWW: http://cheeseshop.python.org/pypi/DecoratorTools