Accepting request 925542 from home:bnavigator:branches:devel:languages:python

- Yet another dependency cycle to break: tomli - flit_core - tomli
  https://flit.readthedocs.io/en/latest/bootstrap.html

OBS-URL: https://build.opensuse.org/request/show/925542
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomli?expand=0&rev=8
This commit is contained in:
Matej Cepl 2021-10-15 20:32:52 +00:00 committed by Git OBS Bridge
parent b4a3cde0b6
commit cc5af0d4e7
2 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Oct 15 19:03:22 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Yet another dependency cycle to break: tomli - flit_core - tomli
https://flit.readthedocs.io/en/latest/bootstrap.html
-------------------------------------------------------------------
Fri Oct 15 08:49:47 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -36,6 +36,13 @@ URL: https://github.com/hukkin/tomli
Source: https://github.com/hukkin/tomli/archive/refs/tags/%{version}.tar.gz#/tomli-%{version}-gh.tar.gz
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}
# Avoid build cycles
# https://flit.readthedocs.io/en/latest/bootstrap.html
#!BuildIgnore: python3-tomli
#!BuildIgnore: python36-tomli
#!BuildIgnore: python38-tomli
#!BuildIgnore: python39-tomli
#!BuildIgnore: python310-tomli
#!BuildIgnore: ca-certificates
%if %{with test}
BuildRequires: %{python_module pytest-randomly}
@ -54,6 +61,7 @@ Tomli is a Python library for parsing TOML
%setup -q -n tomli-%{version}
%build
export PYTHONPATH=$PWD
%pyproject_wheel
%install