Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-ftputil for openSUSE:Factory checked in at 2025-06-17 18:22:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ftputil (Old) and /work/SRC/openSUSE:Factory/.python-ftputil.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ftputil" Tue Jun 17 18:22:51 2025 rev:6 rq:1286227 version:5.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ftputil/python-ftputil.changes 2025-04-20 20:07:38.064268226 +0200 +++ /work/SRC/openSUSE:Factory/.python-ftputil.new.19631/python-ftputil.changes 2025-06-17 18:23:44.786109539 +0200 @@ -0,0 +1,7 @@ +------------------------------------------------------------------- +Tue Jun 17 04:17:16 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com> + +- Switch to pyproject macros. +- Run the testsuite. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ftputil.spec ++++++ --- /var/tmp/diff_new_pack.HJiSb4/_old 2025-06-17 18:23:45.294130664 +0200 +++ /var/tmp/diff_new_pack.HJiSb4/_new 2025-06-17 18:23:45.298130830 +0200 @@ -22,14 +22,16 @@ Release: 0 Summary: High-level FTP client library (virtual file system and more) for Python License: BSD-3-Clause -Group: Development/Languages/Python URL: http://ftputil.sschwarzer.net/ Source: https://files.pythonhosted.org/packages/source/f/ftputil/ftputil-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module pytest} +BuildRequires: %{python_module freezegun} # /SECTION BuildArch: noarch @@ -48,15 +50,19 @@ %setup -q -n ftputil-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +# Requires network +%pytest --ignore test/test_real_ftp.py -k 'not (test_upload or test_servers)' + %files %{python_files} %license LICENSE %doc README.md %{python_sitelib}/ftputil -%{python_sitelib}/ftputil-%{version}*.egg-info +%{python_sitelib}/ftputil-%{version}.dist-info