代码拉取完成,页面将自动刷新
%global pypi_name stem
%global pypi_version 1.8.2
Name: python-%{pypi_name}
Version: %{pypi_version}
Release: 1
Summary: Python controller library for Tor
License: LGPL-3.0
URL: https://stem.torproject.org/
Source0: https://github.com/torproject/stem/archive/refs/tags/%{pypi_version}.tar.gz#/%{pypi_name}-%{pypi_version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3dist(setuptools)
BuildRequires: python3dist(sphinx)
%description
Stem is a Python controller library for Tor. With it you can use Tor's control
protocol to script against the Tor process, or build things such as Nyx.
Documentation and tutorials available at stem.torproject.org.
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
Stem is a Python controller library for Tor. With it you can use Tor's control
protocol to script against the Tor process, or build things such as Nyx.
Documentation and tutorials available at stem.torproject.org.
%package -n python-%{pypi_name}-doc
Summary: %{pypi_name} documentation
%description -n python-%{pypi_name}-doc
Documentation for %{pypi_name}
%prep
%autosetup -n %{pypi_name}-%{pypi_version}
%build
%py3_build
# generate html docs
PYTHONPATH=${PWD} sphinx-build-3 docs html
# remove the sphinx-build leftovers
rm -rf html/.{doctrees,buildinfo}
%install
%py3_install
%check
%{__python3} run_tests.py --unit
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.md
%{_bindir}/tor-prompt
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info
%files -n python-%{pypi_name}-doc
%doc html
%license LICENSE
%changelog
* Thu Oct 31 2024 jinshuaiyu <jinshuaiyu@kylinos.cn> - 1.8.2-1
- Update package to version 1.8.2
- Fix logo and favicon locations
- Add search to navbar and body
- Remove tests for deprecated tor version
- Replace cryptography's X25519PublicKey module
* Wed Sep 29 2021 herengui <herengui@uniontech.com> - 1.8.0-1
- Initial package.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。