[oe-commits] Michael 'Mickey' Lauer : zope-interfaces: new recipe; standalone Zope interfaces for extension products
GIT User account
git at amethyst.openembedded.net
Fri Mar 27 17:19:46 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 75b82c6cc3c5f45e937968b593d669ac9fd7185f
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=75b82c6cc3c5f45e937968b593d669ac9fd7185f
Author: Michael 'Mickey' Lauer <mickey at vanille-media.de>
Date: Fri Mar 27 18:16:40 2009 +0100
zope-interfaces: new recipe; standalone Zope interfaces for extension products
adjust main zope recipe accordingly
---
recipes/tasks/task-python-everything.bb | 3 +-
recipes/zope/zope-interfaces_3.3.0.bb | 9 +++++++
recipes/zope/zope-native_3.3.1.bb | 3 +-
recipes/zope/zope.inc | 39 +++++++++++++++++++++++++++++++
recipes/zope/zope_3.3.1.bb | 3 +-
5 files changed, 53 insertions(+), 4 deletions(-)
diff --git a/recipes/tasks/task-python-everything.bb b/recipes/tasks/task-python-everything.bb
index a190c0f..16a48f2 100644
--- a/recipes/tasks/task-python-everything.bb
+++ b/recipes/tasks/task-python-everything.bb
@@ -2,7 +2,7 @@ DESCRIPTION= "Everything Python"
HOMEPAGE = "http://www.vanille.de/projects/python.spy"
LICENSE = "MIT"
PV = "2.6"
-PR = "ml43"
+PR = "ml44"
RDEPENDS = "\
python-ao \
@@ -115,4 +115,5 @@ RDEPENDS = "\
moin \
plone \
zope \
+ zope-interfaces \
"
diff --git a/recipes/zope/zope-interfaces_3.3.0.bb b/recipes/zope/zope-interfaces_3.3.0.bb
new file mode 100644
index 0000000..8553391
--- /dev/null
+++ b/recipes/zope/zope-interfaces_3.3.0.bb
@@ -0,0 +1,9 @@
+DESCRIPTION = "Interface definitions for Zope products"
+SECTION = "console/network"
+PRIORITY = "optional"
+LICENSE = "ZPL"
+
+inherit distutils
+
+SRC_URI = "http://pypi.python.org/packages/source/z/zope.interface/zope.interface-${PV}.tar.gz"
+S = "${WORKDIR}/zope.interface-${PV}"
diff --git a/recipes/zope/zope-native_3.3.1.bb b/recipes/zope/zope-native_3.3.1.bb
index 70d19e9..cb0d690 100644
--- a/recipes/zope/zope-native_3.3.1.bb
+++ b/recipes/zope/zope-native_3.3.1.bb
@@ -1,7 +1,6 @@
inherit native distutils-native-base
-require zope-${PV}.inc
+require zope.inc
export BUILD_SYS
export HOST_SYS
-
diff --git a/recipes/zope/zope.inc b/recipes/zope/zope.inc
new file mode 100644
index 0000000..618b4c4
--- /dev/null
+++ b/recipes/zope/zope.inc
@@ -0,0 +1,39 @@
+DESCRIPTION = "A full fledged pluggable content management system with integrated web server and much more."
+SECTION = "console/network"
+PRIORITY = "optional"
+LICENSE = "ZPL"
+PR = "r10"
+
+SRC_URI = "http://www.zope.org/Products/Zope3/${PV}/Zope-${PV}.tgz"
+S = "${WORKDIR}/Zope-${PV}"
+
+do_configure() {
+ ./configure --with-python=${STAGING_BINDIR_NATIVE}/python --prefix=${prefix} --force
+}
+
+do_compile() {
+ oe_runmake HOST_SYS=${HOST_SYS} BUILD_SYS=${BUILD_SYS} STAGING_INCDIR=${STAGING_INCDIR}
+}
+
+do_install() {
+ install -d ${D}${libdir}/${PYTHON_DIR}
+ oe_runmake install prefix=${D}${prefix} HOST_SYS=${HOST_SYS} BUILD_SYS=${BUILD_SYS}
+ mv ${D}${libdir}/python/* ${D}${libdir}/${PYTHON_DIR}
+ rm -rf ${D}${libdir}/${PYTHON_DIR}/twisted
+ rm -rf ${D}${libdir}/${PYTHON_DIR}/zope/app/twisted
+ # shipped as seperate package
+ rm -rf ${D}${libdir}/${PYTHON_DIR}/zope/interface
+}
+
+FILES_${PN} = "${prefix}"
+FILES_${PN}_doc = "${prefix}/doc"
+FILES_${PN}-dbg += "\
+${libdir}/${PYTHON_DIR}/BTrees/.debug \
+${libdir}/${PYTHON_DIR}/persistent/.debug \
+${libdir}/${PYTHON_DIR}/zope/proxy/.debug \
+${libdir}/${PYTHON_DIR}/zope/thread/.debug \
+${libdir}/${PYTHON_DIR}/zope/security/.debug \
+${libdir}/${PYTHON_DIR}/zope/hookable/.debug \
+${libdir}/${PYTHON_DIR}/zope/app/container/.debug \
+${libdir}/${PYTHON_DIR}/zope/i18nmessageid/.debug \
+${libdir}/${PYTHON_DIR}/ZODB/.debug"
diff --git a/recipes/zope/zope_3.3.1.bb b/recipes/zope/zope_3.3.1.bb
index cf81b15..f0bb988 100644
--- a/recipes/zope/zope_3.3.1.bb
+++ b/recipes/zope/zope_3.3.1.bb
@@ -1,5 +1,6 @@
RDEPENDS = "python-shell"
+RRECOMMENDS += "zope-interfaces"
inherit distutils-base
-require ${PN}-${PV}.inc
+require zope.inc
More information about the Openembedded-commits
mailing list