Projects
Eulaceura:Factory
python-Pympler
_service:obs_scm:python-Pympler.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-Pympler.spec of Package python-Pympler
%global _empty_manifest_terminate_build 0 %global pname Pympler Name: python-%{pname} Version: 1.1 Release: 1 Summary: A development tool to measure, monitor and analyze the memory behavior of Python objects. License: Apache-2.0 and MIT URL: https://github.com/pympler/pympler Source0: %{pypi_source pympler} BuildArch: noarch %description Pympler is a development tool to measure, monitor and analyze the memory behavior of Python objects in a running Python application.By pympling a Python application, detailed insight in the size and the lifetime of Python objects can be obtained. Undesirable or unexpected runtime behavior like memory bloat and other "pymples" can easily be identified.Pympler integrates three previously separate projects into a single, comprehensive profiling tool. Asizeof provides basic size information for one or several Python objects, muppy is used for on- line monitoring of a Python application and the class tracker provides off-line analysis of the lifetime of selected Python objects. %package -n python3-%{pname} Summary: A development tool to measure, monitor and analyze the memory behavior of Python objects. Provides: python-%{pname} # Base build requires BuildRequires: python3-devel python3-tkinter BuildRequires: python3-setuptools BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-bottle %description -n python3-%{pname} Pympler is a development tool to measure, monitor and analyze the memory behavior of Python objects in a running Python application.By pympling a Python application, detailed insight in the size and the lifetime of Python objects can be obtained. Undesirable or unexpected runtime behavior like memory bloat and other "pymples" can easily be identified.Pympler integrates three previously separate projects into a single, comprehensive profiling tool. Asizeof provides basic size information for one or several Python objects, muppy is used for on- line monitoring of a Python application and the class tracker provides off-line analysis of the lifetime of selected Python objects. %package help Summary: A development tool to measure, monitor and analyze the memory behavior of Python objects. Provides: python3-%{pname}-doc %description help Pympler is a development tool to measure, monitor and analyze the memory behavior of Python objects in a running Python application.By pympling a Python application, detailed insight in the size and the lifetime of Python objects can be obtained. Undesirable or unexpected runtime behavior like memory bloat and other "pymples" can easily be identified.Pympler integrates three previously separate projects into a single, comprehensive profiling tool. Asizeof provides basic size information for one or several Python objects, muppy is used for on- line monitoring of a Python application and the class tracker provides off-line analysis of the lifetime of selected Python objects. %prep %autosetup -n pympler-%{version} -p1 %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 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 . %check %{__python3} setup.py try %files -n python3-%{pname} -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Wed Aug 21 2024 Ge Wang <wang__ge@126.com> - 1.1-1 - Update packge to version 1.1 * Fri Aug 04 2023 yaoxin <yao_xin001@hoperun.com> - 1.0.1-2 - Fix build failure caused by python upgrade to 3.11 * Tue Dec 06 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 1.0.1-1 - Update package to version 1.0.1 * Thu Aug 18 2022 wulei <wulei80@h-partners.com> - 0.9-4 - Fix check assertionerror * Tue May 17 2022 xigaoxinyan <xigaoxinyan@h-partners.com> - 0.9-3 - Fix collections.MutableMapping no support for python3.10 * Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.9-2 - DESC: delete -S git from %autosetup * Thu Jul 29 2021 OpenStack_SIG <openstack@openeuler.org> - 0.9-1 - Package Spec generate
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