!10 Update package to version 1.0.1
From: @jxy_git Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
09bbf33a15
Binary file not shown.
BIN
Pympler-1.0.1.tar.gz
Normal file
BIN
Pympler-1.0.1.tar.gz
Normal file
Binary file not shown.
@ -1,15 +0,0 @@
|
|||||||
diff -Nur a/pympler/util/bottle.py b/pympler/util/bottle.py
|
|
||||||
--- a/pympler/util/bottle.py 2019-04-07 00:39:01.308185000 +0800
|
|
||||||
+++ b/pympler/util/bottle.py 2022-05-17 10:10:10.356385260 +0800
|
|
||||||
@@ -84,7 +84,10 @@
|
|
||||||
from urllib.parse import urlencode, quote as urlquote, unquote as urlunquote
|
|
||||||
urlunquote = functools.partial(urlunquote, encoding='latin1')
|
|
||||||
from http.cookies import SimpleCookie
|
|
||||||
- from collections import MutableMapping as DictMixin
|
|
||||||
+ try:
|
|
||||||
+ from collections.abc import MutableMapping as DictMixin
|
|
||||||
+ except:
|
|
||||||
+ from collections import MutableMapping as DictMixin
|
|
||||||
import pickle
|
|
||||||
from io import BytesIO
|
|
||||||
from configparser import ConfigParser
|
|
||||||
@ -1,14 +1,14 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
%global pname Pympler
|
%global pname Pympler
|
||||||
Name: python-%{pname}
|
Name: python-%{pname}
|
||||||
Version: 0.9
|
Version: 1.0.1
|
||||||
Release: 4
|
Release: 1
|
||||||
Summary: A development tool to measure, monitor and analyze the memory behavior of Python objects.
|
Summary: A development tool to measure, monitor and analyze the memory behavior of Python objects.
|
||||||
License: Apache-2.0 and MIT
|
License: Apache-2.0 and MIT
|
||||||
URL: https://github.com/pympler/pympler
|
URL: https://github.com/pympler/pympler
|
||||||
Source0: https://files.pythonhosted.org/packages/e8/e2/2f3a086701bb62b1c478a3921836271177838a3c98cdc6b82c3bb36d3854/Pympler-0.9.tar.gz
|
Source0: https://files.pythonhosted.org/packages/12/b7/9d17fbb2fde0b035dbd27e5d82dfbcd3fa990cf5a469cef8e89712d16113/Pympler-1.0.1.tar.gz
|
||||||
Patch0: fix-collections.MutableMapping-no-support-for-python-3.10.patch
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Pympler is a development tool to measure, monitor and analyze the memory
|
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
|
behavior of Python objects in a running Python application.By pympling a Python
|
||||||
@ -55,14 +55,13 @@ line monitoring of a Python application and the class tracker provides off-line
|
|||||||
analysis of the lifetime of selected Python objects.
|
analysis of the lifetime of selected Python objects.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n Pympler-0.9 -p1
|
%autosetup -n Pympler-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
@ -93,13 +92,15 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{__python3} setup.py try
|
%{__python3} setup.py try
|
||||||
|
|
||||||
%files -n python3-%{pname} -f filelist.lst
|
%files -n python3-%{pname} -f filelist.lst
|
||||||
|
|
||||||
%dir %{python3_sitelib}/*
|
%dir %{python3_sitelib}/*
|
||||||
|
|
||||||
%files help -f doclist.lst
|
%files help -f doclist.lst
|
||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Thu Aug 18 2022 wulei <wulei80@h-partners.com> - 0.9-4
|
||||||
- Fix check assertionerror
|
- Fix check assertionerror
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user