Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
c774db7607
!5 UpdatePackage
From: @Wangjunqi123 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2022-11-03 11:17:06 +00:00
Wangjunqi123
730297061a update version to 2.0.0 2022-11-03 14:10:44 +08:00
openeuler-ci-bot
a26d78bc0f
!4 解决 python-priority编译失败 error:file not foud .... -py?.?.egg-info
From: @penelope_y 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-05-09 04:02:26 +00:00
penelope
62eef001d8 Fix build error caused by py3.10+ wildcard 2022-05-09 11:35:34 +08:00
openeuler-ci-bot
4a1324f822 !3 添加yaml文件到仓库
Merge pull request !3 from zouzhimin/master
2021-12-14 12:14:11 +00:00
zouzhimin
20ceefebd7 add yaml file 2021-07-23 15:21:14 +08:00
openeuler-ci-bot
07e76f7131 !2 Drop python2 support
From: @xiyuanwang
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
2021-07-23 02:04:56 +00:00
wangxiyuan
8f907ff9ad Drop python2 support 2021-07-22 08:10:48 +00:00
openeuler-ci-bot
cd7a0f7938 !1 package init
Merge pull request !1 from daidai_is_here/dqw_test
2020-03-07 18:23:45 +08:00
daidai_is_here
f73737bffc package init 2020-03-07 18:21:49 +08:00
3 changed files with 78 additions and 0 deletions

BIN
priority-2.0.0.tar.gz Normal file

Binary file not shown.

74
python-priority.spec Normal file
View File

@ -0,0 +1,74 @@
%global _empty_manifest_terminate_build 0
Name: python-priority
Version: 2.0.0
Release: 1
Summary: A pure-Python HTTP/2 Priority implementation
License: MIT
URL: https://github.com/python-hyper/priority/
Source0: https://files.pythonhosted.org/packages/f5/3c/eb7c35f4dcede96fca1842dac5f4f5d15511aa4b52f3a961219e68ae9204/priority-2.0.0.tar.gz
BuildArch: noarch
%description
A HTTP/2 Priority Implementation Priority is a pure-Python implementation of the
priority logic for HTTP/2, set out in RFC 7540 Section 5.3 (Stream Priority)_.
This logic allows for clients to express a preference for how the server allocates
its (limited) resources to the many outstanding HTTP requests that may be running
over a single HTTP/2 connection.
%package -n python3-priority
Summary: A pure-Python HTTP/2 Priority implementation
Provides: python-priority = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description -n python3-priority
A HTTP/2 Priority Implementation Priority is a pure-Python implementation of the
priority logic for HTTP/2, set out in RFC 7540 Section 5.3 (Stream Priority)_.
This logic allows for clients to express a preference for how the server allocates
its (limited) resources to the many outstanding HTTP requests that may be running
over a single HTTP/2 connection.
%package help
Summary: Development documents and examples for priority
Provides: python3-priority-doc
%description help
A HTTP/2 Priority Implementation Priority is a pure-Python implementation of the
priority logic for HTTP/2, set out in RFC 7540 Section 5.3 (Stream Priority)_.
This logic allows for clients to express a preference for how the server allocates
its (limited) resources to the many outstanding HTTP requests that may be running
over a single HTTP/2 connection.
%prep
%autosetup -n priority-%{version} -p1
rm -rf priority.egg-info
%build
%py3_build
%install
%py3_install
%check
%{__python3} setup.py test
%files -n python3-priority
%doc README.rst LICENSE
%{python3_sitelib}/priority
%{python3_sitelib}/*.egg-info
%changelog
* Wed Nov 02 2022 wangjunqi <wangjunqi@kylinos.cn> - 2.0.0-1
- Update package to version 2.0.0
* Mon May 09 2022 yangping <yangping69@h-partners.com> - 1.3.0-6
- Fix build error caused by py3.10+ wildcard
* Thu Jul 22 2021 wangxiyuan <wangxiyuan1007@gmail.com> - 1.3.0-5
- Drop python2 support
* Thu Feb 27 2020 xuping <xuping21@huawei.com> - 1.3.0-4
- Package init

4
python-priority.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: python-hyper/priority
tag_prefix: ^v
separator: .