Files
openRuyi/SPECS/python-httpcore/python-httpcore.spec
2026-03-23 19:46:22 +08:00

40 lines
1.0 KiB
RPMSpec

# SPDX-FileCopyrightText: (C) 2025 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2025 openRuyi Project Contributors
# SPDX-FileContributor: misaka00251 <liuxin@iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0
%global srcname httpcore
Name: python-%{srcname}
Version: 1.0.9
Release: %autorelease
Summary: Minimal low-level Python HTTP client
License: BSD-3-Clause
URL: https://github.com/encode/httpcore
#!RemoteAsset
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
BuildSystem: pyproject
BuildOption(install): -l %{srcname}
BuildRequires: pyproject-rpm-macros
BuildRequires: pkgconfig(python3)
Provides: python3-%{srcname}
%python_provide python3-%{srcname}
%description
The HTTP Core package provides a minimal low-level HTTP client, which does
one thing only: Sending HTTP requests.
%generate_buildrequires
%pyproject_buildrequires
%files -f %{pyproject_files}
%doc README.md
%changelog
%{?autochangelog}