Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-flit for openSUSE:Factory checked in at 2021-10-26 20:13:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-flit (Old) and /work/SRC/openSUSE:Factory/.python-flit.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-flit" Tue Oct 26 20:13:34 2021 rev:3 rq:925555 version:3.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-flit/python-flit.changes 2020-05-28 09:17:11.544945754 +0200 +++ /work/SRC/openSUSE:Factory/.python-flit.new.1890/python-flit.changes 2021-10-26 20:13:52.802015709 +0200 @@ -1,0 +2,9 @@ +Fri Oct 15 18:09:42 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- Update to version 3.4 + * Changelog since v1.3: + https://flit.readthedocs.io/en/latest/history.html +- Remove upstreamed patches: + - merged_pr_278.patch + +------------------------------------------------------------------- Old: ---- flit-1.3.tar.gz merged_pr_278.patch New: ---- flit-3.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-flit.spec ++++++ --- /var/tmp/diff_new_pack.fDk0Yo/_old 2021-10-26 20:13:53.338015993 +0200 +++ /var/tmp/diff_new_pack.fDk0Yo/_new 2021-10-26 20:13:53.338015993 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-flit # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,57 +19,61 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-flit -Version: 1.3 +Version: 3.4.0 Release: 0 -Summary: Packaging tool for simple packages +Summary: Simplified packaging of Python modules License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/takluyver/flit Source: https://files.pythonhosted.org/packages/source/f/flit/flit-%{version}.tar.gz -Patch0: https://github.com/takluyver/flit/commit/6a6b7ff.patch#/merged_pr_278.patch +BuildRequires: %{python_module base > 3.6} BuildRequires: %{python_module docutils} +BuildRequires: %{python_module flit-core} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module requests} +BuildRequires: %{python_module tomli-w} +BuildRequires: %{python_module tomli} +# SECTION test requirements +BuildRequires: %{python_module testpath} BuildRequires: %{python_module pytest >= 2.7.3} -BuildRequires: %{python_module pytoml} -BuildRequires: %{python_module requests-download} BuildRequires: %{python_module responses} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module testpath} +# /SECTION BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-docutils -Requires: python-pytoml -Requires: python-requests-download +Requires: python-flit-core +Requires: python-requests +Requires: python-tomli +Requires: python-tomli-w Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch -%if %{python3_version_nodots} < 36 -BuildRequires: %{python_module zipfile36} -%endif -%if %{python3_version_nodots} < 36 -Requires: python-zipfile36 -%endif %python_subpackages %description -A simple packaging tool for simple packages. +Simplified packaging of Python modules %prep %setup -q -n flit-%{version} -%patch0 -p1 -sed -i 's/distutils.core/setuptools/' setup.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/flit %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# test_build_sdist is https://github.com/takluyver/flit/issues/133 +%{python_expand # create python name interpreter for test_find_python_excutable" +mkdir build/testbin +ln -s %{_bindir}/$python build/testbin/python +} +export PATH=$PWD/build/testbin/:$PATH # test_invalid_classifier requires internet -%pytest -k 'not (test_build_sdist or test_invalid_classifier)' +# https://github.com/takluyver/flit/blob/96751efce651f8bae8ccb9e7f144dac460b3f013/flit/validate.py#L126 +# "The error you get on a train, going through Oregon, without wifi" +%pytest -k "not test_invalid_classifier" %post %python_install_alternative flit @@ -81,6 +85,7 @@ %doc README.rst %license LICENSE %python_alternative %{_bindir}/flit -%{python_sitelib}/* +%{python_sitelib}/flit +%{python_sitelib}/flit-%{version}*-info %changelog ++++++ flit-1.3.tar.gz -> flit-3.4.0.tar.gz ++++++ ++++ 9436 lines of diff (skipped)