From f516638b7fe9592837389826a6152a7e1b251c54 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 30 May 2020 11:44:06 +0100 Subject: gentoo resync : 30.05.2020 --- dev-python/u-msgpack/Manifest | 5 +- .../files/u-msgpack-2.4.1-little-endian.patch | 60 ---------------------- dev-python/u-msgpack/u-msgpack-2.5.2.ebuild | 2 +- dev-python/u-msgpack/u-msgpack-2.6.0.ebuild | 22 ++++++++ 4 files changed, 26 insertions(+), 63 deletions(-) delete mode 100644 dev-python/u-msgpack/files/u-msgpack-2.4.1-little-endian.patch create mode 100644 dev-python/u-msgpack/u-msgpack-2.6.0.ebuild (limited to 'dev-python/u-msgpack') diff --git a/dev-python/u-msgpack/Manifest b/dev-python/u-msgpack/Manifest index c162b915f85b..b4d7b984466d 100644 --- a/dev-python/u-msgpack/Manifest +++ b/dev-python/u-msgpack/Manifest @@ -1,4 +1,5 @@ -AUX u-msgpack-2.4.1-little-endian.patch 2129 BLAKE2B d7bd75e409753dedc3e1e7ce984fd2401cb8dff71af6b3da90950b00ea7f2af35f8d3b87af0fa333b61f916bd904934ee5ca09a124bf17a4099f334afe76203a SHA512 978c6eede0b89238134b31b596f9e0fd87d31431fd95d9f44578bb782b17fe8c39fea20bd494581a633219f8137c23156d5bbc454040c137552c7a72901525b5 DIST u-msgpack-2.5.2.tar.gz 17641 BLAKE2B 643984fd9ed2f87ad0cce9e64aaa064465048067098bf01bd844a04bc1b870d6688eac6bc9f1dddf9bf705fb14bc332796f06b8b59d0dfe79261e85ba11b60d1 SHA512 cefba7ed86d2b7c37b0d92e3a4fb4ec62c89dffee0be078c783010638413e6ce1af7ab959b43dfedb6fd8cf2943185c18fc2201a4a9764c423e8242bcedf21a9 -EBUILD u-msgpack-2.5.2.ebuild 656 BLAKE2B 4c812cdc4fb75508609297bdc65220cddb5448a98714cbf5981a5f3580da1a26ad1286eecffd9556d978ed67543d3ac013a03534e1e19ce85dcefe658338d006 SHA512 5472bdade655b333e9eaabb41c8483e002fcfcbb367151c56636452957ac1b8fe72c9a9644ac12250fadad9718589414d16d953f001c680260aca6aed190b6f4 +DIST u-msgpack-2.6.0.tar.gz 19911 BLAKE2B a6599a85fcb386f91dce4d11fd8d10c6be75c1fe4e80756c58058bcb7c2934c2174afe65bc0b88e11c5c9e3f66b46c956c9209bb6faf74ab5c382bd665c412fc SHA512 b0f2fa677001705a8a1e96e590fd334d0561065e0617a56a31abd506907dc2446c93f8c4429e65e86c87f6d2cf3e19a921fa0aaccad5cdaf1acd1ae0a1235688 +EBUILD u-msgpack-2.5.2.ebuild 658 BLAKE2B 2050f42c8a8b9c011da96dc51277281c69fee78c671ab7bcd26e85515c04a37f2251d28c7b9a87ab600411d624a611783eff0f8ca78b899690cb5d455c9f28dd SHA512 06ae2f885861b707eb94d18ebf0c2cd13ae853462430ec3df541dc820c17a09d101fb0b74dd99f77bc0e2759a9dfc01c0e66560f8fc96bfbdce819c3c98ea5e2 +EBUILD u-msgpack-2.6.0.ebuild 667 BLAKE2B 2227705246a9a38d87a77db93736e8b787a2541f16d696df87ee279c0c9fab981a7a7deec84156b9da9f0d5c613df5045ff3b2bc1038073a8222e473c51f09a8 SHA512 8e4ac4c5a920578a7e5b03a2857aa61da91daf49b2c7401c661a4e0bc3934639526e9c4180f67722c5f043112997bbc39414fe4c50829f89d7c8898b422af0e1 MISC metadata.xml 931 BLAKE2B 14f05bd4d72f2d6d09096f581e720fba96e533781ad16d0ded28ad62f3aef92eeff0fdece705b6b1d8735f0756cf73f338ce26b92bc6380e7679aee7fac6970b SHA512 642b3a1e3f70a4a6d49f87f61e2a197f93ef47238dbd7f1d591cffdd4857299e3110a9cb01cfd430aca328ceb533e3c6080d765bc2fc0fa7fc133456e2ec1de4 diff --git a/dev-python/u-msgpack/files/u-msgpack-2.4.1-little-endian.patch b/dev-python/u-msgpack/files/u-msgpack-2.4.1-little-endian.patch deleted file mode 100644 index c04aca3a3574..000000000000 --- a/dev-python/u-msgpack/files/u-msgpack-2.4.1-little-endian.patch +++ /dev/null @@ -1,60 +0,0 @@ -https://github.com/vsergeev/u-msgpack-python/pull/31 - -From 003289878812c63ef046dc7090953b8dde784f8c Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich -Date: Fri, 22 Sep 2017 12:09:30 +0100 -Subject: [PATCH] test_umsgpack.py: fix test on big-endian platforms - -On powerpc and powerpc64 one test fails as: - -``` - $ py.test -v - ... - test_umsgpack.py::TestUmsgpack::test_pack_ext_handler FAILED - test_umsgpack.py::TestUmsgpack::test_unpack_ext_handler FAILED - ... - - self = - - 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) - E AssertionError: b'\xd7 ?\x80\x00\x00@\x00\x00\x00' != b'\xd7 \x00\x00\x80?\x00\x00\x00@' - - test_umsgpack.py:484: AssertionError -``` - -The problem here is in 'struct.pack' output: -it uses native endianness format but test hardcodes little-endian output. - -The change forces 'struct.pack' into little-endian format. -That way all tests pass:. - -Signed-off-by: Sergei Trofimovich ---- - test_umsgpack.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/test_umsgpack.py b/test_umsgpack.py -index a25b5b8..e500276 100644 ---- a/test_umsgpack.py -+++ b/test_umsgpack.py -@@ -297,9 +297,9 @@ float_precision_test_vectors = [ - CustomType = namedtuple('CustomType', ['x', 'y', 'z']) - - ext_handlers = { -- complex: lambda obj: umsgpack.Ext(0x20, struct.pack("ff", obj.real, obj.imag)), -+ complex: lambda obj: umsgpack.Ext(0x20, struct.pack("