From a9538683c805f80da90ca4a73976f00861a652e985232acf4b65b50cebf53607 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 10 Mar 2020 10:04:41 +0000 Subject: [PATCH] Accepting request 783254 from home:pgajdos:python - version update to 1.2.3 * no upstream changelog found OBS-URL: https://build.opensuse.org/request/show/783254 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yappi?expand=0&rev=3 --- python-yappi.changes | 6 ++++++ python-yappi.spec | 15 ++++++++++----- yappi-1.0.tar.gz | 3 --- yappi-1.2.3.tar.gz | 3 +++ 4 files changed, 19 insertions(+), 8 deletions(-) delete mode 100644 yappi-1.0.tar.gz create mode 100644 yappi-1.2.3.tar.gz diff --git a/python-yappi.changes b/python-yappi.changes index 67f0ccb..23a19a8 100644 --- a/python-yappi.changes +++ b/python-yappi.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 10 09:22:42 UTC 2020 - pgajdos@suse.com + +- version update to 1.2.3 + * no upstream changelog found + ------------------------------------------------------------------- Sat Mar 2 07:01:12 UTC 2019 - Thomas Bechtold diff --git a/python-yappi.spec b/python-yappi.spec index 28872d0..c1d60cc 100644 --- a/python-yappi.spec +++ b/python-yappi.spec @@ -1,7 +1,7 @@ # # spec file for package python-yappi # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,20 +17,22 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-yappi -Version: 1.0 +Version: 1.2.3 Release: 0 Summary: Yet Another Python Profiler License: MIT Group: Development/Languages/Python -Url: https://github.com/sumerc/yappi +URL: https://github.com/sumerc/yappi Source: https://files.pythonhosted.org/packages/source/y/yappi/yappi-%{version}.tar.gz +Requires: python-setuptools BuildRequires: %{python_module devel} BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros - %python_subpackages %description @@ -46,8 +48,11 @@ export CFLAGS="%{optflags}" %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} + %check -%python_exec setup.py test +export PYTHONPATH="tests/" +export PATH="$PATH:%{buildroot}/%{_bindir}" +%pytest_arch %files %{python_files} %doc README.md diff --git a/yappi-1.0.tar.gz b/yappi-1.0.tar.gz deleted file mode 100644 index 053a4b5..0000000 --- a/yappi-1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7f814131515d51db62b1a3468bcb84de30499124752806a5a6e11caf0b4344bf -size 38939 diff --git a/yappi-1.2.3.tar.gz b/yappi-1.2.3.tar.gz new file mode 100644 index 0000000..1891df1 --- /dev/null +++ b/yappi-1.2.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8db9bc607610d6da4e27e87ec828ebddec4bdaac89ca07ebfe9a153b0641580 +size 45640