Control: tags 790913 + patch

Hello,

I have attached a patch to fix this bug and attached it to this mail.

Let me know if you have any issues.

I may prepare a NMU for it.

--
Alexandre Viau
alexan...@alexandreviau.net
From ba062721b28070d66f15bebedcae680b4bf87e99 Mon Sep 17 00:00:00 2001
From: aviau <alexan...@alexandreviau.net>
Date: Mon, 17 Aug 2015 13:50:32 -0400
Subject: [PATCH] Added requirement on openpyxl (Closes: #790913)

---
 debian/control                                     |  1 +
 debian/patches/dependencies-greater-or-equal.patch | 27 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 29 insertions(+)
 create mode 100644 debian/patches/dependencies-greater-or-equal.patch
 create mode 100644 debian/patches/series

diff --git a/debian/control b/debian/control
index 8bd1f58..1c13655 100644
--- a/debian/control
+++ b/debian/control
@@ -25,6 +25,7 @@ Description: library of utilities for working with CSV
 Package: python3-csvkit
 Architecture: all
 Depends: ${python3:Depends}, ${misc:Depends}
+Suggests: python3-openpyxl, python3-dbf
 Description: library of utilities for working with CSV (Python 3)
  csvkit is a suite of utilities for converting to and working with CSV, the king
  of tabular file formats.
diff --git a/debian/patches/dependencies-greater-or-equal.patch b/debian/patches/dependencies-greater-or-equal.patch
new file mode 100644
index 0000000..f2f993f
--- /dev/null
+++ b/debian/patches/dependencies-greater-or-equal.patch
@@ -0,0 +1,27 @@
+Description: Fix specific dependencies
+Author: Alexandre Viau <alexan...@alexandreviau.net>
+Last-Update: 2015-08-17
+
+--- a/setup.py
++++ b/setup.py
+@@ -6,9 +6,9 @@
+ install_requires = [
+     'xlrd>=0.7.1',
+     'sqlalchemy>=0.6.6',
+-    'openpyxl==2.2.0-b1',
++    'openpyxl>=2.2.0-b1',
+     'six>=1.6.1',
+-    'python-dateutil==2.2'
++    'python-dateutil>=2.2'
+ ]
+ 
+ if sys.version_info < (2, 7):
+@@ -17,7 +17,7 @@
+     install_requires.append('simplejson>=3.6.3')
+ 
+ if sys.version_info[0] == 2:
+-    install_requires.append('dbf==0.94.003')
++    install_requires.append('dbf>=0.94.003')
+ 
+ setup(
+     name='csvkit',
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7d7de3c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+dependencies-greater-or-equal.patch
-- 
2.5.0

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to