6 Star 0 Fork 1

OpenCloudOS Stream/python-h2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-h2.spec 1.74 KB
一键复制 编辑 原始数据 按行查看 历史
fanjunkong 提交于 2024-07-02 23:05 . update
%global srcname h2
%global common_description %{expand:
HTTP/2 Protocol Stack This repository contains a pure-Python
implementation of a HTTP/2 protocol stack. It's written from the ground up to
be embeddable in whatever program you choose to use, ensuring that you can
speak HTTP/2 regardless of your programming paradigm.}
Name: python-%{srcname}
Version: 4.1.0
Release: 2%{?dist}
Summary: HTTP/2 State-Machine based protocol implementation
License: MIT
URL: https://hyper-h2.readthedocs.io
VCS: https://github.com/python-hyper/h2
Source0: %vcs/archive/v%{version}/%{srcname}-%{version}.tar.gz
Patch0: 0001-tox-adjustments.patch
Patch1: 0001-Fix-repr-checks-for-Python-3.11.patch
BuildArch: noarch
BuildRequires: make
BuildRequires: python3-devel
BuildRequires: python3dist(sphinx)
%description %{common_description}
%package -n python3-%{srcname}
Summary: %{summary}
%description -n python3-%{srcname} %{common_description}
%package doc
Summary: Documentation for %{name}
%description doc
%{common_description}
This is the documentation package for %{name}.
%prep
%autosetup -p1 -n %{srcname}-%{version}
%generate_buildrequires
%pyproject_buildrequires -t
%build
%pyproject_wheel
PYTHONPATH=%{pyproject_build_lib} sphinx-build docs/source html
rm -rf html/.{doctrees,buildinfo}
%install
%pyproject_install
%pyproject_save_files %{srcname}
%check
%tox
%files -n python3-%{srcname} -f %{pyproject_files}
%files doc
%doc html
%license LICENSE
%changelog
* Tue Jul 02 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 4.1.0-2
- rebuild
* Fri Jun 28 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 4.1.0-1
- initial build
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opencloudos-stream/python-h2.git
git@gitee.com:opencloudos-stream/python-h2.git
opencloudos-stream
python-h2
python-h2
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891