commit 3c30711272f1d39d9fd4b2f052ba202a0b65ea4d2fd3b1a4737e2880560bbc7a Author: Thomas Bechtold Date: Sat Mar 2 07:04:10 2019 +0000 - update to 1.59: * Added testing for Python 3.5 and 3.6 (PR from Tim Graham) #110, #131 * Fixed typos in docstrings (PR from Romuald Brunet, reviewed by Tim Graham) #105 * Removing Python 2.6, 3.2, and 3.3 testing (PR from Tim Graham) #115, #116 * Removing unnecessary parens in return statements (PR from Tim Graham) #113 * Remove unused _has_unicode/_str_cls vars (PR from Tim Graham) #111 * Add flake8 testing and cleanups (PR from Tim Graham, cleanups from Sean Reifschneider) #112 * Fixed storing non-ASCII values on Python 2 and binary values on Python 3 (PR from Nicolas Noé) #135 * Fixed touch(..., time=0) command (PR from Nicolas Noé) #137 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yappi?expand=0&rev=1 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