From 3c2c8a9c687895b0046cf33cdde13908c4396681f4bcd5701b7c7d8fdc67f928 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 2 Apr 2018 06:24:29 +0000 Subject: [PATCH 1/3] Accepting request 592913 from home:apersaud:branches:devel:languages:python update to latest version OBS-URL: https://build.opensuse.org/request/show/592913 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-u-msgpack-python?expand=0&rev=7 --- python-u-msgpack-python.changes | 11 +++++++- python-u-msgpack-python.spec | 9 +------ u-msgpack-bigendian_broken.patch | 43 -------------------------------- u-msgpack-python-2.4.1.tar.gz | 3 --- u-msgpack-python-2.5.0.tar.gz | 3 +++ 5 files changed, 14 insertions(+), 55 deletions(-) delete mode 100644 u-msgpack-bigendian_broken.patch delete mode 100644 u-msgpack-python-2.4.1.tar.gz create mode 100644 u-msgpack-python-2.5.0.tar.gz diff --git a/python-u-msgpack-python.changes b/python-u-msgpack-python.changes index 28a7d90..b3d7281 100644 --- a/python-u-msgpack-python.changes +++ b/python-u-msgpack-python.changes @@ -1,9 +1,18 @@ +------------------------------------------------------------------- +Sun Apr 1 22:14:43 UTC 2018 - arun@gmx.de + +- remove u-msgpack-bigendian_broken.patch + +- update to version 2.5.0: + * Add support for the timestamp extension type. + * Fix tests on big endian platforms + ------------------------------------------------------------------- Fri Mar 16 15:13:23 CET 2018 - ro@suse.de - add u-msgpack-bigendian_broken.patch (bsc#1085666) pack_ext_handler/unpack_ext_handler are broken on bigendian, - skip them in the testsuite for now + skip them in the testsuite for now ------------------------------------------------------------------- Mon Nov 13 18:21:56 UTC 2017 - arun@gmx.de diff --git a/python-u-msgpack-python.spec b/python-u-msgpack-python.spec index c2e45aa..2639120 100644 --- a/python-u-msgpack-python.spec +++ b/python-u-msgpack-python.spec @@ -18,14 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-u-msgpack-python -Version: 2.4.1 +Version: 2.5.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 -Patch0: u-msgpack-bigendian_broken.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -44,12 +43,6 @@ UTF-8 string, and application-defined ext types. %prep %setup -q -n u-msgpack-python-%{version} -# we are noarch, so ifarch does not work here -case "$(uname -m)" in - ppc|ppc64|s390|s390x) -%patch0 -p1 - ;; -esac %build %python_build diff --git a/u-msgpack-bigendian_broken.patch b/u-msgpack-bigendian_broken.patch deleted file mode 100644 index 277f249..0000000 --- a/u-msgpack-bigendian_broken.patch +++ /dev/null @@ -1,43 +0,0 @@ ---- u-msgpack-python-2.4.1/test_umsgpack.py 2018/03/16 14:11:16 1.1 -+++ u-msgpack-python-2.4.1/test_umsgpack.py 2018/03/16 14:12:23 -@@ -474,23 +474,23 @@ - with self.assertRaises(TypeError): - _ = umsgpack.Ext(0, u"unicode string") - -- def test_pack_ext_handler(self): -- for (name, obj, data) in ext_handlers_test_vectors: -- obj_repr = repr(obj) -- print("\tTesting %s: object %s" % -- (name, obj_repr if len(obj_repr) < 24 else obj_repr[0:24] + "...")) -- -- packed = umsgpack.packb(obj, ext_handlers=ext_handlers) -- self.assertEqual(packed, data) -- -- def test_unpack_ext_handler(self): -- for (name, obj, data) in ext_handlers_test_vectors: -- obj_repr = repr(obj) -- print("\tTesting %s: object %s" % -- (name, obj_repr if len(obj_repr) < 24 else obj_repr[0:24] + "...")) -- -- unpacked = umsgpack.unpackb(data, ext_handlers=ext_handlers) -- self.assertEqual(unpacked, obj) -+# def test_pack_ext_handler(self): -+# for (name, obj, data) in ext_handlers_test_vectors: -+# obj_repr = repr(obj) -+# print("\tTesting %s: object %s" % -+# (name, obj_repr if len(obj_repr) < 24 else obj_repr[0:24] + "...")) -+# -+# packed = umsgpack.packb(obj, ext_handlers=ext_handlers) -+# self.assertEqual(packed, data) -+# -+# def test_unpack_ext_handler(self): -+# for (name, obj, data) in ext_handlers_test_vectors: -+# obj_repr = repr(obj) -+# print("\tTesting %s: object %s" % -+# (name, obj_repr if len(obj_repr) < 24 else obj_repr[0:24] + "...")) -+# -+# unpacked = umsgpack.unpackb(data, ext_handlers=ext_handlers) -+# self.assertEqual(unpacked, obj) - - def test_pack_force_float_precision(self): - for ((name, obj, data), precision) in zip(float_precision_test_vectors, ["single", "double"]): diff --git a/u-msgpack-python-2.4.1.tar.gz b/u-msgpack-python-2.4.1.tar.gz deleted file mode 100644 index 1c68cea..0000000 --- a/u-msgpack-python-2.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2f31fc1b6dd8632c230ea7012470e40f77119f20999274dda6f1afa9c305e590 -size 12026 diff --git a/u-msgpack-python-2.5.0.tar.gz b/u-msgpack-python-2.5.0.tar.gz new file mode 100644 index 0000000..8b56e3b --- /dev/null +++ b/u-msgpack-python-2.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:412a951097a33a28e6f6136227ce46d8b7ddd44501f87a73f881ed8e41912861 +size 18127 From 63cb971fe6a956848614a623623a8c927f0fa65df4552c57db511044caad6c0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 3 Apr 2018 08:11:51 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-u-msgpack-python?expand=0&rev=8 --- python-u-msgpack-python.spec | 5 ++--- u-msgpack-python-2.5.0.tar.gz | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/python-u-msgpack-python.spec b/python-u-msgpack-python.spec index 2639120..4c8cd2c 100644 --- a/python-u-msgpack-python.spec +++ b/python-u-msgpack-python.spec @@ -23,13 +23,12 @@ Release: 0 Summary: A portable, lightweight MessagePack serializer and deserializer License: MIT Group: Development/Languages/Python -Url: https://github.com/vsergeev/u-msgpack-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 @@ -57,7 +56,7 @@ export LANG=en_US.UTF-8 %files %{python_files} %defattr(-,root,root,-) -%doc LICENSE +%license LICENSE %pycache_only %{python_sitelib}/__pycache__ %{python_sitelib}/umsgpack.py* %{python_sitelib}/u_msgpack_python-%{version}-py%{python_version}.egg-info diff --git a/u-msgpack-python-2.5.0.tar.gz b/u-msgpack-python-2.5.0.tar.gz index 8b56e3b..45c25cb 100644 --- a/u-msgpack-python-2.5.0.tar.gz +++ b/u-msgpack-python-2.5.0.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:412a951097a33a28e6f6136227ce46d8b7ddd44501f87a73f881ed8e41912861 -size 18127 +oid sha256:7ff18ae3721fa75571f9329c08f7c0120416a6ae36194bd8674f65b3b78d0702 +size 16012 From 53c856a71da2b924dc09e93a833dc0ba31c26701f2ebc17c506220469b5ea49c Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Wed, 4 Apr 2018 04:50:14 +0000 Subject: [PATCH 3/3] Accepting request 593345 from home:jengelh:branches:devel:languages:python - Ensure neutrality and time-agnosticness of description. OBS-URL: https://build.opensuse.org/request/show/593345 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-u-msgpack-python?expand=0&rev=9 --- python-u-msgpack-python.changes | 5 +++++ python-u-msgpack-python.spec | 14 +++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/python-u-msgpack-python.changes b/python-u-msgpack-python.changes index b3d7281..cb76df3 100644 --- a/python-u-msgpack-python.changes +++ b/python-u-msgpack-python.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 3 23:19:39 UTC 2018 - jengelh@inai.de + +- Ensure neutrality and time-agnosticness of description. + ------------------------------------------------------------------- Sun Apr 1 22:14:43 UTC 2018 - arun@gmx.de diff --git a/python-u-msgpack-python.spec b/python-u-msgpack-python.spec index 4c8cd2c..7e5d377 100644 --- a/python-u-msgpack-python.spec +++ b/python-u-msgpack-python.spec @@ -20,7 +20,7 @@ Name: python-u-msgpack-python Version: 2.5.0 Release: 0 -Summary: A portable, lightweight MessagePack serializer and deserializer +Summary: A MessagePack serializer and deserializer License: MIT Group: Development/Languages/Python URL: https://github.com/vsergeev/u-msgpack-python @@ -33,12 +33,12 @@ 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. +u-msgpack-python is a MessagePack serializer and +deserializer module written in pure Python, compatible with +Python 2, Python 3, in both the CPython and PyPy implementations of +Python. u-msgpack-python is fully compliant with the MessagePack +2017-09-17 specification. In particular, it supports the binary, +UTF-8 string, and application-defined extended types. %prep %setup -q -n u-msgpack-python-%{version}