代码拉取完成,页面将自动刷新
%{?python_enable_dependency_generator}
%global srcname frozendict
Summary: An immutable dictionary
Name: python-%{srcname}
Version: 2.3.10
Release: 1%{?dist}
License: MIT
URL: https://pypi.python.org/pypi/frozendict
Source0: %{pypi_source}
BuildArch: noarch
%description
frozendict is an immutable wrapper around dictionaries that implements the
complete mapping interface. It can be used as a drop-in replacement for
dictionaries where immutability is desired.
%package -n python3-%{srcname}
Summary: An immutable dictionary
BuildRequires: python3-devel python3-setuptools python3-wheel
%description -n python3-%{srcname}
frozendict is an immutable wrapper around dictionaries that implements the
complete mapping interface. It can be used as a drop-in replacement for
dictionaries where immutability is desired.
%prep
%autosetup -n %{srcname}-%{version} -p1
%build
export FROZENDICT_PURE_PY=1
%py3_build_wheel
%install
export FROZENDICT_PURE_PY=1
%py3_install
%files -n python3-%{srcname}
%license LICENSE.txt
%doc README.md
%{python3_sitelib}/%{srcname}-*.egg-info/
%{python3_sitelib}/%{srcname}/
%changelog
* Mon Dec 11 2023 Shuo Wang <abushwang@tencent.com> - 2.3.10-1
- initial build
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。