commit 5a163db66e5d2d6fe165e300b07c8db4661414175ac6132181844db000d364a5 Author: Todd R Date: Mon Aug 14 02:54:17 2017 +0000 - Initial version OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tblib?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-tblib.changes b/python-tblib.changes new file mode 100644 index 0000000..9b73fe7 --- /dev/null +++ b/python-tblib.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Aug 14 00:28:19 UTC 2017 - toddrme2178@gmail.com + +- Initial version diff --git a/python-tblib.spec b/python-tblib.spec new file mode 100644 index 0000000..a81d074 --- /dev/null +++ b/python-tblib.spec @@ -0,0 +1,94 @@ +# +# spec file for package python-tblib +# +# Copyright (c) 2017 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 http://bugs.opensuse.org/ +# + + +# Tests require network connection +%bcond_with test + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-tblib +Version: 1.3.2 +Release: 0 +Summary: Traceback serialization library +License: BSD-2-Clause +Group: Development/Languages/Python +Url: https://github.com/ionelmc/python-tblib +Source: https://files.pythonhosted.org/packages/source/t/tblib/tblib-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +%if %{with test} +BuildRequires: %{python_module Pygments} +BuildRequires: %{python_module check-manifest} +BuildRequires: %{python_module docutils} +BuildRequires: %{python_module flake8} +BuildRequires: %{python_module isort} +BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module pytest-travis-fold} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module readme_renderer} +BuildRequires: %{python_module requests} +BuildRequires: %{python_module sphinx_py3doc_enhanced_theme} +BuildRequires: python3-tox +%endif +Requires: python-six +BuildArch: noarch + +%python_subpackages + +%description +Traceback serialization library. + +It allows you to: + +* Pickle tracebacks and raise exceptions with pickled tracebacks in + different processes. This allows better error handling when running + code over multiple processes (imagine multiprocessing, billiard, + futures, celery etc). +* Create traceback objects from strings (the ``from_string`` method). + *No pickling is used*. +* Serialize tracebacks to/from plain dicts (the ``from_dict`` and + ``to_dict`` methods). *No pickling is used*. +* Raise the tracebacks created from the aforementioned sources. + +Again, note that using the pickle support is completely optional. You +are solely responsible for security problems should you decide to use +the pickle support. + +%prep +%setup -q -n tblib-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%if %{with test} +%check +%python_expand py.test-%{$python_bin_suffix} +%endif + +%files %{python_files} +%defattr(-,root,root,-) +%doc AUTHORS.rst CHANGELOG.rst LICENSE README.rst +%{python_sitelib}/* + +%changelog diff --git a/tblib-1.3.2.tar.gz b/tblib-1.3.2.tar.gz new file mode 100644 index 0000000..f7f0026 --- /dev/null +++ b/tblib-1.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:436e4200e63d92316551179dc540906652878df4ff39b43db30fcf6400444fe7 +size 26958