tags 681584 + patch
thanks

Hi,

attached is a patch to use dh_python2 and it's substvars.
Now with the patch :)

Regards
Evgeni

-- 
Bruce Schneier can read and understand Perl programs.
diff -Nru python-colorama-0.2.4/debian/changelog python-colorama-0.2.4/debian/changelog
--- python-colorama-0.2.4/debian/changelog	2012-03-06 19:17:39.000000000 +0100
+++ python-colorama-0.2.4/debian/changelog	2012-07-17 08:53:47.000000000 +0200
@@ -1,3 +1,13 @@
+python-colorama (0.2.4-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Use dh_python2.
+    Build-Depend on python (>= 2.6.6-3~) for that.
+    Add python:Depends and python:Provides to Depends and Provides.
+    Closes: #681584
+
+ -- Evgeni Golov <evg...@debian.org>  Tue, 17 Jul 2012 08:52:08 +0200
+
 python-colorama (0.2.4-1) unstable; urgency=low
 
   * Initial release (Closes: #662761)
diff -Nru python-colorama-0.2.4/debian/control python-colorama-0.2.4/debian/control
--- python-colorama-0.2.4/debian/control	2012-03-06 19:17:39.000000000 +0100
+++ python-colorama-0.2.4/debian/control	2012-07-17 08:53:30.000000000 +0200
@@ -2,7 +2,7 @@
 Section: python
 Priority: optional
 Maintainer: Khalid El Fathi <kha...@elfathi.fr>
-Build-Depends: debhelper (>= 9.0.0), python
+Build-Depends: debhelper (>= 9.0.0), python (>= 2.6.6-3~)
 Standards-Version: 3.9.3
 Homepage: http://pypi.python.org/pypi/colorama/
 Vcs-Git: git://git.debian.org/collab-maint/python-colorama.git
@@ -11,7 +11,8 @@
 
 Package: python-colorama
 Architecture: all
-Depends: ${misc:Depends}
+Depends: ${python:Depends}, ${misc:Depends}
+Provides: ${python:Provides}
 Description: Cross-platform colored terminal text in Python
  Python-colorama provides a simple cross-platform API to print colored terminal
  text from Python applications.
diff -Nru python-colorama-0.2.4/debian/rules python-colorama-0.2.4/debian/rules
--- python-colorama-0.2.4/debian/rules	2012-03-06 19:17:39.000000000 +0100
+++ python-colorama-0.2.4/debian/rules	2012-07-17 08:51:06.000000000 +0200
@@ -2,7 +2,7 @@
 #export DH_VERBOSE=1
 
 %:
-	dh $@ 
+	dh $@ --with=python2
 
 override_dh_installexamples:
 	cp -r $(CURDIR)/demos/* $(CURDIR)/debian/python-colorama/usr/share/doc/python-colorama/examples/

Reply via email to