Date: Thu, 02 Nov 2000 17:36:53 +0200 From: johann@egenetics.com To: FreeBSD-gnats-submit@freebsd.org Subject: ports/22542: New port: devel/py-mxProxy Message-ID: <E13rMQ9-000EZE-00@fling.sanbi.ac.za>
next in thread | raw e-mail | index | archive | help
>Number: 22542 >Category: ports >Synopsis: New port: devel/py-mxProxy >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Nov 02 07:40:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Johann Visagie >Release: FreeBSD 5.0-CURRENT i386 >Organization: Electric Genetics >Environment: >Description: - mxProxy is a Python module that provides a generic proxy wrapper type. It's part of the mx-Series of Python extension packages. - Liberally based on Thomas Gellekum's ports of other mx-Series extensions. - I tried to make the Makefile "generic", to ease the porting of further mx-Series packages. Apparently all mx-Series extensions will merge into a single package sometime in Q1 2001. - Only tested on 5.0-CURRENT w/ Python 2.0 >How-To-Repeat: >Fix: # 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-mxProxy # py-mxProxy/distinfo # py-mxProxy/pkg-comment # py-mxProxy/pkg-descr # py-mxProxy/Makefile # py-mxProxy/pkg-plist # echo c - py-mxProxy mkdir -p py-mxProxy > /dev/null 2>&1 echo x - py-mxProxy/distinfo sed 's/^X//' >py-mxProxy/distinfo << 'END-of-py-mxProxy/distinfo' XMD5 (mxProxy-0.2.0.zip) = 88fb44f55d77728062aef6ec2fc73469 END-of-py-mxProxy/distinfo echo x - py-mxProxy/pkg-comment sed 's/^X//' >py-mxProxy/pkg-comment << 'END-of-py-mxProxy/pkg-comment' XPython module that provides a generic proxy wrapper type END-of-py-mxProxy/pkg-comment echo x - py-mxProxy/pkg-descr sed 's/^X//' >py-mxProxy/pkg-descr << 'END-of-py-mxProxy/pkg-descr' XmxProxy is a Python extension package which provides a new type that can be Xused to implement Bastion-like features without the need to use restricted Xexecution environments. X XThe type's main features are secure data encapsulation (the hidden objects Xare not accessible from Python since they are stored in internal C Xstructures), customizable attribute lookup methods and a cleanup protocol Xthat helps in breaking circular references prior to object deletion. X XAuthor: Marc-Andre Lemburg <mal@lemburg.com> XWWW: http://starship.python.net/~lemburg/mxProxy.html X X-- Johann Visagie <johann@egenetics.com> END-of-py-mxProxy/pkg-descr echo x - py-mxProxy/Makefile sed 's/^X//' >py-mxProxy/Makefile << 'END-of-py-mxProxy/Makefile' X# New ports collection makefile for: py-mxProxy X# Date created: 2 November 2000 X# Whom: Johann Visagie <johann@egenetics.com> X# X# $FreeBSD$ X# X XPORTNAME= mxProxy XPORTVERSION= 0.2.0 XCATEGORIES= devel python XMASTER_SITES= http://starship.python.net/~lemburg/ XPKGNAMEPREFIX= py- X XMAINTAINER= johann@egenetics.com X XUSE_PYTHON= yes XUSE_ZIP= yes XEXTRACT_BEFORE_ARGS= -aq XWRKSRC= ${WRKDIR}/${PORTNAME:S/^mx//} XCONFIGURE_WRKSRC= ${WRKSRC}/${PORTNAME} XBUILD_WRKSRC= ${CONFIGURE_WRKSRC} XCONFIGURE_ENV+= PYTHON=${PYTHON_CMD} XALL_TARGET= sharedmods X XMODULEDIR= ${PYTHON_SITELIBDIR}/${PORTNAME:S/^mx//} XBINMODDIR= ${MODULEDIR}/${PORTNAME} XDOCDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} XEXAMPLEDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} X Xpost-extract: X @ ${CP} ${PYTHON_LIBDIR}/config/Makefile.pre.in ${CONFIGURE_WRKSRC} X Xdo-configure: X @ (cd ${CONFIGURE_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${MAKE} -f \ X Makefile.pre.in boot) X Xdo-install: X @ ${MKDIR} ${MODULEDIR} X @ ${MKDIR} ${BINMODDIR} X @ ${INSTALL_DATA} ${WRKSRC}/*.py ${MODULEDIR} X.for file in __init__.py ${PORTNAME}.so X @ ${INSTALL_DATA} ${BUILD_WRKSRC}/${file} ${BINMODDIR} X.endfor X @ strip ${BINMODDIR}/*.so X @ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${MODULEDIR} X @ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${MODULEDIR} X @ ${MKDIR} ${EXAMPLEDIR} X @ ${INSTALL_DATA} ${WRKSRC}/Examples/* ${EXAMPLEDIR} X.if !defined(NOPORTDOCS) X @ ${MKDIR} ${DOCDIR} X @ ${INSTALL_DATA} ${WRKSRC}/Doc/* ${DOCDIR} X.endif X X.include <bsd.port.mk> END-of-py-mxProxy/Makefile echo x - py-mxProxy/pkg-plist sed 's/^X//' >py-mxProxy/pkg-plist << 'END-of-py-mxProxy/pkg-plist' Xlib/%%PYTHON_VERSION%%/site-packages/Proxy/Proxy.py Xlib/%%PYTHON_VERSION%%/site-packages/Proxy/Proxy.pyc Xlib/%%PYTHON_VERSION%%/site-packages/Proxy/Proxy.pyo Xlib/%%PYTHON_VERSION%%/site-packages/Proxy/__init__.py Xlib/%%PYTHON_VERSION%%/site-packages/Proxy/__init__.pyc Xlib/%%PYTHON_VERSION%%/site-packages/Proxy/__init__.pyo Xlib/%%PYTHON_VERSION%%/site-packages/Proxy/mxProxy/__init__.py Xlib/%%PYTHON_VERSION%%/site-packages/Proxy/mxProxy/__init__.pyc Xlib/%%PYTHON_VERSION%%/site-packages/Proxy/mxProxy/__init__.pyo Xlib/%%PYTHON_VERSION%%/site-packages/Proxy/mxProxy/mxProxy.so Xshare/doc/py-mxProxy/mxProxy.html Xshare/examples/py-mxProxy/prototype.py X@dirrm share/examples/py-mxProxy X@dirrm share/doc/py-mxProxy X@dirrm lib/%%PYTHON_VERSION%%/site-packages/Proxy/mxProxy X@dirrm lib/%%PYTHON_VERSION%%/site-packages/Proxy END-of-py-mxProxy/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E13rMQ9-000EZE-00>