commit e20c129da9d6bbfa8e33d8b9d6e79c9762555c3bb59cdd8577a15a4a7461f7da Author: Todd R Date: Thu May 24 20:56:53 2018 +0000 Accepting request 611993 from devel:languages:python:misc Ridiculously fast object serialization OBS-URL: https://build.opensuse.org/request/show/611993 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-serpy?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-serpy.changes b/python-serpy.changes new file mode 100644 index 0000000..92d074f --- /dev/null +++ b/python-serpy.changes @@ -0,0 +1,13 @@ +------------------------------------------------------------------- +Thu May 24 17:44:36 UTC 2018 - toddrme2178@gmail.com + +- Update to 0.3.1 + * dont catch for methodfield +- Update to 0.3.0 + * fix None +- spec file cleanups + +------------------------------------------------------------------- +Fri Oct 20 16:18:36 UTC 2017 - toddrme2178@gmail.com + +- initial version diff --git a/python-serpy.spec b/python-serpy.spec new file mode 100644 index 0000000..9300f98 --- /dev/null +++ b/python-serpy.spec @@ -0,0 +1,68 @@ +# +# spec file for package python-serpy +# +# Copyright (c) 2018 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/ + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-serpy +Version: 0.3.1 +Release: 0 +License: MIT +Summary: Ridiculously fast object serialization +Url: https://github.com/clarkduvall/serpy +Group: Development/Languages/Python +Source: https://files.pythonhosted.org/packages/source/s/serpy/serpy-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module six} +# /SECTION +Requires: python-six +BuildArch: noarch + +%python_subpackages + +%description +Serpy is a super simple object serialization framework built for +speed. Serpy serializes complex datatypes (Django Models, custom +classes, ...) to simple native types (dicts, lists, strings, ...). +The native types can easily be converted to JSON or any other format +needed. + +The goal of serpy is to be able to do this simply, reliably, and +quickly. Since serializers are class based, they can be combined, +extended and customized with very little code duplication. Compared +to other popular Python serialization frameworks like marshmallow or +Django Rest Framework Serializers serpy is at least an order of +magnitude faster. + +%prep +%setup -q -n serpy-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc README.rst +%license LICENSE +%{python_sitelib}/* + +%changelog diff --git a/serpy-0.3.1.tar.gz b/serpy-0.3.1.tar.gz new file mode 100644 index 0000000..e468dbf --- /dev/null +++ b/serpy-0.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3772b2a9923fbf674000ff51abebf6ea8f0fca0a2cfcbfa0d63ff118193d1ec5 +size 7160