代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-netaddr 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: python-netaddr
Version: 0.8.0
Release: 1
Summary: A pure Python network address representation and manipulation library
License: BSD
URL: http://github.com/drkjam/netaddr
Source0: https://pypi.python.org/packages/source/n/netaddr/netaddr-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel python3-setuptools python3-sphinx python3-pytest
%description
A network address manipulation library for Python
Provides support for:
Layer 3 addresses
* dealing with various ranges formats (CIDR, arbitrary ranges and globs, nmap)
* parsing a large variety of different formats and notations
Layer 2 addresses
* generating derived IPv6 addresses
%package -n python3-netaddr
Summary: A pure Python network address representation and manipulation library
%{?python_provide:%python_provide python3-netaddr}
%description -n python3-netaddr
Based on Python3 network address representation and operation library Package
%prep
%autosetup -n netaddr-%{version} -p1
sed -i 's/\r//' netaddr/*.py netaddr/ip/*.py netaddr/eui/*.idx
find netaddr -name "*.py" | xargs sed -i -e '1 {/^#!\//d}'
%build
%py3_build
#docs
cd docs
PYTHONPATH='../' sphinx-build-%{python3_version} -b html -d build/doctrees source html
PYTHONPATH='../' sphinx-build-%{python3_version} -b html -d build/doctrees source python3/html
%install
%py3_install
%check
%{__python3} setup.py test
%files -n python3-netaddr
%license COPYRIGHT
%doc AUTHORS CHANGELOG README.rst docs/python3/html
%{python3_sitelib}/*
%{_bindir}/netaddr
%changelog
* Thu Jul 15 2021 huangtianhua <[email protected]> - 0.8.0-1
- Upgrade to 0.8.0 to support OpenStack-W
* Mon Aug 10 2020 lingsheng<[email protected]> - 0.7.19-15
- Remove python2-netaddr subpackage
* Fri Feb 14 2020 gulining<[email protected]> - 0.7.19-14
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。