4 Star 0 Fork 1

OpenCloudOS Stream/python-frozendict

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-frozendict.spec 1.24 KB
一键复制 编辑 原始数据 按行查看 历史
abushwang 提交于 2023-12-11 14:44 . init build
%{?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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opencloudos-stream/python-frozendict.git
git@gitee.com:opencloudos-stream/python-frozendict.git
opencloudos-stream
python-frozendict
python-frozendict
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891