|
|
d1a8db0 |
%global pypi_name aiosnmp
|
|
|
1b1d1bf |
%bcond_with local
|
|
|
d1a8db0 |
|
|
|
d1a8db0 |
Name: python-%{pypi_name}
|
|
|
afc11f8 |
Version: 0.5.0
|
|
|
55c186b |
Release: 2%{?dist}
|
|
|
d1a8db0 |
Summary: Asyncio Python SNMP client
|
|
|
d1a8db0 |
|
|
|
d1a8db0 |
License: MIT
|
|
|
d1a8db0 |
URL: https://github.com/hh-h/aiosnmp
|
|
|
afc11f8 |
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
|
|
d1a8db0 |
BuildArch: noarch
|
|
|
d1a8db0 |
|
|
|
d1a8db0 |
%description
|
|
|
d1a8db0 |
aiosnmp is an asynchronous SNMP client for use with asyncio.
|
|
|
d1a8db0 |
|
|
|
d1a8db0 |
%package -n python3-%{pypi_name}
|
|
|
d1a8db0 |
Summary: %{summary}
|
|
|
d1a8db0 |
|
|
|
d1a8db0 |
BuildRequires: python3-devel
|
|
|
d1a8db0 |
BuildRequires: python3-pytest
|
|
|
d1a8db0 |
BuildRequires: python3-pytest-runner
|
|
|
d1a8db0 |
BuildRequires: python3-setuptools
|
|
|
d1a8db0 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
d1a8db0 |
|
|
|
d1a8db0 |
%description -n python3-%{pypi_name}
|
|
|
d1a8db0 |
aiosnmp is an asynchronous SNMP client for use with asyncio.
|
|
|
d1a8db0 |
|
|
|
d1a8db0 |
%prep
|
|
|
d1a8db0 |
%autosetup -n %{pypi_name}-%{version}
|
|
|
d1a8db0 |
rm -rf %{pypi_name}.egg-info
|
|
|
d1a8db0 |
|
|
|
d1a8db0 |
%build
|
|
|
d1a8db0 |
%py3_build
|
|
|
d1a8db0 |
|
|
|
d1a8db0 |
%install
|
|
|
d1a8db0 |
%py3_install
|
|
|
d1a8db0 |
|
|
|
1b1d1bf |
%check
|
|
|
1b1d1bf |
%if %{with local}
|
|
|
1b1d1bf |
%pytest -v tests
|
|
|
1b1d1bf |
%else
|
|
|
1b1d1bf |
%pytest -v tests --ignore tests/test_connection.py --ignore tests/test_exceptions.py --ignore tests/test_snmp.py
|
|
|
1b1d1bf |
%endif
|
|
|
1b1d1bf |
|
|
|
d1a8db0 |
%files -n python3-%{pypi_name}
|
|
|
afc11f8 |
%doc README.rst
|
|
|
d1a8db0 |
%license LICENSE
|
|
|
d1a8db0 |
%{python3_sitelib}/%{pypi_name}/
|
|
|
1b1d1bf |
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
|
|
|
d1a8db0 |
|
|
|
d1a8db0 |
%changelog
|
|
|
55c186b |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
|
|
|
55c186b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
55c186b |
|
|
|
afc11f8 |
* Thu Aug 26 2021 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.0-1
|
|
|
afc11f8 |
- Update to latest upstream release 0.5.0 (closes rhbz#1965606)
|
|
|
afc11f8 |
|
|
|
a5b2359 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-4
|
|
|
a5b2359 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
a5b2359 |
|
|
|
8e0072f |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.2.4-3
|
|
|
8e0072f |
- Rebuilt for Python 3.10
|
|
|
8e0072f |
|
|
|
9f4d420 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-2
|
|
|
9f4d420 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
9f4d420 |
|
|
|
1b1d1bf |
* Mon Sep 14 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-1
|
|
|
1b1d1bf |
- Enable tests
|
|
|
1b1d1bf |
- Update to latest upstream release 0.2.4
|
|
|
1b1d1bf |
|
|
|
f5c2879 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-5
|
|
|
f5c2879 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
f5c2879 |
|
|
|
2338826 |
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 0.2.2-4
|
|
|
2338826 |
- Rebuilt for Python 3.9
|
|
|
2338826 |
|
|
|
67cfcc0 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-3
|
|
|
67cfcc0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
67cfcc0 |
|
|
|
d1a8db0 |
* Tue Jan 21 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.2.2-2
|
|
|
d1a8db0 |
- Add LICENSE file (rhbz#1790082)
|
|
|
d1a8db0 |
|
|
|
d1a8db0 |
* Wed Jan 08 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.2.2-1
|
|
|
d1a8db0 |
- Initial package for Fedora
|