From 1bb3617743053af0bf7b7d90193e4a2cbf4f6a2b Mon Sep 17 00:00:00 2001
From: Yaroslav Halchenko <debian@onerussian.com>
Date: Wed, 6 Apr 2011 14:30:56 -0400
Subject: [PATCH] Upload to unstable of -2 + fix of objects.inv and numpy
 dependency only for -lib

---
 debian/changelog | 9 +++++++++
 debian/rules     | 4 ++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7e1f0da383..6ebf06b26c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+scikit-learn (0.7.1.dfsg-2) unstable; urgency=low
+
+  * Upload to unstable
+  * Exclude objects.inv from being compressed (Closes: #608775)
+  * Restrict numpy versioned dependency only to -lib package. Thanks Jakub
+    Wilk
+
+ -- Yaroslav Halchenko <debian@onerussian.com>  Wed, 06 Apr 2011 14:24:35 -0400
+
 scikit-learn (0.7.1.dfsg-1) experimental; urgency=low
 
   * [8972010] New upstream release
diff --git a/debian/rules b/debian/rules
index 4fe114fced..733f9cf305 100755
--- a/debian/rules
+++ b/debian/rules
@@ -59,14 +59,14 @@ override_dh_pysupport:
 	   echo "Moving '$$lib' into '$$tdir'." ; \
 	   mv $$lib $$tdir ; \
 	done
-	if [ -x /usr/bin/dh_numpy ]; then dh_numpy; fi
+	if [ -x /usr/bin/dh_numpy ]; then dh_numpy -ppython-scikits-learn-lib; fi
 	: # Prune scikits/__init__.py to avoid conflicts
 	find debian -wholename \*scikits/__init__.py -delete
 	dh_pysupport
 
 ## immediately useable documentation and exemplar scripts/data
 override_dh_compress:
-	dh_compress -X.py -X.html -X.pdf -X.css -X.jpg -X.txt -X.js -X.json -X.rtc
+	dh_compress -X.py -X.html -X.pdf -X.css -X.jpg -X.txt -X.js -X.json -X.rtc -Xobjects.inv
 
 
 ## to prepare next Debian upstream source tarball
-- 
GitLab