mirror of
https://github.com/openRuyi-Project/openRuyi.git
synced 2026-05-13 18:33:44 +00:00
43 lines
1.3 KiB
RPMSpec
43 lines
1.3 KiB
RPMSpec
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
|
|
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
|
|
# SPDX-FileContributor: Kimmy <yucheng.or@isrc.iscas.ac.cn>
|
|
#
|
|
# SPDX-License-Identifier: MulanPSL-2.0
|
|
|
|
%global srcname uvloop
|
|
|
|
Name: python-%{srcname}
|
|
Version: 0.22.1
|
|
Release: %autorelease
|
|
Summary: Fast implementation of asyncio event loop on top of libuv
|
|
License: Apache-2.0 OR MIT
|
|
URL: https://github.com/MagicStack/uvloop
|
|
#!RemoteAsset: sha256:6c84bae345b9147082b17371e3dd5d42775bddce91f885499017f4607fdaf39f
|
|
Source: https://files.pythonhosted.org/packages/source/u/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
BuildSystem: pyproject
|
|
|
|
BuildOption(install): -l %{srcname}
|
|
|
|
BuildRequires: pyproject-rpm-macros
|
|
BuildRequires: pkgconfig(python3)
|
|
BuildRequires: pkgconfig(libuv)
|
|
BuildRequires: python3dist(cython)
|
|
BuildRequires: python3dist(setuptools)
|
|
|
|
Provides: python3-%{srcname} = %{version}-%{release}
|
|
%python_provide python3-%{srcname}
|
|
|
|
%description
|
|
uvloop is a fast, drop-in replacement of the built-in asyncio event loop.
|
|
uvloop is implemented in Cython and uses libuv under the hood.
|
|
|
|
%generate_buildrequires
|
|
%pyproject_buildrequires
|
|
|
|
%files -f %{pyproject_files}
|
|
%license LICENSE-APACHE LICENSE-MIT
|
|
%doc README.rst
|
|
|
|
%changelog
|
|
%autochangelog
|