From e48c4939d85d572df344fddcb39ac145e92290de Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Mon, 22 Apr 2019 13:58:11 +0000 Subject: [PATCH 01/30] Added the README --- README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..c772483 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# python-portend + +The python-portend package \ No newline at end of file From b7bed8a866816b9fc16b72cbf5c9cf908568d013 Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Mon, 22 Apr 2019 11:13:12 -0400 Subject: [PATCH 02/30] initial spec --- .gitignore | 1 + python-portend.spec | 88 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 90 insertions(+) create mode 100644 .gitignore create mode 100644 python-portend.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..47dd471 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/portend-2.3.tar.gz diff --git a/python-portend.spec b/python-portend.spec new file mode 100644 index 0000000..e89e920 --- /dev/null +++ b/python-portend.spec @@ -0,0 +1,88 @@ +# Created by pyp2rpm-3.3.2 +%global pypi_name portend +# Some docs deps are not in fedora yet +%global with_docs 0 + +Name: python-%{pypi_name} +Version: 2.3 +Release: 1%{?dist} +Summary: TCP port monitoring utilities + +License: MIT +URL: https://github.com/jaraco/portend +Source0: %{pypi_source} +BuildArch: noarch + +%description + por·tend pôrˈtend/ be a sign or warning that (something, especially something +momentous or calamitous) is likely to happen. + +%package -n python3-%{pypi_name} +Summary: portend documentation + +BuildRequires: python3-devel +BuildRequires: python3dist(jaraco-functools) +BuildRequires: python3dist(pytest) >= 3.5 +BuildRequires: python3dist(pytest-flake8) +#BuildRequires: python3dist(pytest-sugar) >= 0.9.1 +BuildRequires: python3dist(setuptools) +BuildRequires: python3dist(setuptools-scm) >= 1.15.0 +BuildRequires: python3dist(tempora) >= 1.8 + +%description -n python3-%{pypi_name} + por·tend pôrˈtend/ be a sign or warning that (something, especially something +momentous or calamitous) is likely to happen. + +%if 0%{?with_docs} +%package -n python3-%{pypi_name}-doc +Summary: portend documentation + +BuildRequires: python3dist(jaraco-packaging) >= 3.2 +BuildRequires: python3dist(rst-linker) >= 1.9 +BuildRequires: python3dist(sphinx) + +%description -n python3-%{pypi_name}-doc +Documentation for portend +%endif + +%prep +%autosetup -n %{pypi_name}-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info +# disable flake8 in the tests, need a newer version of pytest-flake8 +# https://src.fedoraproject.org/rpms/python-pytest-flake8/pull-request/2 +# AttributeError: 'Application' object has no attribute 'make_notifier' +sed -i 's/ --flake8//' pytest.ini + +%build +%py3_build + +%if 0%{?with_docs} +# generate html docs +PYTHONPATH=${PWD} sphinx-build-3 docs html +# remove the sphinx-build leftovers +rm -rf html/.{doctrees,buildinfo} +%endif + +%install +%py3_install + +%check +LANG=C.utf-8 %{__python3} -m pytest --ignore=build + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.rst +%{python3_sitelib}/__pycache__/* +%{python3_sitelib}/%{pypi_name}.py +%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info + +%if 0%{?with_docs} +%files -n python-%{pypi_name}-doc +%doc html +%license LICENSE +%endif + +%changelog +* Tue Apr 02 2019 Dan Radez - 2.3-1 +- Initial package. diff --git a/sources b/sources new file mode 100644 index 0000000..8df5086 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (portend-2.3.tar.gz) = eb438c9967bd1540534bc9deb5bdb8b7ed41c7328aeee0c9376b00018ec6c07773c0d782efe3f460cf6e68bd4d899bceedf0c581dd29080cd3fe44a3a17b0004 From e423ef7e6332ea8b7b5b91a67b3487bdca10456e Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Tue, 11 Jun 2019 10:36:07 -0400 Subject: [PATCH 03/30] updating to 2.5 --- .gitignore | 1 + python-portend.spec | 14 +++++++++----- sources | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 47dd471..94e52a7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /portend-2.3.tar.gz +/portend-2.5.tar.gz diff --git a/python-portend.spec b/python-portend.spec index e89e920..2f3e566 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -1,10 +1,9 @@ # Created by pyp2rpm-3.3.2 %global pypi_name portend -# Some docs deps are not in fedora yet -%global with_docs 0 +%global with_docs 1 Name: python-%{pypi_name} -Version: 2.3 +Version: 2.5 Release: 1%{?dist} Summary: TCP port monitoring utilities @@ -34,14 +33,14 @@ BuildRequires: python3dist(tempora) >= 1.8 momentous or calamitous) is likely to happen. %if 0%{?with_docs} -%package -n python3-%{pypi_name}-doc +%package -n python-%{pypi_name}-doc Summary: portend documentation BuildRequires: python3dist(jaraco-packaging) >= 3.2 BuildRequires: python3dist(rst-linker) >= 1.9 BuildRequires: python3dist(sphinx) -%description -n python3-%{pypi_name}-doc +%description -n python-%{pypi_name}-doc Documentation for portend %endif @@ -53,6 +52,8 @@ rm -rf %{pypi_name}.egg-info # https://src.fedoraproject.org/rpms/python-pytest-flake8/pull-request/2 # AttributeError: 'Application' object has no attribute 'make_notifier' sed -i 's/ --flake8//' pytest.ini +# black is apparently not a valid option? +sed -i 's/ --black//' pytest.ini %build %py3_build @@ -84,5 +85,8 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build %endif %changelog +* Tue Jun 11 2019 Dan Radez - 2.5-1 +- Update to 2.5 + * Tue Apr 02 2019 Dan Radez - 2.3-1 - Initial package. diff --git a/sources b/sources index 8df5086..3ebb1e3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (portend-2.3.tar.gz) = eb438c9967bd1540534bc9deb5bdb8b7ed41c7328aeee0c9376b00018ec6c07773c0d782efe3f460cf6e68bd4d899bceedf0c581dd29080cd3fe44a3a17b0004 +SHA512 (portend-2.5.tar.gz) = c842a3c60c7cd44aa058ed598f5af09024537bf6820921c6f4fc062a24983f562a5b9c60a83052046a0811aaae005543c22067f8704b3018f011f275bd4abae4 From 369bb782f97eeaaec344df44265d7eb02af5b5d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 4 Jul 2019 16:21:50 +0200 Subject: [PATCH 04/30] Remove .0 from (Build)Requires See https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/NLMEX6MY7DQLWTD2PMX4WGC3L3ER4HFS/ --- python-portend.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-portend.spec b/python-portend.spec index 2f3e566..dec58c1 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -25,7 +25,7 @@ BuildRequires: python3dist(pytest) >= 3.5 BuildRequires: python3dist(pytest-flake8) #BuildRequires: python3dist(pytest-sugar) >= 0.9.1 BuildRequires: python3dist(setuptools) -BuildRequires: python3dist(setuptools-scm) >= 1.15.0 +BuildRequires: python3dist(setuptools-scm) >= 1.15 BuildRequires: python3dist(tempora) >= 1.8 %description -n python3-%{pypi_name} From 04acc3afb9225e30d1d4389a5c44ae1c14566dee Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jul 2019 15:16:06 +0000 Subject: [PATCH 05/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-portend.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-portend.spec b/python-portend.spec index dec58c1..3d34dee 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -4,7 +4,7 @@ Name: python-%{pypi_name} Version: 2.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: TCP port monitoring utilities License: MIT @@ -85,6 +85,9 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build %endif %changelog +* Fri Jul 26 2019 Fedora Release Engineering - 2.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Tue Jun 11 2019 Dan Radez - 2.5-1 - Update to 2.5 From 311580ebb6a512002179789f96b34085729b7022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 19 Aug 2019 10:50:22 +0200 Subject: [PATCH 06/30] Rebuilt for Python 3.8 --- python-portend.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-portend.spec b/python-portend.spec index 3d34dee..f4d1888 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -4,7 +4,7 @@ Name: python-%{pypi_name} Version: 2.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: TCP port monitoring utilities License: MIT @@ -85,6 +85,9 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build %endif %changelog +* Mon Aug 19 2019 Miro Hrončok - 2.5-3 +- Rebuilt for Python 3.8 + * Fri Jul 26 2019 Fedora Release Engineering - 2.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 5208804ebb8bd87f01844139f7177b6f68eb8ae0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 20 Aug 2019 16:51:41 +0200 Subject: [PATCH 07/30] Fix BuildRequires --- python-portend.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-portend.spec b/python-portend.spec index f4d1888..839f3ee 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -36,8 +36,8 @@ momentous or calamitous) is likely to happen. %package -n python-%{pypi_name}-doc Summary: portend documentation -BuildRequires: python3dist(jaraco-packaging) >= 3.2 -BuildRequires: python3dist(rst-linker) >= 1.9 +BuildRequires: python3dist(jaraco.packaging) >= 3.2 +BuildRequires: python3dist(rst.linker) >= 1.9 BuildRequires: python3dist(sphinx) %description -n python-%{pypi_name}-doc From 902270740cf3ba240eb651380bb9c5f0f67f1202 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 3 Oct 2019 14:23:34 +0200 Subject: [PATCH 08/30] Rebuilt for Python 3.8.0rc1 (#1748018) --- python-portend.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-portend.spec b/python-portend.spec index 839f3ee..c867386 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -4,7 +4,7 @@ Name: python-%{pypi_name} Version: 2.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: TCP port monitoring utilities License: MIT @@ -85,6 +85,9 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build %endif %changelog +* Thu Oct 03 2019 Miro Hrončok - 2.5-4 +- Rebuilt for Python 3.8.0rc1 (#1748018) + * Mon Aug 19 2019 Miro Hrončok - 2.5-3 - Rebuilt for Python 3.8 From e108018c13c9c14933d62fa2d6138e4806f2c37c Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Tue, 5 Nov 2019 14:31:38 -0500 Subject: [PATCH 09/30] updating to 2.6 --- .gitignore | 1 + python-portend.spec | 9 ++++++--- sources | 1 + 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 94e52a7..396197c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /portend-2.3.tar.gz /portend-2.5.tar.gz +/portend-2.6.tar.gz diff --git a/python-portend.spec b/python-portend.spec index c867386..d2903f4 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -3,8 +3,8 @@ %global with_docs 1 Name: python-%{pypi_name} -Version: 2.5 -Release: 4%{?dist} +Version: 2.6 +Release: 1%{?dist} Summary: TCP port monitoring utilities License: MIT @@ -20,7 +20,7 @@ momentous or calamitous) is likely to happen. Summary: portend documentation BuildRequires: python3-devel -BuildRequires: python3dist(jaraco-functools) +BuildRequires: python3dist(jaraco.functools) BuildRequires: python3dist(pytest) >= 3.5 BuildRequires: python3dist(pytest-flake8) #BuildRequires: python3dist(pytest-sugar) >= 0.9.1 @@ -85,6 +85,9 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build %endif %changelog +* Tue Nov 05 2019 Dan Radez - 2.6-1 +- update to 2.6 + * Thu Oct 03 2019 Miro Hrončok - 2.5-4 - Rebuilt for Python 3.8.0rc1 (#1748018) diff --git a/sources b/sources index 3ebb1e3..70a19af 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ SHA512 (portend-2.5.tar.gz) = c842a3c60c7cd44aa058ed598f5af09024537bf6820921c6f4fc062a24983f562a5b9c60a83052046a0811aaae005543c22067f8704b3018f011f275bd4abae4 +SHA512 (portend-2.6.tar.gz) = 9e53c668ba9d0ddb2e92d9b4c97d2b8a4d858a6fc44123414ee3c8ac433f51f50a4773ee08f85bb134e49aeace2a17baffd32962d36df0b19b505a2c6634bf7e From d336e8e629cafbcb5b97dcc3ea3083d4e799c0d2 Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Tue, 5 Nov 2019 14:47:45 -0500 Subject: [PATCH 10/30] Adding coverage build dep and reenabling flake8 --- python-portend.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/python-portend.spec b/python-portend.spec index d2903f4..ea2c9b8 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -22,6 +22,7 @@ Summary: portend documentation BuildRequires: python3-devel BuildRequires: python3dist(jaraco.functools) BuildRequires: python3dist(pytest) >= 3.5 +BuildRequires: python3dist(pytest-cov) BuildRequires: python3dist(pytest-flake8) #BuildRequires: python3dist(pytest-sugar) >= 0.9.1 BuildRequires: python3dist(setuptools) @@ -48,10 +49,6 @@ Documentation for portend %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info -# disable flake8 in the tests, need a newer version of pytest-flake8 -# https://src.fedoraproject.org/rpms/python-pytest-flake8/pull-request/2 -# AttributeError: 'Application' object has no attribute 'make_notifier' -sed -i 's/ --flake8//' pytest.ini # black is apparently not a valid option? sed -i 's/ --black//' pytest.ini @@ -87,6 +84,8 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build %changelog * Tue Nov 05 2019 Dan Radez - 2.6-1 - update to 2.6 +- reenable flake8 +- add coverage build dep * Thu Oct 03 2019 Miro Hrončok - 2.5-4 - Rebuilt for Python 3.8.0rc1 (#1748018) From df9cbe0c878ae0f6654b94e195c812604672bf12 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Wed, 20 Nov 2019 18:20:53 +0000 Subject: [PATCH 11/30] updates for EL8 support * Adds python-zipp for building * Sets the pytest version to 3.4 which is what EL8 provides * Conditionally removes flake8 testing which can't be done with pytest and flake8 versions required --- python-portend.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/python-portend.spec b/python-portend.spec index ea2c9b8..63abb40 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -21,13 +21,14 @@ Summary: portend documentation BuildRequires: python3-devel BuildRequires: python3dist(jaraco.functools) -BuildRequires: python3dist(pytest) >= 3.5 +BuildRequires: python3dist(pytest) >= 3.4 BuildRequires: python3dist(pytest-cov) -BuildRequires: python3dist(pytest-flake8) +%{?fedora:BuildRequires: python3dist(pytest-flake8)} #BuildRequires: python3dist(pytest-sugar) >= 0.9.1 BuildRequires: python3dist(setuptools) BuildRequires: python3dist(setuptools-scm) >= 1.15 BuildRequires: python3dist(tempora) >= 1.8 +BuildRequires: python3dist(zipp) %description -n python3-%{pypi_name} por·tend pôrˈtend/ be a sign or warning that (something, especially something @@ -40,6 +41,7 @@ Summary: portend documentation BuildRequires: python3dist(jaraco.packaging) >= 3.2 BuildRequires: python3dist(rst.linker) >= 1.9 BuildRequires: python3dist(sphinx) +BuildRequires: python3-more-itertools %description -n python-%{pypi_name}-doc Documentation for portend @@ -66,6 +68,11 @@ rm -rf html/.{doctrees,buildinfo} %py3_install %check +%if 0%{?el8} +# disable flake8 in the tests, need a newer version of pytest (3.5) which is not +# available on EL8, and is pulled in by python-pytest-flake8. +sed -i 's/ --flake8//' pytest.ini +%endif LANG=C.utf-8 %{__python3} -m pytest --ignore=build %files -n python3-%{pypi_name} From e09cbb53b6532c8045cba738b0968130fc93b522 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Mon, 25 Nov 2019 13:34:02 +0000 Subject: [PATCH 12/30] introduce the python dependency generator, so it pulls tempora --- python-portend.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-portend.spec b/python-portend.spec index 63abb40..6323800 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -1,6 +1,7 @@ # Created by pyp2rpm-3.3.2 %global pypi_name portend %global with_docs 1 +%{?python_enable_dependency_generator} Name: python-%{pypi_name} Version: 2.6 From 86c057161ad8f222c3a50f978c01d0603b0c133f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 30 Jan 2020 14:09:41 +0000 Subject: [PATCH 13/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-portend.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-portend.spec b/python-portend.spec index 6323800..889e6ef 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -5,7 +5,7 @@ Name: python-%{pypi_name} Version: 2.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: TCP port monitoring utilities License: MIT @@ -90,6 +90,9 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build %endif %changelog +* Thu Jan 30 2020 Fedora Release Engineering - 2.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Tue Nov 05 2019 Dan Radez - 2.6-1 - update to 2.6 - reenable flake8 From 93e197a047c36e260bcdc211a7b6a04c68d692b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 26 May 2020 03:31:11 +0200 Subject: [PATCH 14/30] Rebuilt for Python 3.9 --- python-portend.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-portend.spec b/python-portend.spec index 889e6ef..502e67f 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -5,7 +5,7 @@ Name: python-%{pypi_name} Version: 2.6 -Release: 2%{?dist} +Release: 3%{?dist} Summary: TCP port monitoring utilities License: MIT @@ -90,6 +90,9 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build %endif %changelog +* Tue May 26 2020 Miro Hrončok - 2.6-3 +- Rebuilt for Python 3.9 + * Thu Jan 30 2020 Fedora Release Engineering - 2.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 29f957e881a17ef2cd0ab33448d7cc2d7f26f317 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 27 May 2020 13:27:07 +0200 Subject: [PATCH 15/30] Don't BR zipp, it isn't packaged on Fedora 32+ --- python-portend.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/python-portend.spec b/python-portend.spec index 502e67f..fa4967f 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -29,7 +29,6 @@ BuildRequires: python3dist(pytest-cov) BuildRequires: python3dist(setuptools) BuildRequires: python3dist(setuptools-scm) >= 1.15 BuildRequires: python3dist(tempora) >= 1.8 -BuildRequires: python3dist(zipp) %description -n python3-%{pypi_name} por·tend pôrˈtend/ be a sign or warning that (something, especially something From 94eabfe23d0dbc50fe82280f52fd5918a3a102ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 13 Jul 2020 21:04:36 +0200 Subject: [PATCH 16/30] Replace Python version glob with macro (needed for Python 3.10+) See https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/PQIGCQCRNBYNXBX2ICWEM3PLDLNOG2ZT/ Co-authored-by: Tomas Hrnciar --- python-portend.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-portend.spec b/python-portend.spec index fa4967f..b5ddd32 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -80,7 +80,7 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build %doc README.rst %{python3_sitelib}/__pycache__/* %{python3_sitelib}/%{pypi_name}.py -%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %if 0%{?with_docs} %files -n python-%{pypi_name}-doc From 70a168b2e34633ebb409eb531c6c1eaf901679c3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 02:51:51 +0000 Subject: [PATCH 17/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-portend.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-portend.spec b/python-portend.spec index b5ddd32..b4cf257 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -5,7 +5,7 @@ Name: python-%{pypi_name} Version: 2.6 -Release: 3%{?dist} +Release: 4%{?dist} Summary: TCP port monitoring utilities License: MIT @@ -89,6 +89,9 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build %endif %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 2.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Tue May 26 2020 Miro Hrončok - 2.6-3 - Rebuilt for Python 3.9 From 5ac0c04b32f18bc0c6204712995555091b0539d1 Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Wed, 9 Dec 2020 11:48:23 -0500 Subject: [PATCH 18/30] update to 2.7.0 --- python-portend.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-portend.spec b/python-portend.spec index b4cf257..5b2d572 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -4,8 +4,8 @@ %{?python_enable_dependency_generator} Name: python-%{pypi_name} -Version: 2.6 -Release: 4%{?dist} +Version: 2.7.0 +Release: 1%{?dist} Summary: TCP port monitoring utilities License: MIT @@ -89,6 +89,9 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build %endif %changelog +* Wed Dec 09 2020 Dan Radez - 2.7.0-1 +- update to 2.7 + * Wed Jul 29 2020 Fedora Release Engineering - 2.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 0dae21667f73707dea19b5265a208ae033a0373c Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Wed, 9 Dec 2020 11:50:58 -0500 Subject: [PATCH 19/30] adding 2.7 source --- .gitignore | 1 + sources | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 396197c..73b6566 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /portend-2.3.tar.gz /portend-2.5.tar.gz /portend-2.6.tar.gz +/portend-2.7.0.tar.gz diff --git a/sources b/sources index 70a19af..fc37076 100644 --- a/sources +++ b/sources @@ -1,2 +1,3 @@ SHA512 (portend-2.5.tar.gz) = c842a3c60c7cd44aa058ed598f5af09024537bf6820921c6f4fc062a24983f562a5b9c60a83052046a0811aaae005543c22067f8704b3018f011f275bd4abae4 SHA512 (portend-2.6.tar.gz) = 9e53c668ba9d0ddb2e92d9b4c97d2b8a4d858a6fc44123414ee3c8ac433f51f50a4773ee08f85bb134e49aeace2a17baffd32962d36df0b19b505a2c6634bf7e +SHA512 (portend-2.7.0.tar.gz) = 8c81e524e94c4902806a6d33a2811d405e6024796fdbfb5ee1037a177b0aaed4c1b87b76822eee5ca55e552ffa569f4e619d0c1645f0d10c17f8d721ec73787b From 60ed96032ebcbec47c17028b4607908b24745aa0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 12:22:04 +0000 Subject: [PATCH 20/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-portend.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-portend.spec b/python-portend.spec index 5b2d572..a8e5fe4 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -5,7 +5,7 @@ Name: python-%{pypi_name} Version: 2.7.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: TCP port monitoring utilities License: MIT @@ -89,6 +89,9 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build %endif %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 2.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Wed Dec 09 2020 Dan Radez - 2.7.0-1 - update to 2.7 From 625c83ebce2731df498430b87443c6ba49a17e20 Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Mon, 15 Feb 2021 08:57:02 -0500 Subject: [PATCH 21/30] update to 2.7.1 --- .gitignore | 1 + python-portend.spec | 7 +++++-- sources | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 73b6566..f6408a3 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /portend-2.5.tar.gz /portend-2.6.tar.gz /portend-2.7.0.tar.gz +/portend-2.7.1.tar.gz diff --git a/python-portend.spec b/python-portend.spec index a8e5fe4..b7f0d2e 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -4,8 +4,8 @@ %{?python_enable_dependency_generator} Name: python-%{pypi_name} -Version: 2.7.0 -Release: 2%{?dist} +Version: 2.7.1 +Release: 1%{?dist} Summary: TCP port monitoring utilities License: MIT @@ -89,6 +89,9 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build %endif %changelog +* Mon Feb 15 2021 Dan radez - 2.7.1-1 +- update to 2.7.1 + * Wed Jan 27 2021 Fedora Release Engineering - 2.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index fc37076..7965266 100644 --- a/sources +++ b/sources @@ -1,3 +1,4 @@ SHA512 (portend-2.5.tar.gz) = c842a3c60c7cd44aa058ed598f5af09024537bf6820921c6f4fc062a24983f562a5b9c60a83052046a0811aaae005543c22067f8704b3018f011f275bd4abae4 SHA512 (portend-2.6.tar.gz) = 9e53c668ba9d0ddb2e92d9b4c97d2b8a4d858a6fc44123414ee3c8ac433f51f50a4773ee08f85bb134e49aeace2a17baffd32962d36df0b19b505a2c6634bf7e SHA512 (portend-2.7.0.tar.gz) = 8c81e524e94c4902806a6d33a2811d405e6024796fdbfb5ee1037a177b0aaed4c1b87b76822eee5ca55e552ffa569f4e619d0c1645f0d10c17f8d721ec73787b +SHA512 (portend-2.7.1.tar.gz) = 079bfc286491753e980b5000ee716031225439523a8d9a79c2571359adee74ee024dd680c41adb966487dc39eea3d0dbeb928c5c72fa21ab897283310ef21906 From 539e01bfbc4901beb7ed38b89376ecba8523dfa3 Mon Sep 17 00:00:00 2001 From: Tomas Hrnciar Date: Wed, 19 May 2021 10:40:47 +0200 Subject: [PATCH 22/30] sed out linter dependency on pytest-flake8 --- python-portend.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-portend.spec b/python-portend.spec index b7f0d2e..a0c11bb 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -24,7 +24,6 @@ BuildRequires: python3-devel BuildRequires: python3dist(jaraco.functools) BuildRequires: python3dist(pytest) >= 3.4 BuildRequires: python3dist(pytest-cov) -%{?fedora:BuildRequires: python3dist(pytest-flake8)} #BuildRequires: python3dist(pytest-sugar) >= 0.9.1 BuildRequires: python3dist(setuptools) BuildRequires: python3dist(setuptools-scm) >= 1.15 @@ -54,6 +53,11 @@ rm -rf %{pypi_name}.egg-info # black is apparently not a valid option? sed -i 's/ --black//' pytest.ini +# Don't run the linter as part of tests +sed -i '/^addopts=--flake8$/d' pyproject.toml +sed -i '/pytest-flake8/d' setup.cfg +rm .flake8 + %build %py3_build From 3385264cf6aa130a2b511b9cfd1842bda5fe8ce1 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 4 Jun 2021 15:28:56 +0200 Subject: [PATCH 23/30] Rebuilt for Python 3.10 --- python-portend.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-portend.spec b/python-portend.spec index a0c11bb..391f12c 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -5,7 +5,7 @@ Name: python-%{pypi_name} Version: 2.7.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: TCP port monitoring utilities License: MIT @@ -93,6 +93,9 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build %endif %changelog +* Fri Jun 04 2021 Python Maint - 2.7.1-2 +- Rebuilt for Python 3.10 + * Mon Feb 15 2021 Dan radez - 2.7.1-1 - update to 2.7.1 From 1d86758e16e482a48856360e30f58f6c73770cf2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 08:18:52 +0000 Subject: [PATCH 24/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-portend.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-portend.spec b/python-portend.spec index 391f12c..6f1c354 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -5,7 +5,7 @@ Name: python-%{pypi_name} Version: 2.7.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: TCP port monitoring utilities License: MIT @@ -93,6 +93,9 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build %endif %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 2.7.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Fri Jun 04 2021 Python Maint - 2.7.1-2 - Rebuilt for Python 3.10 From a7e366f50efa54261e58a793b751d495648dfd4a Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Fri, 24 Sep 2021 15:18:14 -0400 Subject: [PATCH 25/30] remove pytest-cov build dependency Simplify the build process by removing the code coverage library. This makes it easier to package portend for EPEL 9. pytest-cov requires python-pytest-xdist -> python-gevent -> libuv-devel and libev-devel, and those two -devel packages are not available in the RHEL 9 composes. --- python-portend.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-portend.spec b/python-portend.spec index 6f1c354..9a38b9f 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -23,7 +23,6 @@ Summary: portend documentation BuildRequires: python3-devel BuildRequires: python3dist(jaraco.functools) BuildRequires: python3dist(pytest) >= 3.4 -BuildRequires: python3dist(pytest-cov) #BuildRequires: python3dist(pytest-sugar) >= 0.9.1 BuildRequires: python3dist(setuptools) BuildRequires: python3dist(setuptools-scm) >= 1.15 @@ -58,6 +57,10 @@ sed -i '/^addopts=--flake8$/d' pyproject.toml sed -i '/pytest-flake8/d' setup.cfg rm .flake8 +# skip test coverage metrics +sed -i '/^addopts = "--cov"$/d' pyproject.toml +sed -i '/pytest-cov/d' setup.cfg + %build %py3_build From 946f1eaf3496a8d40c59746495bf0bb2f5e5880a Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Wed, 13 Oct 2021 16:44:43 -0400 Subject: [PATCH 26/30] rm unused sources These sources are unused. Remove them to make builds go faster. --- sources | 3 --- 1 file changed, 3 deletions(-) diff --git a/sources b/sources index 7965266..3f80bbd 100644 --- a/sources +++ b/sources @@ -1,4 +1 @@ -SHA512 (portend-2.5.tar.gz) = c842a3c60c7cd44aa058ed598f5af09024537bf6820921c6f4fc062a24983f562a5b9c60a83052046a0811aaae005543c22067f8704b3018f011f275bd4abae4 -SHA512 (portend-2.6.tar.gz) = 9e53c668ba9d0ddb2e92d9b4c97d2b8a4d858a6fc44123414ee3c8ac433f51f50a4773ee08f85bb134e49aeace2a17baffd32962d36df0b19b505a2c6634bf7e -SHA512 (portend-2.7.0.tar.gz) = 8c81e524e94c4902806a6d33a2811d405e6024796fdbfb5ee1037a177b0aaed4c1b87b76822eee5ca55e552ffa569f4e619d0c1645f0d10c17f8d721ec73787b SHA512 (portend-2.7.1.tar.gz) = 079bfc286491753e980b5000ee716031225439523a8d9a79c2571359adee74ee024dd680c41adb966487dc39eea3d0dbeb928c5c72fa21ab897283310ef21906 From 480075dbc2300cdd8db2ec82600a083a00ab68c4 Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Mon, 6 Dec 2021 10:21:54 -0500 Subject: [PATCH 27/30] update to 3.1.0 --- .gitignore | 1 + python-portend.spec | 7 +++++-- sources | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index f6408a3..e2f4777 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /portend-2.6.tar.gz /portend-2.7.0.tar.gz /portend-2.7.1.tar.gz +/portend-3.1.0.tar.gz diff --git a/python-portend.spec b/python-portend.spec index 9a38b9f..5acd60f 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -4,8 +4,8 @@ %{?python_enable_dependency_generator} Name: python-%{pypi_name} -Version: 2.7.1 -Release: 3%{?dist} +Version: 3.1.0 +Release: 1%{?dist} Summary: TCP port monitoring utilities License: MIT @@ -96,6 +96,9 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build %endif %changelog +* Mon Dec 06 2021 Dan radez - 3.1.0-1 +- update to 3.1.0 + * Fri Jul 23 2021 Fedora Release Engineering - 2.7.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 3f80bbd..162e427 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ SHA512 (portend-2.7.1.tar.gz) = 079bfc286491753e980b5000ee716031225439523a8d9a79c2571359adee74ee024dd680c41adb966487dc39eea3d0dbeb928c5c72fa21ab897283310ef21906 +SHA512 (portend-3.1.0.tar.gz) = 017dff68ea85f48d19398f71fbd8189329ca9c27c05d8599dd5e53632eb5ddc6dea322e94c924a0653f25f042a3c8ee1cda5f8450b02f3406a72036d54cd1aaf From 21834b7bcb3316ad0258b57757d83be7f2eba292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 20 Dec 2021 19:46:33 +0100 Subject: [PATCH 28/30] Use PEP 503 names for BuildRequires Since Fedora 33, we generate both python3dist(foo.bar) and python3dist(foo-bar) provides, but we'd like to follow PEP 503 and use only the names with dash. By using the dashes, this is not compatible with the provides generated in EPEL 8, compatibility can be achieved with the %py3_dist macro. --- python-portend.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python-portend.spec b/python-portend.spec index 5acd60f..e556576 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -21,7 +21,7 @@ momentous or calamitous) is likely to happen. Summary: portend documentation BuildRequires: python3-devel -BuildRequires: python3dist(jaraco.functools) +BuildRequires: python3dist(jaraco-functools) BuildRequires: python3dist(pytest) >= 3.4 #BuildRequires: python3dist(pytest-sugar) >= 0.9.1 BuildRequires: python3dist(setuptools) @@ -36,8 +36,8 @@ momentous or calamitous) is likely to happen. %package -n python-%{pypi_name}-doc Summary: portend documentation -BuildRequires: python3dist(jaraco.packaging) >= 3.2 -BuildRequires: python3dist(rst.linker) >= 1.9 +BuildRequires: python3dist(jaraco-packaging) >= 3.2 +BuildRequires: python3dist(rst-linker) >= 1.9 BuildRequires: python3dist(sphinx) BuildRequires: python3-more-itertools From 1a1ee08d1bd2f346c79746914e552b9eb217b6f7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 14:15:50 +0000 Subject: [PATCH 29/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-portend.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-portend.spec b/python-portend.spec index e556576..051ffff 100644 --- a/python-portend.spec +++ b/python-portend.spec @@ -5,7 +5,7 @@ Name: python-%{pypi_name} Version: 3.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: TCP port monitoring utilities License: MIT @@ -96,6 +96,9 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build %endif %changelog +* Fri Jan 21 2022 Fedora Release Engineering - 3.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Mon Dec 06 2021 Dan radez - 3.1.0-1 - update to 3.1.0 From 82d89044192d85e2b2b97862742c2289bee716aa Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 23:59:50 +0300 Subject: [PATCH 30/30] Remove unnecessary files --- README.md | 3 --- sources | 2 -- 2 files changed, 5 deletions(-) delete mode 100644 README.md delete mode 100644 sources diff --git a/README.md b/README.md deleted file mode 100644 index c772483..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# python-portend - -The python-portend package \ No newline at end of file diff --git a/sources b/sources deleted file mode 100644 index 162e427..0000000 --- a/sources +++ /dev/null @@ -1,2 +0,0 @@ -SHA512 (portend-2.7.1.tar.gz) = 079bfc286491753e980b5000ee716031225439523a8d9a79c2571359adee74ee024dd680c41adb966487dc39eea3d0dbeb928c5c72fa21ab897283310ef21906 -SHA512 (portend-3.1.0.tar.gz) = 017dff68ea85f48d19398f71fbd8189329ca9c27c05d8599dd5e53632eb5ddc6dea322e94c924a0653f25f042a3c8ee1cda5f8450b02f3406a72036d54cd1aaf