[Python-modules-commits] [csvkit] 01/03: Added requirement on openpyxl (Closes: #790913)

Sandro Tosi morph at moszumanska.debian.org
Tue Aug 18 07:03:18 UTC 2015


This is an automated email from the git hooks/post-receive script.

morph pushed a commit to branch master
in repository csvkit.

commit 87c51b5e830e16e848563c18dc3144f1b7780760
Author: aviau <alexandre at alexandreviau.net>
Date:   Mon Aug 17 13:50:32 2015 -0400

    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(+)

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 <alexandre at 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/csvkit.git



More information about the Python-modules-commits mailing list