[oe-commits] org.oe.dreambox twisted: update to 2.5.0

tmbinc commit openembedded-commits at lists.openembedded.org
Mon Jun 25 10:23:42 UTC 2007


twisted: update to 2.5.0

Author: tmbinc at openembedded.org
Branch: org.openembedded.dreambox
Revision: 95b114006caab31758046419cea8a4b6659847dc
ViewMTN: http://monotone.openembedded.org/revision.psp?id=95b114006caab31758046419cea8a4b6659847dc
Files:
1
packages/twisted/twisted-native_2.5.0.bb
packages/twisted/twisted_2.5.0.bb
Diffs:

#
# mt diff -r0c9a14d83636750c268be7708dd69a65e36f0699 -r95b114006caab31758046419cea8a4b6659847dc
#
# 
# 
# add_file "packages/twisted/twisted-native_2.5.0.bb"
#  content [a29124c4bae7aded579381dbfbad54fb6ef8fd01]
# 
# add_file "packages/twisted/twisted_2.5.0.bb"
#  content [22a31965ea92cf9ca058584ab269303577af4f55]
# 
============================================================
--- packages/twisted/twisted-native_2.5.0.bb	a29124c4bae7aded579381dbfbad54fb6ef8fd01
+++ packages/twisted/twisted-native_2.5.0.bb	a29124c4bae7aded579381dbfbad54fb6ef8fd01
@@ -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}
+}
============================================================
--- packages/twisted/twisted_2.5.0.bb	22a31965ea92cf9ca058584ab269303577af4f55
+++ packages/twisted/twisted_2.5.0.bb	22a31965ea92cf9ca058584ab269303577af4f55
@@ -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/2.5/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}
+}






More information about the Openembedded-commits mailing list