From a412d15cfc40985e70d163641b8cf2b8a1f3c9c2bbd728d7e261e4277882ed8e Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Mon, 3 Apr 2017 06:29:41 +0000 Subject: [PATCH] Accepting request 484242 from home:alois:branches:devel:languages:python OBS-URL: https://build.opensuse.org/request/show/484242 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-u-msgpack-python?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + python-u-msgpack-python.changes | 10 ++++++ python-u-msgpack-python.spec | 64 +++++++++++++++++++++++++++++++++ u-msgpack-python-2.3.0.tar.gz | 3 ++ 5 files changed, 101 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-u-msgpack-python.changes create mode 100644 python-u-msgpack-python.spec create mode 100644 u-msgpack-python-2.3.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-u-msgpack-python.changes b/python-u-msgpack-python.changes new file mode 100644 index 0000000..8d41f27 --- /dev/null +++ b/python-u-msgpack-python.changes @@ -0,0 +1,10 @@ +------------------------------------------------------------------- +Fri Mar 31 17:51:53 UTC 2017 - aloisio@gmx.com + +- Converted to single-spec +- Added tests + +------------------------------------------------------------------- +Sun Mar 12 17:32:21 UTC 2017 - arun@gmx.de + +- initial package diff --git a/python-u-msgpack-python.spec b/python-u-msgpack-python.spec new file mode 100644 index 0000000..13938a0 --- /dev/null +++ b/python-u-msgpack-python.spec @@ -0,0 +1,64 @@ +# +# spec file for package python-u-msgpack-python +# +# 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/ +# + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-u-msgpack-python +Version: 2.3.0 +Release: 0 +Summary: A portable, lightweight MessagePack serializer and deserializer +License: MIT +Group: Development/Languages/Python +Url: https://github.com/vsergeev/u-msgpack-python +Source: https://pypi.io/packages/source/u/u-msgpack-python/u-msgpack-python-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +%python_subpackages + +%description +u-msgpack-python is a lightweight MessagePack serializer and +deserializer module written in pure Python, compatible with both +Python 2 and Python 3, as well as CPython and PyPy implementations of +Python. u-msgpack-python is fully compliant with the latest +MessagePack specification. In particular, it supports the new binary, +UTF-8 string, and application-defined ext types. + +%prep +%setup -q -n u-msgpack-python-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes -s %{buildroot}%{$python_sitelib} + +%check +export LANG=en_US.UTF-8 +%python_exec test_umsgpack.py + +%files %{python_files} +%defattr(-,root,root,-) +%doc LICENSE +%pycache_only %{python_sitelib}/__pycache__ +%{python_sitelib}/umsgpack.py* +%{python_sitelib}/u_msgpack_python-%{version}-py%{python_version}.egg-info + +%changelog diff --git a/u-msgpack-python-2.3.0.tar.gz b/u-msgpack-python-2.3.0.tar.gz new file mode 100644 index 0000000..b5f40a9 --- /dev/null +++ b/u-msgpack-python-2.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d8df6bb0e2a838aa227c39cfd14aa147ab32b3df6871001874e9b9da9ce1760c +size 11644