Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Mathics-Scanner for openSUSE:Factory checked in at 2024-08-17 12:44:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Mathics-Scanner (Old) and /work/SRC/openSUSE:Factory/.python-Mathics-Scanner.new.2698 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Mathics-Scanner" Sat Aug 17 12:44:21 2024 rev:3 rq:1194402 version:1.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Mathics-Scanner/python-Mathics-Scanner.changes 2023-04-18 15:53:03.977480079 +0200 +++ /work/SRC/openSUSE:Factory/.python-Mathics-Scanner.new.2698/python-Mathics-Scanner.changes 2024-08-17 12:44:47.420358863 +0200 @@ -1,0 +2,11 @@ +Tue Aug 13 04:53:15 UTC 2024 - Atri Bhattacharya <badshah...@gmail.com> + +- Update to version 1.3.1: + * Packaging was redone to be able to support Python 3.12. + * Files now follow current Python black formatting and isort + import ordering. + * Some Python code linting. +- Compatibility with python 3.6 dropped, bump miminum python-base + version in BuildRequires to 3.8. + +------------------------------------------------------------------- Old: ---- Mathics_Scanner-1.3.0.tar.gz New: ---- mathics_scanner-1.3.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Mathics-Scanner.spec ++++++ --- /var/tmp/diff_new_pack.Nx2gEy/_old 2024-08-17 12:44:47.848376661 +0200 +++ /var/tmp/diff_new_pack.Nx2gEy/_new 2024-08-17 12:44:47.852376828 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-Mathics-Scanner # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,16 +16,19 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 +%define modname mathics_scanner Name: python-Mathics-Scanner -Version: 1.3.0 +Version: 1.3.1 Release: 0 Summary: Character Tables and Tokenizer for Mathics and the Wolfram Language License: GPL-3.0-only URL: https://mathics.org/ -Source: https://files.pythonhosted.org/packages/source/M/Mathics-Scanner/Mathics_Scanner-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/M/Mathics-Scanner/%{modname}-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module chardet} @@ -47,16 +50,16 @@ Character Tables and Tokenizer for Mathics and the Wolfram Language. %prep -%setup -q -n Mathics_Scanner-%{version} +%setup -q -n %{modname}-%{version} # Fix shbang sed -i "s|/usr/bin/env python|/usr/bin/python3|" mathics_scanner/generate/build_tables.py sed -i "s|/usr/bin/env python3|/usr/bin/python3|" mathics_scanner/generate/rl_inputrc.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/mathics-generate-json-table %python_expand %fdupes %{buildroot}%{$python_sitelib} # Should be executable @@ -73,6 +76,6 @@ %files %{python_files} %python_alternative %{_bindir}/mathics-generate-json-table -%{python_sitelib}/mathics_scanner/ -%{python_sitelib}/Mathics_Scanner-%{version}-py%{python_version}.egg-info/ +%{python_sitelib}/%{modname}/ +%{python_sitelib}/Mathics_Scanner-%{version}*.*-info/