Bug#681584: python-colorama: missing dependency on python

2012-07-17 Thread Evgeni Golov

tags 681584 + patch
thanks

Hi,

attached is a patch to use dh_python2 and it's substvars.

Regards
Evgeni

-- 
Bruce Schneier can read and understand Perl programs.


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#681584: python-colorama: missing dependency on python

2012-07-17 Thread Evgeni Golov
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.0 +0100
+++ python-colorama-0.2.4/debian/changelog	2012-07-17 08:53:47.0 +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.0 +0100
+++ python-colorama-0.2.4/debian/control	2012-07-17 08:53:30.0 +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.0 +0100
+++ python-colorama-0.2.4/debian/rules	2012-07-17 08:51:06.0 +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/


Bug#681584: python-colorama: missing dependency on python

2012-07-17 Thread Evgeni Golov
On Tue, Jul 17, 2012 at 11:22:09AM +0200, Evgeni Golov wrote:

 attached is a patch to use dh_python2 and it's substvars.

After Jakub's pointer to [1] on IRC, a revised patch is attached.

Regards
Evgeni

[1] http://lists.debian.org/debian-python/2011/03/msg00139.html

-- 
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.0 +0100
+++ python-colorama-0.2.4/debian/changelog	2012-07-17 14:45:48.0 +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 to Depends.
+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.0 +0100
+++ python-colorama-0.2.4/debian/control	2012-07-17 14:45:24.0 +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,7 @@
 
 Package: python-colorama
 Architecture: all
-Depends: ${misc:Depends}
+Depends: ${python:Depends}, ${misc:Depends}
 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.0 +0100
+++ python-colorama-0.2.4/debian/rules	2012-07-17 08:51:06.0 +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/


Bug#681584: python-colorama: missing dependency on python

2012-07-14 Thread Jakub Wilk

Package: python-colorama
Version: 0.2.4-1
Severity: serious
Justification: Policy 3.5

python-colorama doesn't depend on python.

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org