From b379ee3b909e0f5da9d5f6068501e9a692f2de49 Mon Sep 17 00:00:00 2001 From: Joel Capitao Date: Jan 21 2025 15:56:36 +0000 Subject: Import python-portend-3.2.0-7.el10s in CloudSIG Epoxy --- diff --git a/.python-portend.metadata b/.python-portend.metadata new file mode 100644 index 0000000..5b929f0 --- /dev/null +++ b/.python-portend.metadata @@ -0,0 +1 @@ +a6d8f4ef4ee08ca85dde5e21a23912330c63c5b1 SOURCES/portend-3.2.0.tar.gz diff --git a/SOURCES/.gitkeep b/SOURCES/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitkeep diff --git a/SPECS/python-portend.spec b/SPECS/python-portend.spec new file mode 100644 index 0000000..2e6dcaa --- /dev/null +++ b/SPECS/python-portend.spec @@ -0,0 +1,176 @@ +# Created by pyp2rpm-3.3.2 +%global pypi_name portend +# theres a dependency resolution issue with +# sphinx to build docs. Turning it off for now +%global with_docs 0 +%{?python_enable_dependency_generator} + +Name: python-%{pypi_name} +Version: 3.2.0 +Release: 7%{?dist} +Summary: TCP port monitoring utilities + +License: MIT +URL: https://github.com/jaraco/portend +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pytest +%generate_buildrequires +%pyproject_buildrequires + +%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 + +%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 python-%{pypi_name}-doc +Summary: portend documentation + +BuildRequires: python3dist(jaraco-packaging) >= 3.2 +BuildRequires: python3dist(pip) +BuildRequires: python3dist(rst-linker) >= 1.9 +BuildRequires: python3dist(sphinx) +BuildRequires: python3dist(tox) +BuildRequires: python3-more-itertools + +%description -n python-%{pypi_name}-doc +Documentation for portend +%endif + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%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 +%pyproject_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} +%license LICENSE +%doc README.rst +%{python3_sitelib}/__pycache__/* +%{python3_sitelib}/%{pypi_name}.py +%{python3_sitelib}/%{pypi_name}-%{version}.dist-info + +%if 0%{?with_docs} +%files -n python-%{pypi_name}-doc +%doc html +%license LICENSE +%endif + +%changelog +* Sat Jan 18 2025 Fedora Release Engineering - 3.2.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Fri Jul 19 2024 Fedora Release Engineering - 3.2.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 3.2.0-5 +- Rebuilt for Python 3.13 + +* Fri Jan 26 2024 Fedora Release Engineering - 3.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 3.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 3.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Mon Jul 10 2023 Dan Radez - 3.2.0-1 +- update to 3.2.0 rhbz#2218397 + +* Thu Jun 15 2023 Python Maint - 3.1.0-9 +- Rebuilt for Python 3.12 + +* Fri Jan 20 2023 Fedora Release Engineering - 3.1.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 3.1.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Jun 14 2022 Python Maint - 3.1.0-6 +- Rebuilt for Python 3.11 + +* Mon Apr 04 2022 Dan Radez - 3.1.0-5 +- Turning off docs build. There's an issue with sphinx deps resolution +- switching to pyproject macros +- Fixes: rhbz#2069669 + +* Wed Feb 09 2022 Dan Radez - 3.1.0-3 +- Don't remove egginfo + +* 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 + +* 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 + +* 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 + +* 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 + +* 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 + +* 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) + +* 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 + +* Tue Jun 11 2019 Dan Radez - 2.5-1 +- Update to 2.5 + +* Tue Apr 02 2019 Dan Radez - 2.3-1 +- Initial package.