5 Star 0 Fork 9

src-openEuler/python-stem

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-stem.spec 2.14 KB
一键复制 编辑 原始数据 按行查看 历史
金帅羽 提交于 2024-10-31 15:33 . Update package to version 1.8.2
%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.
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-stem.git
git@gitee.com:src-openeuler/python-stem.git
src-openeuler
python-stem
python-stem
master

搜索帮助