Upgrade to 0.24.1
This commit is contained in:
parent
dcf03d3883
commit
a1389387a2
BIN
0.18.2.tar.gz
BIN
0.18.2.tar.gz
Binary file not shown.
BIN
httpx-0.24.1.tar.gz
Normal file
BIN
httpx-0.24.1.tar.gz
Normal file
Binary file not shown.
@ -1,46 +1,58 @@
|
|||||||
%global src_name httpx
|
%global src_name httpx
|
||||||
|
|
||||||
Name: python-%{src_name}
|
Name: python-%{src_name}
|
||||||
Version: 0.18.2
|
Version: 0.24.1
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Python HTTP client
|
Summary: Python HTTP client
|
||||||
|
|
||||||
License: BSD
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/encode/httpx
|
URL: https://github.com/encode/httpx
|
||||||
Source0: https://github.com/encode/httpx/archive/refs/tags/0.18.2.tar.gz
|
Source0: https://files.pythonhosted.org/packages/f8/2a/114d454cb77657dbf6a293e69390b96318930ace9cd96b51b99682493276/httpx-0.24.1.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
HTTPX is a fully featured HTTP client for Python, which provides sync and
|
HTTPX is a fully featured HTTP client library for Python 3. It includes an integrated command line client,
|
||||||
async APIs, and support for both HTTP/1.1 and HTTP/2.
|
has support for both HTTP/1.1 and HTTP/2, and provides both sync and async APIs.
|
||||||
|
|
||||||
%package -n python3-%{src_name}
|
%package -n python3-%{src_name}
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
BuildRequires: python3-hatchling
|
||||||
|
BuildRequires: python3-hatch-fancy-pypi-readme
|
||||||
|
BuildRequires: python3-flit-core
|
||||||
|
BuildRequires: python3-certifi
|
||||||
|
BuildRequires: python3-httpcore
|
||||||
|
BuildRequires: python3-idna
|
||||||
|
BuildRequires: python3-sniffio
|
||||||
%{?python_provide:%python_provide python3-%{src_name}}
|
%{?python_provide:%python_provide python3-%{src_name}}
|
||||||
|
|
||||||
%description -n python3-%{src_name}
|
%description -n python3-%{src_name}
|
||||||
HTTPX is a fully featured HTTP client for Python, which provides sync and
|
HTTPX is a fully featured HTTP client library for Python 3. It includes an integrated command line client,
|
||||||
async APIs, and support for both HTTP/1.1 and HTTP/2.
|
has support for both HTTP/1.1 and HTTP/2, and provides both sync and async APIs.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{src_name}-%{version}
|
%autosetup -n %{src_name}-%{version}
|
||||||
rm -rf %{src_name}.egg-info
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%pyproject_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install
|
||||||
|
|
||||||
%files -n python3-%{src_name}
|
%files -n python3-%{src_name}
|
||||||
%license LICENSE.md
|
%license LICENSE.md
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
%{_bindir}/%{src_name}
|
||||||
%{python3_sitelib}/%{src_name}/
|
%{python3_sitelib}/%{src_name}/
|
||||||
%{python3_sitelib}/%{src_name}-%{version}-py%{python3_version}.egg-info/
|
%{python3_sitelib}/%{src_name}*.dist-info/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 09 2023 ysliu <ysliuci@isoftstone.com> - 0.24.1-1
|
||||||
|
- Upgrade to 0.24.1-1
|
||||||
|
|
||||||
* Mon Jul 19 2021 yinyongkang <yinyongkang@kylinos.cn> - 0.18.2-1
|
* Mon Jul 19 2021 yinyongkang <yinyongkang@kylinos.cn> - 0.18.2-1
|
||||||
- Init Package
|
- Init Package
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user