Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pep517 for openSUSE:Factory checked in at 2022-09-19 16:02:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pep517 (Old) and /work/SRC/openSUSE:Factory/.python-pep517.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pep517" Mon Sep 19 16:02:46 2022 rev:13 rq:1004387 version:0.13.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pep517/python-pep517.changes 2022-09-17 20:08:19.756808850 +0200 +++ /work/SRC/openSUSE:Factory/.python-pep517.new.2083/python-pep517.changes 2022-09-19 16:02:47.490062969 +0200 @@ -1,0 +2,8 @@ +Sat Sep 17 19:01:09 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- Clean specfile from python2 directives. +- Simplify wheel building section: new python-rpm-macros only + builds one pure wheel automatically. +- Prepare for python311 flavor, tomli not required. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pep517.spec ++++++ --- /var/tmp/diff_new_pack.2rf62W/_old 2022-09-19 16:02:48.002064337 +0200 +++ /var/tmp/diff_new_pack.2rf62W/_new 2022-09-19 16:02:48.006064347 +0200 @@ -24,37 +24,31 @@ %define psuffix %{nil} %bcond_with test %endif -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without python2 + +%{?!python_module:%define python_module() python3-%{**}} +%define skip_python2 1 Name: python-pep517%{psuffix} Version: 0.13.0 Release: 0 Summary: Wrappers to build Python packages using PEP 517 hooks License: MIT -URL: https://github.com/takluyver/pep517 +URL: https://github.com/pypa/pep517 Source: https://files.pythonhosted.org/packages/source/p/pep517/pep517-%{version}.tar.gz BuildRequires: %{python_module pip} +BuildRequires: %{python_module flit-core >= 2} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python3-flit-core >= 2 BuildArch: noarch %if %{with test} -BuildRequires: %{python_module flit-core >= 2 if %python-base >= 3} -BuildRequires: %{python_module mock if %python-base < 3.6} BuildRequires: %{python_module pep517 = %{version}} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools >= 30} BuildRequires: %{python_module testpath} BuildRequires: %{python_module wheel} %endif -%if %{with python2} -# for pip -BuildRequires: python-xml -%endif -%ifpython2 -Requires: python-xml +%if 0%{?python_version_nodots} < 311 +Requires: python-tomli >= 1.1.0 %endif -Requires: python-tomli %if 0%{?python_version_nodots} < 38 Requires: python-importlib-metadata Requires: python-zipp @@ -76,17 +70,7 @@ %if ! %{with test} %build -# only build once for all flavors using python3-flit-core as backend -# even usable by python2 if necessary -mkdir dist -python3 -m pip wheel \ - --no-deps \ - --disable-pip-version-check \ - --use-pep517 \ - --no-build-isolation \ - --progress-bar off \ - --verbose \ - -w . . +%pyproject_wheel %install %pyproject_install @@ -95,9 +79,7 @@ %if %{with test} %check -# -python2_params=("-k" "not test_meta") -%pytest "${$python_params[@]}" +%pytest %endif %if ! %{with test}