Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-port-for for openSUSE:Factory
checked in at 2024-01-07 21:42:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-port-for (Old)
and /work/SRC/openSUSE:Factory/.python-port-for.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-port-for"
Sun Jan 7 21:42:45 2024 rev:3 rq:1137438 version:0.7.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-port-for/python-port-for.changes
2022-04-06 21:52:48.482665668 +0200
+++
/work/SRC/openSUSE:Factory/.python-port-for.new.28375/python-port-for.changes
2024-01-07 21:42:50.397557973 +0100
@@ -1,0 +2,20 @@
+Sun Jan 7 20:22:40 UTC 2024 - Dirk Müller <[email protected]>
+
+- update to 0.7.2:
+ * Drop support for python 3.7
+ * Support Python 3.12
+ * #152, #166, #170
+ * Add PortType type alias for easier typing related code
+ * get_port will now allow passing additional exclude_ports
+ parameter - these ports will not be chosen.
+ * Add python 3.11 to the list of supported python versions.
+ * Use towncrier as a changelog management tool.
+ * Moved development dependencies to be managed by pipenv. All
+ development process can be managed with it - which means
+ automatic isolation.
+ * Migrate versioning tool to tbump, and move package definition
+ to pyproject.toml
+ * Moved as much of the setup.cfg settings into the
+ pyproject.toml as possible. Dropped pydocstyle support.
+
+-------------------------------------------------------------------
Old:
----
v0.6.2.tar.gz
New:
----
v0.7.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-port-for.spec ++++++
--- /var/tmp/diff_new_pack.muiZgj/_old 2024-01-07 21:42:50.821573402 +0100
+++ /var/tmp/diff_new_pack.muiZgj/_new 2024-01-07 21:42:50.825573547 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-port-for
#
-# Copyright (c) 2022 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,17 +16,19 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?sle15_python_module_pythons}
Name: python-port-for
-Version: 0.6.2
+Version: 0.7.2
Release: 0
License: MIT
Summary: Utility that helps with local TCP ports managment
URL: https://github.com/kmike/port-for/
Group: Development/Languages/Python
Source:
https://github.com/kmike/port-for/archive/refs/tags/v%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
@@ -72,17 +74,16 @@
%setup -q -n port-for-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand rm -f %{buildroot}%{$python_sitelib}/port_for/tests.py*
%{buildroot}%{$python_sitelib}/port_for/__pycache__/tests.*
%python_clone -a %{buildroot}%{_bindir}/port-for
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-sed -i '/^addopts =/d' setup.cfg
-%pytest --doctest-modules src/port_for/utils.py tests/test*.py
+%pytest
%post
%python_install_alternative port-for
@@ -93,6 +94,7 @@
%files %{python_files}
%license LICENSE.txt
%doc README.rst
-%{python_sitelib}/*
+%{python_sitelib}/port_for
+%{python_sitelib}/port_for-%{version}.dist-info
%python_alternative %{_bindir}/port-for
++++++ v0.6.2.tar.gz -> v0.7.2.tar.gz ++++++
++++ 4316 lines of diff (skipped)