# 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 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 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