Sync from SUSE:SLFO:Main python-portend revision fb1a30ce2df52f151c9bcc38cc5cf6ea

This commit is contained in:
Adrian Schröter 2024-12-13 11:57:11 +01:00
parent 4df2ad682b
commit 8a1d4480f1
4 changed files with 19 additions and 10 deletions

BIN
portend-3.1.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
portend-3.2.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jan 7 21:06:09 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.2.0:
* Require Python 3.8 or later.
-------------------------------------------------------------------
Fri Apr 21 12:29:39 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-portend
#
# Copyright (c) 2023 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,20 +16,21 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-portend
Version: 3.1.0
Version: 3.2.0
Release: 0
Summary: TCP port monitoring utilities
License: MIT
Group: Development/Languages/Python
URL: https://github.com/jaraco/portend
Source: https://files.pythonhosted.org/packages/source/p/portend/portend-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm >= 1.15.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tempora >= 1.8}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-tempora >= 1.8
@ -52,10 +53,10 @@ a suitable port for binding locally::
sed -i -e '/addopts/d' pytest.ini
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@ -63,7 +64,9 @@ sed -i -e '/addopts/d' pytest.ini
%files %{python_files}
%license LICENSE
%doc CHANGES.rst README.rst
%{python_sitelib}/*
%doc NEWS.rst README.rst
%{python_sitelib}/portend.py
%{python_sitelib}/portend-%{version}.dist-info
%pycache_only %{python_sitelib}/__pycache__/portend.*
%changelog