mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +00:00
new package: add package 'TwistedWeb'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
488035c30a
commit
5476d254b9
16
packages/python/web/TwistedWeb/build
Executable file
16
packages/python/web/TwistedWeb/build
Executable 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/web/test
|
5
packages/python/web/TwistedWeb/install
Executable file
5
packages/python/web/TwistedWeb/install
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options $1
|
||||||
|
|
||||||
|
cp -PR $PKG_BUILD/.install/* $INSTALL
|
14
packages/python/web/TwistedWeb/meta
Normal file
14
packages/python/web/TwistedWeb/meta
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
PKG_NAME="TwistedWeb"
|
||||||
|
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/Web/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="TwistedWeb: 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"
|
Loading…
x
Reference in New Issue
Block a user