new package: add package 'TwistedCore'

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-07-25 14:20:31 +02:00
parent ff2d9845f0
commit 488035c30a
3 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,15 @@
#!/bin/sh
. config/options $1
. config/options.python
cd $PKG_BUILD
$PYTHON setup.py build
$PYTHON setup.py install -O1 --skip-build --root $SYSROOT_PREFIX --prefix /usr
$PYTHON setup.py install -O1 --skip-build --root ./.install --prefix /usr
find .install -name "*.py" -exec rm -rf "{}" ";"
find .install -name "*.pyo" -exec rm -rf "{}" ";"
rm -rf .install/usr/bin

View File

@ -0,0 +1,9 @@
#!/bin/sh
. config/options $1
BUILD_DIR=`ls -d $PKG_BUILD`
. config/options.python
cp -PR $BUILD_DIR/.install/* $INSTALL

View File

@ -0,0 +1,14 @@
PKG_NAME="TwistedCore"
PKG_VERSION="10.1.0"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="http://twistedmatrix.com/"
PKG_URL="http://tmrc.mit.edu/mirror/twisted/Core/10.1/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS="Python"
PKG_BUILD_DEPENDS="toolchain Python"
PKG_PRIORITY="optional"
PKG_SECTION="python/web"
PKG_SHORTDESC="TwistedCore: An event-based networking framework for Internet applications"
PKG_LONGDESC="Twisted is an event-based framework for Internet applications. It includes a Web server, an SMTP/POP3 server, a telnet server, an SSH server, an IRC server, a DNS server, a generic client/server pair for remote object access (Perspective Broker), and APIs for creating new protocols. It supports integration with GTK+, GTK+ 2, Qt, Tkinter, wxPython, Mac OS X (PyObjC) and Win32 event loops. It also supports TCP, SSL and TLS, UDP, Unix sockets, multicast, and serial ports. Supported protocols include HTTP, FTP, SMTP, POP3, IMAP, TOC, OSCAR (AIM and ICQ), SSH, DNS, IRC, NNTP, Jabber, SOCKSv4, Telnet, SIP (for VoIP), and XML-RPC and SOAP using external packages. Most protocols are supported as both servers and clients."
PKG_IS_ADDON="no"