From 3c30711272f1d39d9fd4b2f052ba202a0b65ea4d2fd3b1a4737e2880560bbc7a Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Sat, 2 Mar 2019 07:04:10 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=201.59:=20=20=20*=20=20Added=20?= =?UTF-8?q?testing=20for=20Python=203.5=20and=203.6=20(PR=20from=20Tim=20G?= =?UTF-8?q?raham)=20#110,=20#131=20=20=20*=20=20Fixed=20typos=20in=20docst?= =?UTF-8?q?rings=20(PR=20from=20Romuald=20Brunet,=20reviewed=20by=20Tim=20?= =?UTF-8?q?=20=20=20=20=20Graham)=20#105=20=20=20*=20=20Removing=20Python?= =?UTF-8?q?=202.6,=203.2,=20and=203.3=20testing=20(PR=20from=20Tim=20Graha?= =?UTF-8?q?m)=20#115,=20#116=20=20=20*=20=20Removing=20unnecessary=20paren?= =?UTF-8?q?s=20in=20return=20statements=20(PR=20from=20Tim=20Graham)=20=20?= =?UTF-8?q?=20=20=20=20#113=20=20=20*=20=20Remove=20unused=20=5Fhas=5Funic?= =?UTF-8?q?ode/=5Fstr=5Fcls=20vars=20(PR=20from=20Tim=20Graham)=20#111=20?= =?UTF-8?q?=20=20*=20=20Add=20flake8=20testing=20and=20cleanups=20(PR=20fr?= =?UTF-8?q?om=20Tim=20Graham,=20cleanups=20from=20Sean=20=20=20=20=20=20Re?= =?UTF-8?q?ifschneider)=20#112=20=20=20*=20Fixed=20storing=20non-ASCII=20v?= =?UTF-8?q?alues=20on=20Python=202=20and=20binary=20values=20on=20Python?= =?UTF-8?q?=203=20=20=20=20=20(PR=20from=20Nicolas=20No=C3=A9)=20#135=20?= =?UTF-8?q?=20=20*=20Fixed=20touch(...,=20time=3D0)=20command=20(PR=20from?= =?UTF-8?q?=20Nicolas=20No=C3=A9)=20#137?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yappi?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++++ .gitignore | 1 + python-yappi.changes | 4 +++ python-yappi.spec | 58 ++++++++++++++++++++++++++++++++++++++++++++ yappi-1.0.tar.gz | 3 +++ 5 files changed, 89 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-yappi.changes create mode 100644 python-yappi.spec create mode 100644 yappi-1.0.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-yappi.changes b/python-yappi.changes new file mode 100644 index 0000000..67f0ccb --- /dev/null +++ b/python-yappi.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sat Mar 2 07:01:12 UTC 2019 - Thomas Bechtold + +- Initial packaging (version 1.0) diff --git a/python-yappi.spec b/python-yappi.spec new file mode 100644 index 0000000..28872d0 --- /dev/null +++ b/python-yappi.spec @@ -0,0 +1,58 @@ +# +# spec file for package python-yappi +# +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-yappi +Version: 1.0 +Release: 0 +Summary: Yet Another Python Profiler +License: MIT +Group: Development/Languages/Python +Url: https://github.com/sumerc/yappi +Source: https://files.pythonhosted.org/packages/source/y/yappi/yappi-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module nose} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros + +%python_subpackages + +%description +Yet Another Python Profiler + +%prep +%setup -q -n yappi-%{version} + +%build +export CFLAGS="%{optflags}" +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} +%check +%python_exec setup.py test + +%files %{python_files} +%doc README.md +%license LICENSE +%python3_only %{_bindir}/yappi +%{python_sitearch}/* + +%changelog diff --git a/yappi-1.0.tar.gz b/yappi-1.0.tar.gz new file mode 100644 index 0000000..053a4b5 --- /dev/null +++ b/yappi-1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f814131515d51db62b1a3468bcb84de30499124752806a5a6e11caf0b4344bf +size 38939