Projects
Eulaceura:Mainline
python-frozendict
_service:obs_scm:python-frozendict.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-frozendict.spec of Package python-frozendict
%global _empty_manifest_terminate_build 0 Name: python-frozendict Version: 2.4.6 Release: 1 Summary: A simple immutable dictionary License: GPLv3 and LGPLv3 URL: https://github.com/Marco-Sulla/python-frozendict Source0: https://files.pythonhosted.org/packages/bb/59/19eb300ba28e7547538bdf603f1c6c34793240a90e1a7b61b65d8517e35e/frozendict-2.4.6.tar.gz %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-frozendict Summary: A simple immutable dictionary Provides: python-frozendict = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-cffi BuildRequires: gcc %description -n python3-frozendict 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 help Summary: Development documents and examples for frozendict Provides: python3-frozendict-doc %description help 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 frozendict-%{version} %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-frozendict -f filelist.lst %dir %{python3_sitearch}/* %files help -f doclist.lst %{_docdir}/* %changelog * Thu Oct 24 2024 zhangyulong <zhangyulong@kylinos.cn> - 2.4.6-1 - Update package to version 2.4.6 -Create wheels for python 3.11 (and 3.12) Effort: Medium Priority: Low Type: Enhancement -Enum should be considered immutable by default -deepfreeze modifies the original dict Effort: Low Needs: Test Priority: High Status: Fixed Type: Defect -Licensing permission for open-source projects that (seemingly) can comply with LGPL terms * Thu Jul 18 2024 liudy <liudingyao@kylinos.cn> - 2.4.4-1 - Update package to version 2.4.4 - Added typing for deepfreeze, register and unregister * Sat May 06 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 2.3.8-1 - Update package to version 2.3.8 * Tue Apr 11 2023 wubijie <wubijie@kylinos.cn> - 2.3.7-1 - Update package to version 2.3.7 * Tue Apr 4 2023 wubijie <wubijie@kylinos.cn> - 2.3.6-1 - Update package to version 2.3.6 * Fri Mar 3 2023 wubijie <wubijie@kylinos.cn> - 2.3.5-1 - Update package to version 2.3.5 * Mon Sep 26 2022 guozhengxin <guozhengxin@kylinos.cn> - 2.3.4-1 - Upgrade package to version 2.3.4 * Wed May 26 2021 Ge Wang <wangge20@huawei.com> - 2.0.2-1 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2