Date: Mon, 2 Feb 2009 23:40:29 GMT From: Sofian Brabez <sbrabez@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/131319: New port: devel/py25-aspects: Lightweight aspect oriented programming library for Python Message-ID: <200902022340.n12NeTaC012730@www.freebsd.org> Resent-Message-ID: <200902022350.n12No0UF074747@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 131319 >Category: ports >Synopsis: New port: devel/py25-aspects: Lightweight aspect oriented programming library for Python >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Feb 02 23:50:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Sofian Brabez >Release: FreeBSD 7.0-RELEASE i386 >Organization: >Environment: FreeBSD atemi 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 >Description: Here the .shar file as attachement to add aspects to the port tree (devel category) aspects is a lightweight approach to aspect oriented programming (AOP) in Python.The aspects.py library provides means to intercept function calls. Functions and methods (also in Python standard library and third party code) can be wrapped so that when they are called, the wrap is invoked first. Features: =========== * Aspect Oriented Programming in Python Requirements: =============== * Python 2.5 and later Author: ========= Antti Kervinen WWW: http://www.cs.tut.fi/~ask/aspects/index.shtml >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: # # py-aspects # py-aspects/pkg-descr # py-aspects/Makefile # py-aspects/pkg-plist # py-aspects/distinfo # py-aspects/pkg-message # echo c - py-aspects mkdir -p py-aspects > /dev/null 2>&1 echo x - py-aspects/pkg-descr sed 's/^X//' >py-aspects/pkg-descr << 'END-of-py-aspects/pkg-descr' Xaspects is a lightweight approach to aspect oriented programming (AOP) in XPython.The aspects.py library provides means to intercept function calls. XFunctions and methods (also in Python standard library and third party code) Xcan be wrapped so that when they are called, the wrap is invoked first. X XWWW: http://www.cs.tut.fi/~ask/aspects/index.shtml END-of-py-aspects/pkg-descr echo x - py-aspects/Makefile sed 's/^X//' >py-aspects/Makefile << 'END-of-py-aspects/Makefile' X# New ports collection makefile for: py-aspects X# Date created: 2009-02-02 X# Whom: Sofian Brabez <sbrabez@gmail.com> X# X# $FreeBSD$ X# X XPORTNAME= aspects XPORTVERSION= 1.3 XCATEGORIES= devel python XMASTER_SITES= http://www.cs.tut.fi/~ask/aspects/ XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} XDISTNAME= python-${PORTNAME}-${PORTVERSION} X XMAINTAINER= sbrabez@gmail.com XCOMMENT= Lightweight aspect oriented programming library for Python X XUSE_GMAKE= yes XUSE_PYTHON= 2.5+ XUSE_PYDISTUTILS= yes XPYDISTUTILS_PKGNAME= python-${PORTNAME} X XEXAMPLESFILES= httpget_example.py timeout_advice.py timeout_example.py \ X tracer_advice.py tracer_example.py typecheck_advice.py \ X typecheck_example.py XEXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} X Xdo-build: X @${GMAKE} -C ${WRKSRC} check X X.if !defined(NOPORTEXAMPLES) Xpost-install: X @${MKDIR} ${EXAMPLESDIR} X.for f in ${EXAMPLESFILES} X @${INSTALL_DATA} ${WRKSRC}/examples/${f} ${EXAMPLESDIR} X.endfor X.endif X X.if !defined(BATCH) X @${CAT} ${PKGMESSAGE} X.endif X X.include <bsd.port.mk> END-of-py-aspects/Makefile echo x - py-aspects/pkg-plist sed 's/^X//' >py-aspects/pkg-plist << 'END-of-py-aspects/pkg-plist' X%%PYTHON_SITELIBDIR%%/aspects.py X%%PYTHON_SITELIBDIR%%/aspects.pyc X%%PYTHON_SITELIBDIR%%/aspects.pyo X%%EXAMPLESDIR%%/httpget_example.py X%%EXAMPLESDIR%%/timeout_advice.py X%%EXAMPLESDIR%%/timeout_example.py X%%EXAMPLESDIR%%/tracer_advice.py X%%EXAMPLESDIR%%/tracer_example.py X%%EXAMPLESDIR%%/typecheck_advice.py X%%EXAMPLESDIR%%/typecheck_example.py X@dirrm %%EXAMPLESDIR%% END-of-py-aspects/pkg-plist echo x - py-aspects/distinfo sed 's/^X//' >py-aspects/distinfo << 'END-of-py-aspects/distinfo' XMD5 (python-aspects-1.3.tar.gz) = ecbd94aa358f2e21675a88943a175ee2 XSHA256 (python-aspects-1.3.tar.gz) = c012fadc798c3fa0f43b30193d7c0fddcbc0f003f3b51c80d4519112ee15d3ed XSIZE (python-aspects-1.3.tar.gz) = 24485 END-of-py-aspects/distinfo echo x - py-aspects/pkg-message sed 's/^X//' >py-aspects/pkg-message << 'END-of-py-aspects/pkg-message' X------------------------------------------------------------- Xaspects is installed. X XFor a quick start: X - examples files are in PREFIX/share/examples/py-aspects/ X - import aspects for using the module X X------------------------------------------------------------- END-of-py-aspects/pkg-message exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902022340.n12NeTaC012730>