- Update to 1.0.4:
* Dropped Python 3.3 support (end-of-life was September 29, 2017). * :doc:`/scripts/csvsql` adds a --chunk-size option to set the chunk size when batch inserting into a table. * csvkit is now tested against Python 3.7. * Dates and datetimes without punctuation can be parsed with --date-format and datetime-format. * Error messages about column indices use 1-based numbering unless --zero is set. - Remove merged patch remove-unittest2.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-csvkit?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
02566ffe5c
commit
741586ffb2
@@ -18,15 +18,13 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-csvkit
|
||||
Version: 1.0.3
|
||||
Version: 1.0.4
|
||||
Release: 0
|
||||
Summary: A library of utilities for working with CSV
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/wireservice/csvkit
|
||||
Source: https://files.pythonhosted.org/packages/source/c/csvkit/csvkit-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM https://github.com/wireservice/csvkit/pull/979 mcepl@suse.cz
|
||||
Patch0: remove-unittest2.patch
|
||||
BuildRequires: %{python_module SQLAlchemy >= 0.9.3}
|
||||
BuildRequires: %{python_module Sphinx >= 1.0.7}
|
||||
BuildRequires: %{python_module aenum}
|
||||
@@ -60,7 +58,6 @@ Aaron Bycoffe.
|
||||
|
||||
%prep
|
||||
%setup -q -n csvkit-%{version}
|
||||
%autopatch -p1
|
||||
# find and remove unneeded shebangs
|
||||
find csvkit -name "*.py" | xargs sed -i '1 {/^#!/ d}'
|
||||
|
||||
@@ -73,7 +70,7 @@ find csvkit -name "*.py" | xargs sed -i '1 {/^#!/ d}'
|
||||
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
%python_expand nosetests-%{$python_bin_suffix}
|
||||
%python_expand nosetests-%{$python_bin_suffix} -v
|
||||
|
||||
%files %python_files
|
||||
%license COPYING
|
||||
|
||||
Reference in New Issue
Block a user