From 14e164bbefcb18bb6ffdbfe217bd419e522b323d Mon Sep 17 00:00:00 2001 From: Francisco Redondo Marchena Date: Tue, 7 Apr 2015 14:34:50 +0100 Subject: 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 --- strata/core.morph | 6 ++++++ strata/foundation/kmod.morph | 2 +- strata/python-core.morph | 6 ------ 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 -- cgit v1.2.1