Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-installer for openSUSE:Factory checked in at 2022-06-17 21:20:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-installer (Old) and /work/SRC/openSUSE:Factory/.python-installer.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-installer" Fri Jun 17 21:20:50 2022 rev:3 rq:982698 version:0.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-installer/python-installer.changes 2022-02-22 21:18:47.686292884 +0100 +++ /work/SRC/openSUSE:Factory/.python-installer.new.1548/python-installer.changes 2022-06-17 21:23:13.474796528 +0200 @@ -1,0 +2,11 @@ +Wed Jun 15 01:51:41 UTC 2022 - Steve Kowalik <steven.kowa...@suse.com> + +- Update to 0.5.1: + * No upstream changelog. +- Drop importlib-resources and setuptools from BuildRequires, we can + bootstrap this package using only flit-core and itself. +- Inject multibuild to aid bootstrapping. +- Drop patch remove-mock.patch: + * Included upstream. + +------------------------------------------------------------------- Old: ---- installer-0.3.0.tar.gz remove-mock.patch New: ---- _multibuild installer-0.5.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-installer.spec ++++++ --- /var/tmp/diff_new_pack.8XB7KC/_old 2022-06-17 21:23:13.842796727 +0200 +++ /var/tmp/diff_new_pack.8XB7KC/_new 2022-06-17 21:23:13.846796729 +0200 @@ -1,5 +1,5 @@ # -# spec file for package python-installer +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -16,24 +16,29 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 -Name: python-installer -# DO NOT UPGRADE UNTIL PDM WORKS WITH MORE RECENT VERSIONS!!! -Version: 0.3.0 +%{?!python_module:%define python_module() python3-%{**}} +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define pkg_suffix -test +%bcond_without test +%else +%define pkg_suffix %{nil} +%bcond_with test +%endif +Name: python-installer%{pkg_suffix} +Version: 0.5.1 Release: 0 Summary: A library for installing Python wheels License: MIT -URL: https://github.com/pradyunsg/installer +URL: https://github.com/pypa/installer Source: https://files.pythonhosted.org/packages/source/i/installer/installer-%{version}.tar.gz -# PATCH-FEATURE-UPSTREAM remove-mock.patch mc...@suse.com -# Make dependency on mock package optional -Patch0: remove-mock.patch -BuildRequires: %{python_module importlib-resources} -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module flit-core} BuildRequires: fdupes BuildRequires: python-rpm-macros +%if %{with test} +BuildRequires: %{python_module installer} +BuildRequires: %{python_module pytest} +%endif BuildArch: noarch %python_subpackages @@ -43,19 +48,29 @@ %prep %autosetup -p1 -n installer-%{version} +%if !%{with test} %build -%python_build +%python_expand $python -m flit_core.wheel +%endif +%if !%{with test} %install -%python_install +export PYTHONPATH=src +%python_expand $python -m installer -d %{buildroot} dist/*.whl %python_expand %fdupes %{buildroot}%{$python_sitelib} +%endif +%if %{with test} %check %pytest +%endif +%if !%{with test} %files %{python_files} %doc README.md %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/installer +%{python_sitelib}/installer*dist-info +%endif %changelog ++++++ _multibuild ++++++ <multibuild> <package>test</package> </multibuild> ++++++ installer-0.3.0.tar.gz -> installer-0.5.1.tar.gz ++++++ ++++ 2874 lines of diff (skipped)