[Python-modules-commits] r15131 - in packages/numpy/trunk/debian (changelog rules)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Wed Dec 22 19:05:01 UTC 2010


    Date: Wednesday, December 22, 2010 @ 19:04:49
  Author: morph
Revision: 15131

* debian/rules
  - install libnpymath.a; thanks to Martin Hoefling for the report;
    Closes: #596987

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

Modified: packages/numpy/trunk/debian/changelog
===================================================================
--- packages/numpy/trunk/debian/changelog	2010-12-21 20:36:24 UTC (rev 15130)
+++ packages/numpy/trunk/debian/changelog	2010-12-22 19:04:49 UTC (rev 15131)
@@ -5,8 +5,11 @@
     - python-sphinx version 1.0.1 is the minimum required
   * debian/patches/{07_bts585309_string_exceptions.diff, changeset_*}
     - removed, available in upstream tarball
+  * debian/rules
+    - install libnpymath.a; thanks to Martin Hoefling for the report;
+      Closes: #596987
 
- -- Sandro Tosi <morph at debian.org>  Mon, 13 Dec 2010 18:33:36 +0100
+ -- Sandro Tosi <morph at debian.org>  Wed, 22 Dec 2010 20:03:49 +0100
 
 python-numpy (1:1.4.1-5) unstable; urgency=low
 

Modified: packages/numpy/trunk/debian/rules
===================================================================
--- packages/numpy/trunk/debian/rules	2010-12-21 20:36:24 UTC (rev 15130)
+++ packages/numpy/trunk/debian/rules	2010-12-22 19:04:49 UTC (rev 15131)
@@ -90,6 +90,18 @@
 	mkdir -p debian/python-numpy-dbg/usr/bin/
 	mv debian/tmp2/f2py?.?-dbg debian/python-numpy-dbg/usr/bin/
 
+	# GIGANTIC HACK - add back libnpymath.a
+	# get the file names, generate the new location, create the dir if missing, copy
+	# the file and then add it to the public list
+	for file in ./debian/tmp/usr/lib/python2.*/*-packages/numpy/core/lib/libnpymath.a ; do \
+		newfile=$$(echo $$file | sed 's|tmp|python-numpy|' | sed "s|lib/python|lib/pyshared/python|" | sed 's|[^/]*-packages/||') ;\
+		mkdir -p $$(dirname $$newfile) ;\
+		cp -a $$file $$newfile ;\
+		installedfile=$$(echo $$newfile | sed 's|./debian/python-numpy||') ;\
+		# add to public modules list ;\
+		echo $$installedfile >> ./debian/python-numpy/usr/share/python-support/python-numpy.public ;\
+	done
+
 build: build-arch build-indep ;
 
 build-arch:




More information about the Python-modules-commits mailing list