Accepting request 1105265 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1105265
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyproject-metadata?expand=0&rev=4
This commit is contained in:
Ana Guerrero 2023-08-23 12:56:47 +00:00 committed by Git OBS Bridge
commit 00f15c4385
4 changed files with 14 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2f652b6b632ecd01afb1cc702b2f8934688aaba957b8291b0230854ae521309a
size 14047

BIN
python-pyproject-metadata-0.7.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Aug 17 12:49:35 UTC 2023 - Markéta Machová <mmachova@suse.com>
- update to 0.7.1
* Use UTF-8 when opening files
* Use tomllib on Python >= 3.11
-------------------------------------------------------------------
Fri Apr 21 12:31:11 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-pyproject-metadata
Version: 0.6.1
Version: 0.7.1
Release: 0
Summary: PEP 621 metadata parsing
License: MIT
@ -35,7 +35,9 @@ Requires: python-packaging >= 19
BuildArch: noarch
# SECTION test
BuildRequires: %{python_module pytest}
%if 0%{python_version_nodots} < 311
BuildRequires: %{python_module tomli >= 1.0.0}
%endif
# /SECTION
%python_subpackages
@ -60,9 +62,7 @@ file (e.g. `PKG-INFO`).
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# https://github.com/FFY00/python-pyproject-metadata/issues/41
donttest="(test_load and PEP and 508 and definitely)"
%pytest -k "not ($donttest)"
%pytest
%files %{python_files}
%license LICENSE