From 3976c058fbca15f3c3497a04bfe17c508b8a2fc3d2df10995ef8c876ca690a73 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 26 Oct 2021 11:21:56 +0000 Subject: [PATCH] - Update to 0.4.14: - revert support Apache JSON protocol and binary type, via 2-#157. - Support Apache JSON protocol and binary type, via 2-#139. - Fix HTTP_URI typo in http.py, via 2-#148. - Support custom headers for HTTP, via 2-#149. - Support raising TApplicationException in user handlers, via 2-#154. - Support include files with dot in name, via 2-#125. - Add new SSL certificates in new_certs.tar.xz OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-thriftpy2?expand=0&rev=17 --- new_certs.tar.xz | 3 +++ python-thriftpy2.changes | 14 ++++++++++++++ python-thriftpy2.spec | 12 ++++++++---- v0.4.11.tar.gz | 3 --- v0.4.14.tar.gz | 3 +++ 5 files changed, 28 insertions(+), 7 deletions(-) create mode 100644 new_certs.tar.xz delete mode 100644 v0.4.11.tar.gz create mode 100644 v0.4.14.tar.gz diff --git a/new_certs.tar.xz b/new_certs.tar.xz new file mode 100644 index 0000000..810c05c --- /dev/null +++ b/new_certs.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:db7799932cec0d0032919869a9514f9dacde81a8f490d385125b432f47bbd881 +size 17496 diff --git a/python-thriftpy2.changes b/python-thriftpy2.changes index e96d7f2..b1d8936 100644 --- a/python-thriftpy2.changes +++ b/python-thriftpy2.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Tue Oct 26 11:02:14 UTC 2021 - Matej Cepl + +- Update to 0.4.14: + - revert support Apache JSON protocol and binary type, via + 2-#157. + - Support Apache JSON protocol and binary type, via 2-#139. + - Fix HTTP_URI typo in http.py, via 2-#148. + - Support custom headers for HTTP, via 2-#149. + - Support raising TApplicationException in user handlers, via + 2-#154. + - Support include files with dot in name, via 2-#125. +- Add new SSL certificates in new_certs.tar.xz + ------------------------------------------------------------------- Thu Mar 26 11:07:36 UTC 2020 - pgajdos@suse.com diff --git a/python-thriftpy2.spec b/python-thriftpy2.spec index 6c3dcf0..1d7dd3b 100644 --- a/python-thriftpy2.spec +++ b/python-thriftpy2.spec @@ -1,7 +1,7 @@ # # spec file for package python-thriftpy2 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,18 +18,20 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-thriftpy2 -Version: 0.4.11 +Version: 0.4.14 Release: 0 Summary: Pure python implementation of Apache Thrift License: MIT Group: Development/Languages/Python URL: https://github.com/Thriftpy/thriftpy2 -Source: https://github.com/Thriftpy/thriftpy2/archive/v%{version}.tar.gz +Source0: https://github.com/Thriftpy/thriftpy2/archive/v%{version}.tar.gz +Source1: new_certs.tar.xz BuildRequires: %{python_module Cython >= 0.28.4} BuildRequires: %{python_module dbm} BuildRequires: %{python_module devel} BuildRequires: %{python_module ply >= 3.4} BuildRequires: %{python_module pytest >= 2.8} +BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module tornado >= 5.0} BuildRequires: fdupes @@ -45,7 +47,9 @@ ThriftPy is a pure python implementation of Apache Thrift in a pythonic way. %prep -%setup -q -n thriftpy2-%{version} +%autosetup -p1 -n thriftpy2-%{version} + +tar xv -C tests/ssl -f %{SOURCE1} %build export CFLAGS="%{optflags}" diff --git a/v0.4.11.tar.gz b/v0.4.11.tar.gz deleted file mode 100644 index 82dc2ea..0000000 --- a/v0.4.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:255988c6881248db0040ceba0632b22e9cd2eb54cfd77641f8cfd5aa2cb4cdbd -size 126568 diff --git a/v0.4.14.tar.gz b/v0.4.14.tar.gz new file mode 100644 index 0000000..69c547b --- /dev/null +++ b/v0.4.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f3e13f0f5bfb6def45e2f8188a5bac067cb4464af4ae3ac2bf786ffc867faaed +size 127552