Accepting request 1008677 from devel:languages:python:numeric
- 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/request/show/1008677
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-csvkit?expand=0&rev=13
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7bd390f4d300e45dc9ed67a32af762a916bae7d9a85087a10fd4f64ce65fd5b9
|
||||
size 3783495
|
||||
3
csvkit-1.0.7.tar.gz
Normal file
3
csvkit-1.0.7.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0019e29ccadfe3d5cb0d159a443cba3ce8dfc37c967317db983ce3f19f0ca050
|
||||
size 3792335
|
||||
@@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 7 07:07:37 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- 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 <code@bnavigator.de>
|
||||
|
||||
|
||||
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user