forked from pool/python-Pympler
- Add no-inspect-getargspec.patch porting out deprecated
(and in 3.11 removed) method inspect.getargspec (gh#pympler/pympler#148). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pympler?expand=0&rev=13
This commit is contained in:
@@ -25,7 +25,12 @@ Summary: A tool to analyze the memory behavior of Python objects
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/pympler/pympler
|
||||
Source: https://files.pythonhosted.org/packages/source/P/Pympler/Pympler-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM pympler-flaky-tests.patch gh#pympler/pympler#90 mcepl@suse.com
|
||||
# More cycles needed with more recent versions of Python
|
||||
Patch0: pympler-flaky-tests.patch
|
||||
# PATCH-{FIX|FEATURE}-{OPENSUSE|SLE|UPSTREAM} name-of-file.patch bsc#[0-9]+ mcepl@suse.com
|
||||
# this patch makes things totally awesome
|
||||
Patch1: no-inspect-getargspec.patch
|
||||
BuildRequires: %{python_module dbm}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@@ -44,8 +49,7 @@ unexpected runtime behavior like memory bloat and other "pymples"
|
||||
can easily be identified.
|
||||
|
||||
%prep
|
||||
%setup -q -n Pympler-%{version}
|
||||
%patch0 -p1
|
||||
%autosetup -p1 -n Pympler-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
Reference in New Issue
Block a user