Accepting request 1061934 from devel:languages:python
- update to 2.0.0: * Drop Python 3.6 * Add Python 3.11 support * type hints added - use gh tarball for tests OBS-URL: https://build.opensuse.org/request/show/1061934 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-iniconfig?expand=0&rev=5
This commit is contained in:
commit
175727bee6
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32
|
||||
size 8104
|
BIN
iniconfig-2.0.0-tests.tar.gz
(Stored with Git LFS)
Normal file
BIN
iniconfig-2.0.0-tests.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
iniconfig-2.0.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
iniconfig-2.0.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 29 18:27:24 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.0.0:
|
||||
* Drop Python 3.6
|
||||
* Add Python 3.11 support
|
||||
* type hints added
|
||||
- use gh tarball for tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 5 12:45:15 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# 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
|
||||
@ -26,14 +26,19 @@
|
||||
%bcond_with test
|
||||
%endif
|
||||
Name: python-iniconfig%{psuffix}
|
||||
Version: 1.1.1
|
||||
Version: 2.0.0
|
||||
Release: 0
|
||||
Summary: iniconfig: brain-dead simple config-ini parsing
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/RonnyPfannschmidt/iniconfig
|
||||
Source: https://files.pythonhosted.org/packages/source/i/iniconfig/iniconfig-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
Source1: https://github.com/pytest-dev/iniconfig/archive/refs/tags/v%{version}.tar.gz#/iniconfig-%{version}-tests.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module hatch_vcs}
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
@ -57,14 +62,14 @@ having a unique set of features:
|
||||
* iniconfig raises an Error if two sections have the same name.
|
||||
|
||||
%prep
|
||||
%setup -q -n iniconfig-%{version}
|
||||
%setup -q -n iniconfig-%{version} -a1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%if !%{with test}
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%endif
|
||||
|
||||
@ -76,7 +81,7 @@ having a unique set of features:
|
||||
%if !%{with test}
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.txt
|
||||
%doc README.rst
|
||||
%{python_sitelib}/*
|
||||
%endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user