From 8a1d4480f1803170e172ca6c1d41c74f5912475d944d2f868e2971097bfae3b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 13 Dec 2024 11:57:11 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main python-portend revision fb1a30ce2df52f151c9bcc38cc5cf6ea --- portend-3.1.0.tar.gz | 3 --- portend-3.2.0.tar.gz | 3 +++ python-portend.changes | 6 ++++++ python-portend.spec | 17 ++++++++++------- 4 files changed, 19 insertions(+), 10 deletions(-) delete mode 100644 portend-3.1.0.tar.gz create mode 100644 portend-3.2.0.tar.gz diff --git a/portend-3.1.0.tar.gz b/portend-3.1.0.tar.gz deleted file mode 100644 index fef7878..0000000 --- a/portend-3.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:239e3116045ea823f6df87d6168107ad75ccc0590e37242af0cc1e98c5d224e4 -size 9448 diff --git a/portend-3.2.0.tar.gz b/portend-3.2.0.tar.gz new file mode 100644 index 0000000..500bf2e --- /dev/null +++ b/portend-3.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5250a352c19c959d767cac878b829d93e5dc7625a5143399a2a00dc6628ffb72 +size 10514 diff --git a/python-portend.changes b/python-portend.changes index 1b6d9bb..097af8c 100644 --- a/python-portend.changes +++ b/python-portend.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Jan 7 21:06:09 UTC 2024 - Dirk Müller + +- update to 3.2.0: + * Require Python 3.8 or later. + ------------------------------------------------------------------- Fri Apr 21 12:29:39 UTC 2023 - Dirk Müller diff --git a/python-portend.spec b/python-portend.spec index 1b7b75f..d4fe9e6 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -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