mirror of
https://github.com/openRuyi-Project/openRuyi.git
synced 2026-05-14 02:43:47 +00:00
46 lines
1.3 KiB
RPMSpec
46 lines
1.3 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 py
|
|
|
|
Name: python-%{srcname}
|
|
Version: 1.11.0
|
|
Release: %autorelease
|
|
Summary: Library with cross-python path, ini-parsing, io, code, log facilities
|
|
License: MIT
|
|
URL: https://github.com/pytest-dev/py
|
|
#!RemoteAsset
|
|
Source0: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{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 py lib is a Python development support library featuring the
|
|
following tools and modules:
|
|
|
|
* py.path: uniform local and svn path objects
|
|
* py.apipkg: explicit API control and lazy-importing
|
|
* py.iniconfig: easy parsing of .ini files
|
|
* py.code: dynamic code generation and introspection
|
|
* py.path: uniform local and svn path objects
|
|
|
|
%generate_buildrequires
|
|
%pyproject_buildrequires
|
|
|
|
%files -f %{pyproject_files}
|
|
%doc CHANGELOG.rst README.rst
|
|
|
|
%changelog
|
|
%{?autochangelog}
|