commit python-sievelib for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-sievelib for openSUSE:Factory checked in at 2023-09-01 14:19:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-sievelib (Old) and /work/SRC/openSUSE:Factory/.python-sievelib.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-sievelib" Fri Sep 1 14:19:43 2023 rev:5 rq:1108366 version:1.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-sievelib/python-sievelib.changes 2021-01-25 18:24:59.540548304 +0100 +++ /work/SRC/openSUSE:Factory/.python-sievelib.new.1766/python-sievelib.changes 2023-09-01 14:20:37.387256349 +0200 @@ -1,0 +2,8 @@ +Fri Sep 1 05:20:43 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com> + +- Switch to pyproject macros. +- Actually run the testsuite. +- Drop unneeded future requirement. +- Stop using greedy globs in %files. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-sievelib.spec ++++++ --- /var/tmp/diff_new_pack.FUm0yU/_old 2023-09-01 14:20:38.323289756 +0200 +++ /var/tmp/diff_new_pack.FUm0yU/_new 2023-09-01 14:20:38.327289900 +0200 @@ -1,7 +1,7 @@ # -# spec file for package python-sievelib +# spec file # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2016 Aeneas Jaissle <aj@ajaissle.de> # # All modifications and additions to the file contributed by third parties @@ -18,19 +18,17 @@ %define modname sievelib -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-%{modname} Version: 1.2.1 Release: 0 Summary: Client-side Sieve and Managesieve library written in Python License: MIT -Group: Development/Languages/Python URL: https://pypi.python.org/pypi/sievelib Source: https://files.pythonhosted.org/packages/source/s/sievelib/%{modname}-%{version}.tar.gz -BuildRequires: %{python_module future} BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -47,16 +45,19 @@ chmod -x sievelib/parser.py %build -%python_build +%pyproject_wheel %install -%python_install - +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%pytest + %files %{python_files} %license COPYING %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/sievelib +%{python_sitelib}/sievelib-%{version}.dist-info %changelog
participants (1)
-
Source-Sync