commit 8b0ddffbe5695469a10585e53724591011f7dcb0
Author: Christophe Fergeau <t...@gnome.org>
Date:   Thu Jul 7 21:16:50 2011 +0200

    python: fix python binding build
    
    It was still using LIBGPOD_MAJOR_VERSION, LIBGPOD_MINOR_VERSION
    and LIBGPOD_MICRO_VERSION, which are replaced by PACKAGE_VERSION
    Reported by Götz Waschk <goetz.was...@gmail.com>

 bindings/python/gpod.i.in |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/bindings/python/gpod.i.in b/bindings/python/gpod.i.in
index 1b5d5f5..6d62e84 100644
--- a/bindings/python/gpod.i.in
+++ b/bindings/python/gpod.i.in
@@ -39,10 +39,8 @@ interface."
 %enddef
 
 %pythoncode %{
-version_info = (@LIBGPOD_MAJOR_VERSION@, 
-               @LIBGPOD_MINOR_VERSION@, 
-               @LIBGPOD_MICRO_VERSION@)
-version = '.'.join(map(str, version_info))  
+version = "@PACKAGE_VERSION@"
+version_info = version.split(".")
 %}
 
 %module(docstring=DOCSTRING) gpod

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
gtkpod-cvs2 mailing list
gtkpod-cvs2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to