new package: add package 'TwistedNames'

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-09-08 01:29:13 +02:00
parent 694d02caaa
commit eaeaa29e37
3 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,16 @@
#!/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/lib/python*/site-packages/twisted/names/test

View File

@ -0,0 +1,5 @@
#!/bin/sh
. config/options $1
cp -PR $PKG_BUILD/.install/* $INSTALL

View File

@ -0,0 +1,14 @@
PKG_NAME="TwistedNames"
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/Names/10.1/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS="Python TwistedCore"
PKG_BUILD_DEPENDS="toolchain Python TwistedCore"
PKG_PRIORITY="optional"
PKG_SECTION="python/web"
PKG_SHORTDESC="TwistedNames: Name resolution part of Twisted framework"
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"