New recipe: Python bindings for libconfig.
PATCH 1/1 New recipe: Python bindings for libconfig.
Signed-off-by Tasslehoff Kjappfot <[email protected]>
--- .../files/0001-rename-boost-python-library.patch | 25 ++++++++++++++++++++ recipes/python/python-libconfig_git.bb | 18 ++++++++++++++ 2 files changed, 43 insertions(+), 0 deletions(-) create mode 100644 recipes/python/files/0001-rename-boost-python-library.patch create mode 100644 recipes/python/python-libconfig_git.bb
recipes/python/files/0001-rename-boost-python-library.patch new file +25 -0
@@ -0,0 +1,25 @@ +From 263ea3af06761d00acfeec52cb582a0b0381d361 Mon Sep 17 00:00:00 2001 +From: Tasslehoff Kjappfot <[email protected]> +Date: Wed, 27 Oct 2010 11:05:18 +0200 +Subject: [PATCH] use boost_python_mt instead of boost_python + +--- + setup.py | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/setup.py b/setup.py +index 5066fc2..ec8c1b7 100644 +--- a/setup.py ++++ b/setup.py +@@ -19,7 +19,7 @@ setup( + Extension( + "pylibconfig", + ["src/pylibconfig.cc"], +- libraries=["boost_python", "config++"] ++ libraries=["boost_python-mt", "config++"] + #include_dirs=includes, + #extra_link_args=lflags + ) +-- +1.7.1 +
recipes/python/python-libconfig_git.bb new file +18 -0
@@ -0,0 +1,18 @@ +DESCRIPTION = "Python bindings for libconfig" +SECTION = "devel/python" +LICENSE = "BSD" +DEPENDS = "boost libconfig" +SRCNAME = "pylibconfig" + +SRC_URI = "git://github.com/cnangel/python-libconfig.git;protocol=git \ + file://0001-rename-boost-python-library.patch " + +inherit setuptools + +S = "${WORKDIR}/git" + +SRCREV = "b29f9e99e163a1a9adce" +PR ="r01" +PV = "${PR}+gitr${SRCREV}" + +
Signature · 1 line
1.7.1