diff options
author | Felix Domke <felix.domke@multimedia-labs.de> | 2009-08-21 00:19:24 +0200 |
---|---|---|
committer | Felix Domke <felix.domke@multimedia-labs.de> | 2009-08-21 00:19:24 +0200 |
commit | f621acba2faec95c28e12c27a88db8ae14b2e5f9 (patch) | |
tree | 153c5cff421ca3229ec56c5bff9d486c5465b8a2 | |
parent | 85e9bb36d31340e7b7bc614115ff6adcdd00aa0f (diff) | |
parent | 639cbc8ce17d94a5e8a6aeb3f28186d1667c7281 (diff) | |
download | openembedded-f621acba2faec95c28e12c27a88db8ae14b2e5f9.tar.gz |
Merge branch 'org.openembedded.dreambox' of git://git.opendreambox.org/git/obi/opendreambox-1.5 into org.openembedded.dreambox
-rw-r--r-- | packages/twisted/twisted-native_8.2.0.bb | 8 | ||||
-rw-r--r-- | packages/twisted/twisted-web_8.2.0.bb | 17 | ||||
-rw-r--r-- | packages/twisted/twisted_8.2.0.bb | 36 |
3 files changed, 61 insertions, 0 deletions
diff --git a/packages/twisted/twisted-native_8.2.0.bb b/packages/twisted/twisted-native_8.2.0.bb new file mode 100644 index 0000000000..a54359c5fe --- /dev/null +++ b/packages/twisted/twisted-native_8.2.0.bb @@ -0,0 +1,8 @@ +include twisted_${PV}.bb +inherit native +DEPENDS = "python-native zope-interface-native" + +do_stage() { + BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ + ${STAGING_BINDIR}/python setup.py install --prefix=${STAGING_BINDIR}/.. --install-data=${STAGING_DATADIR} +} diff --git a/packages/twisted/twisted-web_8.2.0.bb b/packages/twisted/twisted-web_8.2.0.bb new file mode 100644 index 0000000000..204d6ba234 --- /dev/null +++ b/packages/twisted/twisted-web_8.2.0.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Twisted web is a web server, and also provides basic HTTP \ +client support. You may want to check out Nevow, a templating toolkit \ +designed for twisted.web, and Twisted Web2, the next generation Twisted web server." + +HOMEPAGE = "http://www.twistedmatrix.com" +SECTION = "console/network" +PRIORITY = "optional" +LICENSE = "LGPL" +DEPENDS = "twisted-native" +RDEPENDS = "twisted" + +SRC_URI = "http://tmrc.mit.edu/mirror/twisted/Web/8.2/TwistedWeb-${PV}.tar.bz2" + +S = "${WORKDIR}/TwistedWeb-${PV}" + +inherit distutils + diff --git a/packages/twisted/twisted_8.2.0.bb b/packages/twisted/twisted_8.2.0.bb new file mode 100644 index 0000000000..5661b762ee --- /dev/null +++ b/packages/twisted/twisted_8.2.0.bb @@ -0,0 +1,36 @@ +DESCRIPTION = "Twisted is an event-driven networking framework written in Python and licensed under the LGPL. \ +Twisted supports TCP, UDP, SSL/TLS, multicast, Unix sockets, a large number of protocols \ +(including HTTP, NNTP, IMAP, SSH, IRC, FTP, and others), and much more." +HOMEPAGE = "http://www.twistedmatrix.com" +SECTION = "console/network" +PRIORITY = "optional" +LICENSE = "LGPL" +DEPENDS = "zope-interface-native zope-interface python-crypto twisted-native" +RDEPENDS = "python-core zope-interface python-pickle python-fcntl python-crypto" + +SRC_URI = "http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/Twisted-${PV}.tar.bz2" + +S = "${WORKDIR}/Twisted-${PV}" + +inherit distutils + +SP = "${libdir}/${PYTHON_DIR}/site-packages/twisted" + +FILES_twisted-conch = "${SP}/conch/" +FILES_twisted-lore = "${SP}/lore/" +FILES_twisted-mail = "${SP}/mail/" +FILES_twisted-names = "${SP}/names/" +FILES_twisted-news = "${SP}/news/" +FILES_twisted-runner = "${SP}/runner/" +FILES_twisted-web = "${SP}/web/" +FILES_twisted-words = "${SP}/words/" +FILES_twisted-trial = "${SP}/trial/ ${SP}/test/" +PACKAGES = "twisted-conch twisted-lore twisted-mail twisted-names twisted-news twisted-runner twisted-web twisted-words twisted-trial twisted" + +do_compile_prepend() { + export PYTHONPATH=${S}/TwistedCore-${PV} +} + +do_install_prepend() { + export PYTHONPATH=${S}/TwistedCore-${PV} +} |