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 2022-04-06 21:52:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-port-for (Old)
and /work/SRC/openSUSE:Factory/.python-port-for.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-port-for"
Wed Apr 6 21:52:13 2022 rev:2 rq:967345 version:0.6.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-port-for/python-port-for.changes
2019-03-22 15:12:10.673293038 +0100
+++
/work/SRC/openSUSE:Factory/.python-port-for.new.1900/python-port-for.changes
2022-04-06 21:52:48.482665668 +0200
@@ -1,0 +2,28 @@
+Wed Apr 6 14:29:40 UTC 2022 - Matej Cepl <[email protected]>
+
+- Remove forgotten tarball port-for-0.6.2.tar.gz
+
+-------------------------------------------------------------------
+Wed Apr 6 11:10:45 UTC 2022 - [email protected]
+
+- version update to 0.6.2
+ 0.6.2
+ ----------
+ Misc
+ ++++
+ - Added Python 3.10 to trove classifiers and to CI
+ 0.6.1
+ ----------
+ Bugfix
+ ++++++
+ - Fixed typing definition for get_port function
+ 0.6.0
+ ----------
+ Feature
+ +++++++
+ - Added `get_port` helper that can randomly select open port out of given
set, or range-tuple
+ - Added type annotations and compatibility with PEP 561
+ - Support only python 3.7 and up
+- python-mock is not required for build
+
+-------------------------------------------------------------------
Old:
----
port-for-0.4.tar.gz
New:
----
v0.6.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-port-for.spec ++++++
--- /var/tmp/diff_new_pack.aSHUEs/_old 2022-04-06 21:52:48.970660099 +0200
+++ /var/tmp/diff_new_pack.aSHUEs/_new 2022-04-06 21:52:48.974660053 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-port-for
#
-# 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
@@ -12,25 +12,25 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-port-for
-Version: 0.4
+Version: 0.6.2
Release: 0
License: MIT
Summary: Utility that helps with local TCP ports managment
-Url: https://github.com/kmike/port-for/
+URL: https://github.com/kmike/port-for/
Group: Development/Languages/Python
-Source:
https://files.pythonhosted.org/packages/source/p/port_for/port-for-%{version}.tar.gz
-BuildRequires: python-rpm-macros
-BuildRequires: %{python_module mock}
+Source:
https://github.com/kmike/port-for/archive/refs/tags/v%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
+BuildRequires: python-rpm-macros
Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
BuildArch: noarch
%python_subpackages
@@ -81,7 +81,8 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%python_exec -m pytest --doctest-modules port_for/utils.py port_for/tests.py
+sed -i '/^addopts =/d' setup.cfg
+%pytest --doctest-modules src/port_for/utils.py tests/test*.py
%post
%python_install_alternative port-for
@@ -95,5 +96,4 @@
%{python_sitelib}/*
%python_alternative %{_bindir}/port-for
-
%changelog