Hello

You just have to run
find -name '*.exe' -delete
in the source tree.

Attached is a patch for automatic fix of original tarball.

I've upload that version on mentors too, for RC fix NMU:
http://mentors.debian.net/package/python3.2
diff -Naur python3.2-3.2.2/debian/changelog python3.2-3.2.2+dfsg/debian/changelog
--- python3.2-3.2.2/debian/changelog	2012-02-19 12:30:52.000000000 +0100
+++ python3.2-3.2.2+dfsg/debian/changelog	2012-02-18 19:07:28.000000000 +0100
@@ -1,3 +1,10 @@
+python3.2 (3.2.2+dfsg-0.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Remove windows binaries which are not built at build time (Closes: 639408).
+
+ -- Jean-Michel Vourgère <jmv_...@nirgal.com>  Sat, 18 Feb 2012 19:07:18 +0100
+
 python3.2 (3.2.2-4) unstable; urgency=low
 
   * The static library belongs into the -dev package.
diff -Naur python3.2-3.2.2/debian/orig-tar.sh python3.2-3.2.2+dfsg/debian/orig-tar.sh
--- python3.2-3.2.2/debian/orig-tar.sh	1970-01-01 01:00:00.000000000 +0100
+++ python3.2-3.2.2+dfsg/debian/orig-tar.sh	2012-02-19 12:22:06.000000000 +0100
@@ -0,0 +1,20 @@
+#!/bin/sh -e
+#set -x
+
+# called by uscan with '--upstream-version' <version> <file>
+
+TMPDIR="dfsg-tmptree"
+VERSION="$2" # example: 3.2.2
+OLDFILE="$3" # example: ../python3.2_3.2.2.orig.tar.gz
+NEWFILE=`echo "$3" | sed -e 's/\.orig/+dfsg.orig/'` # example ../python3.2_3.2.2+dfsg.orig.tar.gz
+
+test -d "$TMPDIR" && rm -rf "$TMPDIR"
+mkdir "$TMPDIR"
+cd "$TMPDIR"
+echo Temporarilly unpacking $OLDFILE in `pwd`
+tar xfz "../$OLDFILE"
+find -name '*.exe' -delete
+echo Packing $NEWFILE
+tar cfz "../$NEWFILE" .
+cd ..
+rm -rf "$TMPDIR"
diff -Naur python3.2-3.2.2/debian/rules python3.2-3.2.2+dfsg/debian/rules
--- python3.2-3.2.2/debian/rules	2012-02-19 12:30:52.000000000 +0100
+++ python3.2-3.2.2+dfsg/debian/rules	2012-02-19 12:05:53.000000000 +0100
@@ -1093,6 +1093,9 @@
 
 binary: binary-indep binary-arch
 
+get-orig-source:
+	uscan --verbose --force-download
+
 .PHONY: control-file configure build clean binary-indep binary-arch binary install
 
 # Local Variables:
diff -Naur python3.2-3.2.2/debian/watch python3.2-3.2.2+dfsg/debian/watch
--- python3.2-3.2.2/debian/watch	2012-02-19 12:30:52.000000000 +0100
+++ python3.2-3.2.2+dfsg/debian/watch	2012-02-19 12:01:15.000000000 +0100
@@ -1,3 +1,5 @@
 version=3
-opts=dversionmangle=s/.*\+//,uversionmangle=s/([abcr]+[1-9])$/~$1/ \
-  http://www.python.org/ftp/python/3\.2(\.\d)?/Python-(3\.2[.\dabcr]*)\.tgz
+opts=dversionmangle=s/\+.*//,uversionmangle=s/([abcr]+[1-9])$/~$1/ \
+  http://www.python.org/ftp/python/3\.2(\.\d)?/Python-(3\.2[.\dabcr]*)\.tgz \
+ debian \
+ debian/orig-tar.sh

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to