Group :: Development/Python3
RPM: python3-module-easysnmp
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define oname easysnmp
%def_without tests
Name: python3-module-%oname
Version: 0.2.5
Release: alt3
Summary: Easy SNMP is a fork of the official Net-SNMP Python Bindings
Url: https://github.com/kamakazikamikaze/easysnmp
Source: %oname-%version.tar.gz
License: BSD
Group: Development/Python3
BuildRequires(pre): rpm-build-python3
BuildRequires: libnet-snmp-devel
%description
A blazingly fast and Pythonic SNMP library based on the official Net-SNMP bindings
%package -n tests
Summary: Tests for %oname
Group: Development/Python3
Requires: python3-module-%oname = %EVR
%description -n tests
This package contains tests for %oname.
%prep
%setup -n %oname-%version
%build
export LANG=en_US.UTF-8
%python3_build
%install
export LANG=en_US.UTF-8
%python3_install
%files
%doc README.rst
%python3_sitelibdir/*
#%exclude %python_sitelibdir/*/tests
%if_with tests
%files -n python3-module-%oname-tests
%python3_sitelibdir/*/tests
%endif
%changelog
…
Full changelog you can see here
%def_without tests
Name: python3-module-%oname
Version: 0.2.5
Release: alt3
Summary: Easy SNMP is a fork of the official Net-SNMP Python Bindings
Url: https://github.com/kamakazikamikaze/easysnmp
Source: %oname-%version.tar.gz
License: BSD
Group: Development/Python3
BuildRequires(pre): rpm-build-python3
BuildRequires: libnet-snmp-devel
%description
A blazingly fast and Pythonic SNMP library based on the official Net-SNMP bindings
%package -n tests
Summary: Tests for %oname
Group: Development/Python3
Requires: python3-module-%oname = %EVR
%description -n tests
This package contains tests for %oname.
%prep
%setup -n %oname-%version
%build
export LANG=en_US.UTF-8
%python3_build
%install
export LANG=en_US.UTF-8
%python3_install
%files
%doc README.rst
%python3_sitelibdir/*
#%exclude %python_sitelibdir/*/tests
%if_with tests
%files -n python3-module-%oname-tests
%python3_sitelibdir/*/tests
%endif
%changelog
…
Full changelog you can see here