Group :: Development/Python3
RPM: python3-module-ipyroute
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname ipyroute
%def_disable check
Name: python3-module-%oname
Version: 0.0.36
Release: alt3
Summary: Yet another interface for iproute2
License: MIT
Group: Development/Python3
Url: https://pypi.python.org/pypi/ipyroute/
# https://github.com/jta/ipyroute.git
BuildArch: noarch
Source0: https://pypi.python.org/packages/3c/cf/98fd398c0a1393700514fd1f90e825444ae5c2787d4f92e4b1814bf44b12/%{oname}-%{version}.tar.gz
BuildRequires(pre): rpm-build-python3
%py3_provides %oname
Requires: iproute2
%py3_requires sh netaddr six
BuildRequires: python3-module-netaddr
BuildRequires: python3-module-pytest python3-module-sh
%description
Yet another interface for iproute2.
%prep
%setup -q -n %{oname}-%{version}
sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
$(find ./ -name '*.py')
%build
%python3_build_debug
%install
%python3_install
%check
python3 setup.py test
nosetests3 -v
%files
%doc PKG-INFO
%python3_sitelibdir/*
%changelog
…
Full changelog you can see here
%define oname ipyroute
%def_disable check
Name: python3-module-%oname
Version: 0.0.36
Release: alt3
Summary: Yet another interface for iproute2
License: MIT
Group: Development/Python3
Url: https://pypi.python.org/pypi/ipyroute/
# https://github.com/jta/ipyroute.git
BuildArch: noarch
Source0: https://pypi.python.org/packages/3c/cf/98fd398c0a1393700514fd1f90e825444ae5c2787d4f92e4b1814bf44b12/%{oname}-%{version}.tar.gz
BuildRequires(pre): rpm-build-python3
%py3_provides %oname
Requires: iproute2
%py3_requires sh netaddr six
BuildRequires: python3-module-netaddr
BuildRequires: python3-module-pytest python3-module-sh
%description
Yet another interface for iproute2.
%prep
%setup -q -n %{oname}-%{version}
sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
$(find ./ -name '*.py')
%build
%python3_build_debug
%install
%python3_install
%check
python3 setup.py test
nosetests3 -v
%files
%doc PKG-INFO
%python3_sitelibdir/*
%changelog
…
Full changelog you can see here