|
|
@ -1,10 +1,9 @@
|
|
|
|
# Created by pyp2rpm-3.3.2
|
|
|
|
# Created by pyp2rpm-3.3.2
|
|
|
|
%global pypi_name portend
|
|
|
|
%global pypi_name portend
|
|
|
|
# Some docs deps are not in fedora yet
|
|
|
|
%global with_docs 1
|
|
|
|
%global with_docs 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
Version: 2.3
|
|
|
|
Version: 2.5
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: TCP port monitoring utilities
|
|
|
|
Summary: TCP port monitoring utilities
|
|
|
|
|
|
|
|
|
|
|
@ -34,14 +33,14 @@ BuildRequires: python3dist(tempora) >= 1.8
|
|
|
|
momentous or calamitous) is likely to happen.
|
|
|
|
momentous or calamitous) is likely to happen.
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_docs}
|
|
|
|
%if 0%{?with_docs}
|
|
|
|
%package -n python3-%{pypi_name}-doc
|
|
|
|
%package -n python-%{pypi_name}-doc
|
|
|
|
Summary: portend documentation
|
|
|
|
Summary: portend documentation
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3dist(jaraco-packaging) >= 3.2
|
|
|
|
BuildRequires: python3dist(jaraco-packaging) >= 3.2
|
|
|
|
BuildRequires: python3dist(rst-linker) >= 1.9
|
|
|
|
BuildRequires: python3dist(rst-linker) >= 1.9
|
|
|
|
BuildRequires: python3dist(sphinx)
|
|
|
|
BuildRequires: python3dist(sphinx)
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{pypi_name}-doc
|
|
|
|
%description -n python-%{pypi_name}-doc
|
|
|
|
Documentation for portend
|
|
|
|
Documentation for portend
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
@ -53,6 +52,8 @@ rm -rf %{pypi_name}.egg-info
|
|
|
|
# https://src.fedoraproject.org/rpms/python-pytest-flake8/pull-request/2
|
|
|
|
# https://src.fedoraproject.org/rpms/python-pytest-flake8/pull-request/2
|
|
|
|
# AttributeError: 'Application' object has no attribute 'make_notifier'
|
|
|
|
# AttributeError: 'Application' object has no attribute 'make_notifier'
|
|
|
|
sed -i 's/ --flake8//' pytest.ini
|
|
|
|
sed -i 's/ --flake8//' pytest.ini
|
|
|
|
|
|
|
|
# black is apparently not a valid option?
|
|
|
|
|
|
|
|
sed -i 's/ --black//' pytest.ini
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%py3_build
|
|
|
|
%py3_build
|
|
|
@ -84,5 +85,8 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Jun 11 2019 Dan Radez <dradez@redhat.com> - 2.5-1
|
|
|
|
|
|
|
|
- Update to 2.5
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Apr 02 2019 Dan Radez <dradez@redhat.com> - 2.3-1
|
|
|
|
* Tue Apr 02 2019 Dan Radez <dradez@redhat.com> - 2.3-1
|
|
|
|
- Initial package.
|
|
|
|
- Initial package.
|
|
|
|