Accepting request 1189177 from devel:languages:python:numeric
- Update to 2.0.1:
* feat: csvsql adds --min-col-len and --col-len-multiplier options.
* feat: sql2csv adds a --engine-option option.
* feat: Add man pages to the sdist and wheel distributions.
* fix: csvstat no longer errors when a column is a time delta and --json
is set.
* csvclean now writes its output to standard output and its errors to
standard error, instead of to basename_out.csv and basename_err.csv
files.
* csvclean no longer reports or fixes errors by default; it errors if no
checks or fixes are enabled.
* csvclean no longer omits rows with errors from the output.
* csvclean joins short rows using a newline by default, instead of a space.
* Add a lot of options to csvclean.
* feat: The --quoting option accepts csv.QUOTE_STRINGS and
csv.QUOTE_NOTNULL on Python 3.12.
* feat: csvformat: The --out-quoting option accepts csv.QUOTE_STRINGS
and csv.QUOTE_NOTNULL on Python 3.12.
* fix: csvformat: The --out-quoting option works with csv.QUOTE_NONUMERIC.
* fix: csvclean: The --join-short-rows option no longer reports length
mismatch errors that were fixed.
* feat: Add support for Zstandard files with the .zst extension, if the
zstandard package is installed.
* feat: csvformat adds a --out-asv (--A) option to use the ASCII unit
separator and record separator.
* feat: csvsort adds a --ignore-case (--i) option to perform
case-independent sorting.
OBS-URL: https://build.opensuse.org/request/show/1189177
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-csvkit?expand=0&rev=22
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2cfec43367a05cc5e5df99c90990b95a636d8cf984ba46ce78fcee8ffca7aff8
|
||||
size 3796472
|
||||
3
csvkit-2.0.1.tar.gz
Normal file
3
csvkit-2.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aa9460266d5713ff312a414ed3edd86e0c3a31da9b2e2758cbe5643fe1146dd1
|
||||
size 3819039
|
||||
@@ -1,3 +1,34 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 23 06:38:43 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 2.0.1:
|
||||
* feat: csvsql adds --min-col-len and --col-len-multiplier options.
|
||||
* feat: sql2csv adds a --engine-option option.
|
||||
* feat: Add man pages to the sdist and wheel distributions.
|
||||
* fix: csvstat no longer errors when a column is a time delta and --json
|
||||
is set.
|
||||
* csvclean now writes its output to standard output and its errors to
|
||||
standard error, instead of to basename_out.csv and basename_err.csv
|
||||
files.
|
||||
* csvclean no longer reports or fixes errors by default; it errors if no
|
||||
checks or fixes are enabled.
|
||||
* csvclean no longer omits rows with errors from the output.
|
||||
* csvclean joins short rows using a newline by default, instead of a space.
|
||||
* Add a lot of options to csvclean.
|
||||
* feat: The --quoting option accepts csv.QUOTE_STRINGS and
|
||||
csv.QUOTE_NOTNULL on Python 3.12.
|
||||
* feat: csvformat: The --out-quoting option accepts csv.QUOTE_STRINGS
|
||||
and csv.QUOTE_NOTNULL on Python 3.12.
|
||||
* fix: csvformat: The --out-quoting option works with csv.QUOTE_NONUMERIC.
|
||||
* fix: csvclean: The --join-short-rows option no longer reports length
|
||||
mismatch errors that were fixed.
|
||||
* feat: Add support for Zstandard files with the .zst extension, if the
|
||||
zstandard package is installed.
|
||||
* feat: csvformat adds a --out-asv (--A) option to use the ASCII unit
|
||||
separator and record separator.
|
||||
* feat: csvsort adds a --ignore-case (--i) option to perform
|
||||
case-independent sorting.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 24 17:25:07 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%define binaries csvclean csvcut csvformat csvgrep csvjoin csvjson csvlook csvpy csvsort csvsql csvstack csvstat in2csv sql2csv
|
||||
Name: python-csvkit
|
||||
Version: 1.4.0
|
||||
Version: 2.0.1
|
||||
Release: 0
|
||||
Summary: A library of utilities for working with CSV
|
||||
License: MIT
|
||||
@@ -42,6 +42,7 @@ Requires: python-agate-excel
|
||||
Requires: python-agate-sql
|
||||
Requires: python-openpyxl
|
||||
Requires: python-xlrd
|
||||
Recommends: python-zstandard
|
||||
%if %python_version_nodots < 310
|
||||
Requires: python-importlib-metadata
|
||||
%endif
|
||||
@@ -71,6 +72,7 @@ cp %{SOURCE1} examples/testdbf_converted.csv
|
||||
%pyproject_install
|
||||
for b in %{binaries}; do
|
||||
%python_clone -a %{buildroot}%{_bindir}/$b
|
||||
%python_clone -a %{buildroot}%{_mandir}/man1/${b}.1
|
||||
done
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
@@ -81,11 +83,13 @@ export LANG=en_US.UTF-8
|
||||
%post
|
||||
%{lua:for b in rpm.expand("%{binaries}"):gmatch("%S+") do
|
||||
print(rpm.expand("%python_install_alternative " .. b .. "\n"))
|
||||
print(rpm.expand("%python_install_alternative " .. b .. ".1%{ext_man}\n"))
|
||||
end}
|
||||
|
||||
%postun
|
||||
%{lua:for b in rpm.expand("%{binaries}"):gmatch("%S+") do
|
||||
print(rpm.expand("%python_uninstall_alternative " .. b .. "\n"))
|
||||
print(rpm.expand("%python_uninstall_alternative " .. b .. ".1%{ext_man}\n"))
|
||||
end}
|
||||
|
||||
%files %{python_files}
|
||||
@@ -93,8 +97,9 @@ end}
|
||||
%doc AUTHORS.rst CHANGELOG.rst README.rst
|
||||
%{lua:for b in rpm.expand("%{binaries}"):gmatch("%S+") do
|
||||
print(rpm.expand("%python_alternative %{_bindir}/" .. b .. "\n"))
|
||||
print(rpm.expand("%python_alternative %{_mandir}/man1/" .. b .. ".1%{ext_man}" .. "\n"))
|
||||
end}
|
||||
%{python_sitelib}/csvkit
|
||||
%{python_sitelib}/csvkit-%{version}.dist-info
|
||||
%{python_sitelib}/csvkit/
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user