From fe44020b15017771192fca10890c5f1949c2c50934f8ec74876582ff7268a926 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Fri, 7 Oct 2022 07:09:51 +0000 Subject: [PATCH] - Fix u-a scriptlets - Update to v1.0.7 * fix: :doc:`/scripts/csvcut` extracts the correct columns when --line-numbers is set. * fix: Restore Python 2.7 support in edge cases. * feat: Use 1024 byte sniff-limit by default across csvkit. Improve csvstat performance up to 10x. * feat: Add support for .xz (LZMA) compressed input files. * Add Python 3.10 support. * Drop Python 3.5 support (end-of-life was September 30, 2020). - v1.0.6 * :doc:`/scripts/csvstat` no longer prints "Row count: " when --count is set. * :doc:`/scripts/csvclean`, :doc:`/scripts/csvcut`, :doc:`/scripts/csvgrep` no longer error if standard input is null. * :doc:`/scripts/csvformat` creates default headers when --no-header-row is set, as documented. * :doc:`/scripts/csvstack` no longer errors when --no-header-row is combined with --groups or --filenames. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-csvkit?expand=0&rev=25 --- csvkit-1.0.5.tar.gz | 3 --- csvkit-1.0.7.tar.gz | 3 +++ python-csvkit.changes | 22 ++++++++++++++++++++++ python-csvkit.spec | 12 ++++++------ 4 files changed, 31 insertions(+), 9 deletions(-) delete mode 100644 csvkit-1.0.5.tar.gz create mode 100644 csvkit-1.0.7.tar.gz diff --git a/csvkit-1.0.5.tar.gz b/csvkit-1.0.5.tar.gz deleted file mode 100644 index 446c337..0000000 --- a/csvkit-1.0.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7bd390f4d300e45dc9ed67a32af762a916bae7d9a85087a10fd4f64ce65fd5b9 -size 3783495 diff --git a/csvkit-1.0.7.tar.gz b/csvkit-1.0.7.tar.gz new file mode 100644 index 0000000..d778bc2 --- /dev/null +++ b/csvkit-1.0.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0019e29ccadfe3d5cb0d159a443cba3ce8dfc37c967317db983ce3f19f0ca050 +size 3792335 diff --git a/python-csvkit.changes b/python-csvkit.changes index 7ea0d0f..2cae6d1 100644 --- a/python-csvkit.changes +++ b/python-csvkit.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Fri Oct 7 07:07:37 UTC 2022 - Daniel Garcia + +- Fix u-a scriptlets +- Update to v1.0.7 + * fix: :doc:`/scripts/csvcut` extracts the correct columns when + --line-numbers is set. + * fix: Restore Python 2.7 support in edge cases. + * feat: Use 1024 byte sniff-limit by default across csvkit. Improve csvstat + performance up to 10x. + * feat: Add support for .xz (LZMA) compressed input files. + * Add Python 3.10 support. + * Drop Python 3.5 support (end-of-life was September 30, 2020). +- v1.0.6 + * :doc:`/scripts/csvstat` no longer prints "Row count: " when --count is set. + * :doc:`/scripts/csvclean`, :doc:`/scripts/csvcut`, :doc:`/scripts/csvgrep` + no longer error if standard input is null. + * :doc:`/scripts/csvformat` creates default headers when --no-header-row is + set, as documented. + * :doc:`/scripts/csvstack` no longer errors when --no-header-row is combined + with --groups or --filenames. + ------------------------------------------------------------------- Sun Feb 28 20:32:54 UTC 2021 - Ben Greiner diff --git a/python-csvkit.spec b/python-csvkit.spec index 008e786..2584fd7 100644 --- a/python-csvkit.spec +++ b/python-csvkit.spec @@ -1,7 +1,7 @@ # # spec file for package python-csvkit # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %define binaries csvclean csvcut csvformat csvgrep csvjoin csvjson csvlook csvpy csvsort csvsql csvstack csvstat in2csv sql2csv %define skip_python2 1 Name: python-csvkit -Version: 1.0.5 +Version: 1.0.7 Release: 0 Summary: A library of utilities for working with CSV License: MIT @@ -46,7 +46,7 @@ BuildRequires: %{python_module xlrd >= 0.9.2} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch %python_subpackages @@ -80,19 +80,19 @@ export LANG=en_US.UTF-8 %post %{lua:for b in rpm.expand("%{binaries}"):gmatch("%S+") do - print(rpm.expand("%python_install_alternative " .. b)) + print(rpm.expand("%python_install_alternative " .. b .. "\n")) end} %postun %{lua:for b in rpm.expand("%{binaries}"):gmatch("%S+") do - print(rpm.expand("%python_uninstall_alternative " .. b)) + print(rpm.expand("%python_uninstall_alternative " .. b .. "\n")) end} %files %{python_files} %license COPYING %doc AUTHORS.rst CHANGELOG.rst README.rst %{lua:for b in rpm.expand("%{binaries}"):gmatch("%S+") do - print(rpm.expand("%python_alternative %{_bindir}/" .. b)) + print(rpm.expand("%python_alternative %{_bindir}/" .. b .. "\n")) end} %{python_sitelib}/csvkit-%{version}*-info %{python_sitelib}/csvkit/