[Python-modules-commits] r9036 - in packages/tagpy/trunk/debian (changelog rules)

nijel at users.alioth.debian.org nijel at users.alioth.debian.org
Tue Jul 14 14:26:47 UTC 2009


    Date: Tuesday, July 14, 2009 @ 14:26:42
  Author: nijel
Revision: 9036

Fix build when upstream has forgotten configure script.

Modified:
  packages/tagpy/trunk/debian/changelog
  packages/tagpy/trunk/debian/rules

Modified: packages/tagpy/trunk/debian/changelog
===================================================================
--- packages/tagpy/trunk/debian/changelog	2009-07-14 14:15:44 UTC (rev 9035)
+++ packages/tagpy/trunk/debian/changelog	2009-07-14 14:26:42 UTC (rev 9036)
@@ -2,8 +2,9 @@
 
   * New upstream version.
   * Refresh optional-siteconf.patch.
+  * Fix build when upstream has forgotten configure script.
 
- -- Michal ÄŒihaÅ™ <nijel at debian.org>  Tue, 14 Jul 2009 16:15:33 +0200
+ -- Michal ÄŒihaÅ™ <nijel at debian.org>  Tue, 14 Jul 2009 16:25:53 +0200
 
 tagpy (0.94.5-5) unstable; urgency=low
 

Modified: packages/tagpy/trunk/debian/rules
===================================================================
--- packages/tagpy/trunk/debian/rules	2009-07-14 14:15:44 UTC (rev 9035)
+++ packages/tagpy/trunk/debian/rules	2009-07-14 14:26:42 UTC (rev 9036)
@@ -11,9 +11,16 @@
 	dh_compress -X examples
 
 override_dh_auto_configure-%:
-	SITECONF_NAME=siteconf$*.py python$* ./configure \
-			--taglib-inc-dir=`pkg-config --cflags-only-I taglib | sed 's/-I//'` \
-			--boost-python-libname=boost_python-mt-py`echo $* | tr -d .`
+	echo "BOOST_INC_DIR = ['`pkg-config --cflags-only-I taglib | sed 's/-I//'| tr -d ' '`']" > siteconf$*.py
+	echo "BOOST_LIB_DIR = []" >> siteconf$*.py
+	echo "BOOST_PYTHON_LIBNAME = ['boost_python-mt-py`echo $* | tr -d .`']" >> siteconf$*.py
+	echo "TAGLIB_INC_DIR = []" >> siteconf$*.py
+	echo "TAGLIB_LIB_DIR = []" >> siteconf$*.py
+	echo "TAGLIB_LIBNAME = ['tag']" >> siteconf$*.py
+	echo "CXXFLAGS = []" >> siteconf$*.py
+#	SITECONF_NAME=siteconf$*.py python$* ./configure \
+#			--taglib-inc-dir=`pkg-config --cflags-only-I taglib | sed 's/-I//'` \
+#			--boost-python-libname=boost_python-mt-py`echo $* | tr -d .`
 
 override_dh_auto_configure: $(PYVERSIONS:%=override_dh_auto_configure-%)
 




More information about the Python-modules-commits mailing list