Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-stomper for openSUSE:Factory checked in at 2023-09-08 21:15:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-stomper (Old) and /work/SRC/openSUSE:Factory/.python-stomper.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-stomper" Fri Sep 8 21:15:59 2023 rev:12 rq:1109682 version:0.4.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-stomper/python-stomper.changes 2020-06-03 20:36:21.161892944 +0200 +++ /work/SRC/openSUSE:Factory/.python-stomper.new.1766/python-stomper.changes 2023-09-08 21:17:00.309610220 +0200 @@ -1,0 +2,7 @@ +Fri Sep 8 07:03:32 UTC 2023 - Steve Kowalik <[email protected]> + +- Switch to pyproject and autosetup macros. +- Stop using greedy globs in %files. +- Add patch remove-future-requirement.patch, remove future requirement. + +------------------------------------------------------------------- New: ---- remove-future-requirement.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-stomper.spec ++++++ --- /var/tmp/diff_new_pack.q2IE4x/_old 2023-09-08 21:17:01.401649249 +0200 +++ /var/tmp/diff_new_pack.q2IE4x/_new 2023-09-08 21:17:01.405649391 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-stomper # -# Copyright (c) 2020 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 @@ -16,22 +16,22 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-stomper Version: 0.4.3 Release: 0 Summary: Transport neutral client implementation of the STOMP protocol License: Apache-2.0 -Group: Development/Languages/Python URL: https://code.google.com/p/stomper Source0: https://files.pythonhosted.org/packages/source/s/stomper/stomper-%{version}.tar.gz +Patch0: remove-future-requirement.patch +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module future} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} # /SECTION %python_subpackages @@ -44,13 +44,13 @@ the sending and receiving. %prep -%setup -q -n stomper-%{version} +%autosetup -p1 -n stomper-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -59,5 +59,6 @@ %files %{python_files} %doc README.rst lib/stomper/examples %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/stomper +%{python_sitelib}/stomper-%{version}.dist-info ++++++ remove-future-requirement.patch ++++++ Index: stomper-0.4.3/setup.py =================================================================== --- stomper-0.4.3.orig/setup.py +++ stomper-0.4.3/setup.py @@ -45,12 +45,6 @@ PackageData = { } -needed = ['future'] -if sys.version_info < (2, 5): - needed += [ - 'uuid>=1.2', - ] - setup( name=Name, version=Version, @@ -61,7 +55,7 @@ setup( url=ProjectUrl, license=License, classifiers=Classifiers, - install_requires=needed, + install_requires=[], test_suite=TestSuite, scripts=ProjectScripts, packages=find_packages('lib'),
