代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-ipgetter2 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: python-ipgetter2
Version: 1.1.11
Release: 1
Summary: Python library to fetch your external IP address
License: Apache-2.0
URL: https://github.com/starofrainnight/ipgetter2
Source0: https://github.com/starofrainnight/ipgetter2/archive/1.1.11/ipgetter2-1.1.11.zip
BuildArch: noarch
%description
Utility to fetch your external IP address. This module is designed to fetch
your external IP address from the internet. It is used mostly when behind
a NAT. It picks your IP randomly from a server list to minimize request
overhead on a single server.
%package -n python3-ipgetter2
Summary: Python library to fetch your external IP address
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pytest-runner
%{?python_provide:%python_provide python3-ipgetter2}
%description -n python3-ipgetter2
Python library to fetch your external IP address. This module is designed to
fetch your external IP address from the internet. It is used mostly when behind
a NAT. It picks your IP randomly from a server list to minimize request
overhead on a single server.
%package -n ipgetter2
Summary: Utility to fetch your external IP address
Requires: python3-ipgetter2 = %{?epoch:%{epoch}:}%{version}-%{release}
%description -n ipgetter2
Utility to fetch your external IP address.
%prep
%autosetup -n ipgetter2-%{version}
rm -rf ipgetter2.egg-info
%build
%py3_build
%install
%py3_install
%files -n python3-ipgetter2
%license LICENSE
%doc README.rst CONTRIBUTING.rst HISTORY.rst AUTHORS.rst
%{python3_sitelib}/ipgetter2
%exclude %{python3_sitelib}/tests
%{python3_sitelib}/ipgetter2-%{version}-py*.egg-info
%files -n ipgetter2
%{_bindir}/ipgetter2
%changelog
* Wed Jul 7 2021 liuliang <liuliang1@kylinos.cn> - 1.1.11-1
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。