14
0
forked from pool/python-yappi

Accepting request 783259 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/783259
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yappi?expand=0&rev=2
This commit is contained in:
2020-03-10 10:55:24 +00:00
committed by Git OBS Bridge
4 changed files with 19 additions and 8 deletions

View File

@@ -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 <tbechtold@suse.com> Sat Mar 2 07:01:12 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-yappi # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,20 +17,22 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-yappi Name: python-yappi
Version: 1.0 Version: 1.2.3
Release: 0 Release: 0
Summary: Yet Another Python Profiler Summary: Yet Another Python Profiler
License: MIT License: MIT
Group: Development/Languages/Python 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 Source: https://files.pythonhosted.org/packages/source/y/yappi/yappi-%{version}.tar.gz
Requires: python-setuptools
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module nose} BuildRequires: %{python_module nose}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
%python_subpackages %python_subpackages
%description %description
@@ -46,8 +48,11 @@ export CFLAGS="%{optflags}"
%install %install
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%check %check
%python_exec setup.py test export PYTHONPATH="tests/"
export PATH="$PATH:%{buildroot}/%{_bindir}"
%pytest_arch
%files %{python_files} %files %{python_files}
%doc README.md %doc README.md

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7f814131515d51db62b1a3468bcb84de30499124752806a5a6e11caf0b4344bf
size 38939

3
yappi-1.2.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b8db9bc607610d6da4e27e87ec828ebddec4bdaac89ca07ebfe9a153b0641580
size 45640