Sync from SUSE:ALP:Source:Standard:1.0 python-csv23 revision 8a538d1f0aae9cf1f25b34b2b70fe2a9

This commit is contained in:
Adrian Schröter 2023-06-07 08:29:19 +02:00
commit 254e48a482
4 changed files with 125 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
csv23-0.3.4.zip (Stored with Git LFS) Normal file

Binary file not shown.

28
python-csv23.changes Normal file
View File

@ -0,0 +1,28 @@
-------------------------------------------------------------------
Fri Apr 21 12:24:02 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Tue Sep 27 15:24:11 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to 0.3.4
* Drop Python 3.6 support.
-------------------------------------------------------------------
Sun Dec 19 14:41:41 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to 0.3.3
* Drop Python 3.5 support and tag Python 3.9 and 3.10 support
-------------------------------------------------------------------
Sun Oct 11 14:20:51 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Release (only imposed from testing) minimum version for mock
to satisfy Leap dependency resolution
-------------------------------------------------------------------
Sun Oct 11 12:05:06 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Initial specfile for version 0.3.2
- Is a test requirement of pip 20.2

71
python-csv23.spec Normal file
View File

@ -0,0 +1,71 @@
#
# spec file for package python-csv23
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
%{?sle15_python_module_pythons}
Name: python-csv23
Version: 0.3.4
Release: 0
License: MIT
Summary: Python 2/3 unicode CSV compatibility layer
URL: https://github.com/xflr6/csv23
Group: Development/Languages/Python
# Only ZIP archive on PyPI
Source: https://files.pythonhosted.org/packages/source/c/csv23/csv23-%{version}.zip
BuildRequires: %{python_module pytest >= 4.6}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module setuptools}
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
BuildArch: noarch
%if %{with python2}
BuildRequires: python2-mock
%endif
%ifpython2
Requires: python-mock
%endif
%python_subpackages
%description
Python 2/3 unicode CSV compatibility layer
%prep
%setup -q -n csv23-%{version}
sed -i -e '/--cov/ d' -e '/mock_use_standalone_module/ d' setup.cfg
dos2unix CHANGES.rst README.rst
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc CHANGES.rst README.rst
%license LICENSE.txt
%{python_sitelib}/csv23
%{python_sitelib}/csv23-%{version}*-info
%changelog