|
|
|
@ -4,8 +4,8 @@
|
|
|
|
|
%{?python_enable_dependency_generator}
|
|
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
|
Version: 3.1.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 2.6
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: TCP port monitoring utilities
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
@ -21,12 +21,15 @@ 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-cov)
|
|
|
|
|
%{?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
|
|
|
|
@ -36,8 +39,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
|
|
|
|
|
|
|
|
|
@ -52,15 +55,6 @@ 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
|
|
|
|
|
|
|
|
|
|
# skip test coverage metrics
|
|
|
|
|
sed -i '/^addopts = "--cov"$/d' pyproject.toml
|
|
|
|
|
sed -i '/pytest-cov/d' setup.cfg
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
@ -87,7 +81,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%{python3_version}.egg-info
|
|
|
|
|
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_docs}
|
|
|
|
|
%files -n python-%{pypi_name}-doc
|
|
|
|
@ -96,35 +90,8 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Dec 06 2021 Dan radez <dradez@redhat.com> - 3.1.0-1
|
|
|
|
|
- update to 3.1.0
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.7.1-2
|
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
|
|
|
|
|
* Mon Feb 15 2021 Dan radez <dradez@redhat.com> - 2.7.1-1
|
|
|
|
|
- update to 2.7.1
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Dec 09 2020 Dan Radez <dradez@redhat.com> - 2.7.0-1
|
|
|
|
|
- update to 2.7
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.6-3
|
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
* Thu Jan 25 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 2.6-1
|
|
|
|
|
- Rebuilt for MSVSphere 8.9
|
|
|
|
|
|
|
|
|
|
* Tue Nov 05 2019 Dan Radez <dradez@redhat.com> - 2.6-1
|
|
|
|
|
- update to 2.6
|