代码拉取完成,页面将自动刷新
%global srcname yamlordereddictloader
%global sum YAML loader for PyYAML that maintains key order
Name: python-%{srcname}
Version: 0.4.2
Release: 1
Summary: %{sum}
License: MIT
URL: https://github.com/fmenabe/python-yamlordereddictloader
Source0: https://files.pythonhosted.org/packages/source/y/%{srcname}/%{srcname}-%{version}.tar.gz
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-PyYAML
BuildArch: noarch
%description
This is a loader for PyYAML that maintains the order of the keys
and values in a dictionary as they appear in the input file. This
can be useful for certain applications where named values should
also be maintained in a particular order
%package -n python%{python3_pkgversion}-%{srcname}
Summary: %{sum}
Requires: python3-PyYAML
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
%description -n python%{python3_pkgversion}-%{srcname}
This is a loader for PyYAML that maintains the order of the keys
and values in a dictionary as they appear in the input file. This
can be useful for certain applications where named values should
also be maintained in a particular order
%prep
%setup -q -n %{srcname}-%{version}
%build
%py3_build
%install
%py3_install
%files -n python%{python3_pkgversion}-%{srcname}
%doc README.rst
%license LICENSE.txt
%{python3_sitelib}/%{srcname}.py*
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
%{python3_sitelib}/__pycache__/%{srcname}.cpython*py*
%changelog
* Tue Dec 26 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 0.4.2-1
- Update package to version 0.4.2
* Thu Jun 24 2021 anyunhao <anyunhao@kylinos.cn> - 1.3.1-1
- package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。