From 0fb345f613ea2069c64c8177e9ab1135478ae0a1ae99febb0ac1589765541cff Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Thu, 14 Jul 2022 15:37:36 +0000 Subject: [PATCH] Accepting request 989208 from home:bnavigator:branches:devel:languages:python - Remove devendoring of tomli, so that we can put this in Ring0 OBS-URL: https://build.opensuse.org/request/show/989208 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flit-core?expand=0&rev=23 --- python-flit-core.changes | 5 +++++ python-flit-core.spec | 10 +++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/python-flit-core.changes b/python-flit-core.changes index a628792..3dfdf89 100644 --- a/python-flit-core.changes +++ b/python-flit-core.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 14 15:34:09 UTC 2022 - Ben Greiner + +- Remove devendoring of tomli, so that we can put this in Ring0 + ------------------------------------------------------------------- Fri Mar 25 12:10:11 UTC 2022 - Ben Greiner diff --git a/python-flit-core.spec b/python-flit-core.spec index eddb46a..28f0873 100644 --- a/python-flit-core.spec +++ b/python-flit-core.spec @@ -30,7 +30,7 @@ Name: python-flit-core%{psuffix} Version: 3.7.1 Release: 0 Summary: Distribution-building parts of Flit -License: BSD-3-Clause +License: BSD-3-Clause AND MIT URL: https://github.com/pypa/flit Source0: https://files.pythonhosted.org/packages/source/f/flit-core/flit_core-%{version}.tar.gz BuildRequires: %{python_module base >= 3.6} @@ -41,13 +41,12 @@ BuildRequires: %{python_module testpath} %endif BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: unzip -Requires: python-tomli BuildArch: noarch %python_subpackages %description -Flit is a simple way to put Python packages and modules on PyPI. +This provides a PEP 517 build backend for packages using Flit. +The only public interface is the API specified by PEP 517, at flit_core.buildapi. %prep %setup -q -n flit_core-%{version} @@ -61,9 +60,6 @@ python3 -m flit_core.wheel %{python_expand # mkdir -p %{buildroot}%{$python_sitelib} $python bootstrap_install.py dist/flit_core-%{version}-py3-none-any.whl -i %{buildroot}%{$python_sitelib} -# debundle after the bootstrap. See vendor/README -sed -i 's/from .vendor import tomli/import tomli/' %{buildroot}%{$python_sitelib}/flit_core/config.py -rm -r %{buildroot}%{$python_sitelib}/flit_core/vendor # Don't package the tests rm -r %{buildroot}%{$python_sitelib}/flit_core/tests }