summaryrefslogtreecommitdiff
path: root/strata
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-04-07 14:34:50 +0100
committerBaserock Gerrit <gerrit@baserock.org>2015-04-07 14:40:31 +0000
commit14e164bbefcb18bb6ffdbfe217bd419e522b323d (patch)
tree66977301fc4270b4acda759dd7ef3f37a9ad4e33 /strata
parent3ca9cac4fad26c0ce5c31dbaddca707e8f27fe66 (diff)
downloaddefinitions-14e164bbefcb18bb6ffdbfe217bd419e522b323d.tar.gz
Enable python bindings in Kmod
This enables kmod python bindings required for iscsi tools. Enabling python in the kmod chunk requires cython for compiling so cython is moved to core.morph. Change-Id: Ic394d75f801efcb0be1e4ec17d9bc907f9d086a0
Diffstat (limited to 'strata')
-rw-r--r--strata/core.morph6
-rw-r--r--strata/foundation/kmod.morph2
-rw-r--r--strata/python-core.morph6
3 files changed, 7 insertions, 7 deletions
diff --git a/strata/core.morph b/strata/core.morph
index d36f9a1c..150e68e0 100644
--- a/strata/core.morph
+++ b/strata/core.morph
@@ -108,6 +108,12 @@ chunks:
- sqlite3
- ncurses
- readline
+- name: cython
+ repo: upstream:cython
+ ref: 4dd8e762fa51d01775506fbbc102c45dbcea065d
+ unpetrify-ref: 0.22
+ build-depends:
+ - cpython
- name: libtool-tarball
morph: strata/core/libtool-tarball.morph
repo: upstream:libtool-tarball
diff --git a/strata/foundation/kmod.morph b/strata/foundation/kmod.morph
index 12ac8692..fdfb971f 100644
--- a/strata/foundation/kmod.morph
+++ b/strata/foundation/kmod.morph
@@ -6,7 +6,7 @@ configure-commands:
- sed -i -e'/AC_CONFIG_FILES(\[/,/])/{/docs/d}' configure.ac
- autoreconf -fiv
- ./configure --prefix=/usr --bindir=/bin --libdir=/lib --sysconfdir=/etc --without-xz
- --with-zlib --disable-manpages
+ --with-zlib --disable-manpages --enable-python
build-commands:
- make
install-commands:
diff --git a/strata/python-core.morph b/strata/python-core.morph
index 481f11bf..f7ba06c1 100644
--- a/strata/python-core.morph
+++ b/strata/python-core.morph
@@ -36,13 +36,7 @@ chunks:
unpetrify-ref: baserock/morph
build-depends:
- python-setuptools
-- name: cython
- repo: upstream:cython
- ref: 4dd8e762fa51d01775506fbbc102c45dbcea065d
- unpetrify-ref: 0.22
- name: python-lxml
repo: upstream:python-lxml
ref: 14505bc62f5f1fc9fb0ff007955f3e67ab4562bb
unpetrify-ref: lxml-3.4.0
- build-depends:
- - cython