commit python-acitoolkit for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-acitoolkit for openSUSE:Factory checked in at 2023-10-29 19:39:56 Comparing /work/SRC/openSUSE:Factory/python-acitoolkit (Old) and /work/SRC/openSUSE:Factory/.python-acitoolkit.new.17445 (New) Package is "python-acitoolkit" Sun Oct 29 19:39:56 2023 rev:7 rq:1117697 version:0.4 Changes: --- /work/SRC/openSUSE:Factory/python-acitoolkit/python-acitoolkit.changes 2023-06-21 22:41:22.914921022 +0200 +++ /work/SRC/openSUSE:Factory/.python-acitoolkit.new.17445/python-acitoolkit.changes 2023-10-29 19:40:08.623760387 +0100 @@ -1,0 +2,5 @@ +Fri Oct 13 16:21:03 UTC 2023 - Matej Cepl + +- Clean up the SPEC file + +--- Other differences: -- ++ python-acitoolkit.spec ++ --- /var/tmp/diff_new_pack.YvqyZj/_old 2023-10-29 19:40:09.095777559 +0100 +++ /var/tmp/diff_new_pack.YvqyZj/_new 2023-10-29 19:40:09.095777559 +0100 @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-acitoolkit Version:0.4 Release:0 @@ -31,10 +30,11 @@ BuildRequires: %{python_module graphviz} BuildRequires: %{python_module jsonschema} BuildRequires: %{python_module pbr} +BuildRequires: %{python_module pip} BuildRequires: %{python_module requests} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module tabulate} BuildRequires: %{python_module websocket-client > 0.33.0} +BuildRequires: %{python_module wheel} BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -86,8 +86,7 @@ %prep %setup -q -n acitoolkit-%{version} # Remove dependencies of applications/ and samples/ from the library -%patch0 -p1 -%patch1 -p1 +%autopatch -p1 chmod -x LICENSE NOTICE @@ -105,10 +104,10 @@ applications/reports/static/*.css applications/reports/static/*.js %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} # Install docs, samples and applications into a common doc area @@ -119,7 +118,7 @@ %fdupes %{buildroot}%{_defaultdocdir}/%{name}/ %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python tests/acitoolkit_test.py offline +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python tests/acitoolkit_test.py -v offline %files -n %{name}-doc %license LICENSE NOTICE @@ -138,5 +137,5 @@ %doc README.md %license LICENSE NOTICE %{python_sitelib}/acitoolkit -%{python_sitelib}/acitoolkit-*.egg-info +%{python_sitelib}/acitoolkit-%{version}*-info
commit python-acitoolkit for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-acitoolkit for openSUSE:Factory checked in at 2023-06-21 22:40:30 Comparing /work/SRC/openSUSE:Factory/python-acitoolkit (Old) and /work/SRC/openSUSE:Factory/.python-acitoolkit.new.15902 (New) Package is "python-acitoolkit" Wed Jun 21 22:40:30 2023 rev:6 rq:1094466 version:0.4 Changes: --- /work/SRC/openSUSE:Factory/python-acitoolkit/python-acitoolkit.changes 2022-05-03 21:19:46.613059163 +0200 +++ /work/SRC/openSUSE:Factory/.python-acitoolkit.new.15902/python-acitoolkit.changes 2023-06-21 22:41:22.914921022 +0200 @@ -1,0 +2,5 @@ +Wed Jun 21 10:39:27 UTC 2023 - Markéta Machová + +- Drop unneeded six dependency + +--- Other differences: -- ++ python-acitoolkit.spec ++ --- /var/tmp/diff_new_pack.4Qridt/_old 2023-06-21 22:41:23.398923935 +0200 +++ /var/tmp/diff_new_pack.4Qridt/_new 2023-06-21 22:41:23.402923959 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-acitoolkit # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -92,6 +92,8 @@ chmod -x LICENSE NOTICE sed -i '1{/^#!.*env python/d}' acitoolkit/*.py samples/*.py samples/switch-commands/*.py +# drop unneeded six dependency +sed -i 's/six.moves.queue/queue/' acitoolkit/acisession.py rm applications/cableplan/.coverage applications/eventfeeds/.gitignore
commit python-acitoolkit for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-acitoolkit for openSUSE:Factory checked in at 2022-05-03 21:19:37 Comparing /work/SRC/openSUSE:Factory/python-acitoolkit (Old) and /work/SRC/openSUSE:Factory/.python-acitoolkit.new.1538 (New) Package is "python-acitoolkit" Tue May 3 21:19:37 2022 rev:5 rq:974753 version:0.4 Changes: --- /work/SRC/openSUSE:Factory/python-acitoolkit/python-acitoolkit.changes 2022-02-03 23:17:31.536187186 +0100 +++ /work/SRC/openSUSE:Factory/.python-acitoolkit.new.1538/python-acitoolkit.changes 2022-05-03 21:19:46.613059163 +0200 @@ -1,0 +2,5 @@ +Tue May 3 10:46:59 UTC 2022 - pgaj...@suse.com + +- python-mock is not required for build + +--- Other differences: -- ++ python-acitoolkit.spec ++ --- /var/tmp/diff_new_pack.i3LEZ6/_old 2022-05-03 21:19:47.125059804 +0200 +++ /var/tmp/diff_new_pack.i3LEZ6/_new 2022-05-03 21:19:47.129059809 +0200 @@ -30,7 +30,6 @@ Patch1: python-acitoolkit-python-310.patch BuildRequires: %{python_module graphviz} BuildRequires: %{python_module jsonschema} -BuildRequires: %{python_module mock} BuildRequires: %{python_module pbr} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools}
commit python-acitoolkit for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-acitoolkit for openSUSE:Factory checked in at 2022-02-03 23:16:36 Comparing /work/SRC/openSUSE:Factory/python-acitoolkit (Old) and /work/SRC/openSUSE:Factory/.python-acitoolkit.new.1898 (New) Package is "python-acitoolkit" Thu Feb 3 23:16:36 2022 rev:4 rq:951350 version:0.4 Changes: --- /work/SRC/openSUSE:Factory/python-acitoolkit/python-acitoolkit.changes 2019-04-01 12:35:34.825833316 +0200 +++ /work/SRC/openSUSE:Factory/.python-acitoolkit.new.1898/python-acitoolkit.changes 2022-02-03 23:17:31.536187186 +0100 @@ -1,0 +2,19 @@ +Thu Feb 3 14:07:10 UTC 2022 - Dominique Leuenberger + +- Fix install dependencies of -doc-applications and -doc-samples: + make them rely on the primary python interpreter version. + +--- +Tue Feb 1 07:10:38 UTC 2022 - pgaj...@suse.com + +- use spec cleaner, remove redundant Provides + +--- +Fri Jan 28 10:10:09 UTC 2022 - pgaj...@suse.com + +- fix for python 3.10 +- added patches + fix https://github.com/datacenter/acitoolkit/commit/629b84887dd0f0183b81efc8adb16817f985541a + + python-acitoolkit-python-310.patch + +--- New: python-acitoolkit-python-310.patch Other differences: -- ++ python-acitoolkit.spec ++ --- /var/tmp/diff_new_pack.Ru3ZAl/_old 2022-02-03 23:17:32.136183090 +0100 +++ /var/tmp/diff_new_pack.Ru3ZAl/_new 2022-02-03 23:17:32.140183063 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-acitoolkit # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,9 +23,11 @@ Summary:Python library for programming ACI License:Apache-2.0 Group: Development/Languages/Python -URL:http://github.com/datacenter/acitoolkit +URL:https://github.com/datacenter/acitoolkit Source: https://github.com/datacenter/acitoolkit/archive/v%{version}.tar.gz Patch0: remove-app-dependency.patch +# https://github.com/datacenter/acitoolkit/commit/629b84887dd0f0183b81efc8adb16817f985541a +Patch1: python-acitoolkit-python-310.patch BuildRequires: %{python_module graphviz} BuildRequires: %{python_module jsonschema} BuildRequires: %{python_module mock} @@ -52,25 +54,23 @@ %package -n %{name}-doc Summary:Documentation for the Python acitoolkit library Group: Documentation/Other -Provides: %{python_module acitoolkit-doc = %{version}} %description -n %{name}-doc -Documentation for %name. +Documentation for %{name}. %package -n %{name}-doc-applications Summary:Applications for the Python acitoolkit library Group: Development/Languages/Python -Provides: %{python_module acitoolkit-doc-applications = %{version}} -Requires: %{name}-doc -Requires: python-Flask -Requires: python-Flask-Admin -Requires: python-Flask-Bootstrap -Requires: python-Flask-Cors -Requires: python-Flask-HTTPAuth -Requires: python-Flask-SQLAlchemy -Requires: python-Flask-WTF -Requires: python-GitPython -Requires: python-py-radix +Requires: python-acitoolkit-doc +Requires: python3-Flask +Requires: python3-Flask-Admin +Requires: python3-Flask-Bootstrap +Requires: python3-Flask-Cors +Requires: python3-Flask-HTTPAuth +Requires: python3-Flask-SQLAlchemy +Requires: python3-Flask-WTF +Requires: python3-GitPython +Requires: python3-py-radix %description -n %{name}-doc-applications Python applications using acitoolkit for programming ACI. @@ -78,9 +78,8 @@ %package -n %{name}-doc-samples Summary:Sample code for the Python acitoolkit library Group: Development/Languages/Python -Provides: %{python_module acitoolkit-doc-samples = %{version}} Requires: %{name}-doc -Requires: python-PyMySQL +Requires: python3-PyMySQL %description -n %{name}-doc-samples Python samples for using acitoolkit for programming ACI. @@ -89,6 +88,7 @@ %setup -q -n acitoolkit-%{version} # Remove dependencies of applications/ and samples/ from the library %patch0 -p1 +%patch1 -p1 chmod -x LICENSE NOTICE @@ -111,27 +111,27 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} # Install docs, samples and applications into a common doc area -install -d %{buildroot}%_defaultdocdir/%{name}