From 3b9559d33106cef1b2e0d6a63cb6ae3a900295bc31fbb65990dc28a551fc6732 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 12 Sep 2019 10:00:59 +0000 Subject: [PATCH] - Update to 1.2.0: * Switch from thriftpy to its successor thriftpy2, which supports Python 3.7. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-happybase?expand=0&rev=25 --- 1.2.0.tar.gz | 3 +++ happybase-1.1.0.tar.gz | 3 --- python-happybase.changes | 6 ++++++ python-happybase.spec | 18 +++++++++++------- 4 files changed, 20 insertions(+), 10 deletions(-) create mode 100644 1.2.0.tar.gz delete mode 100644 happybase-1.1.0.tar.gz diff --git a/1.2.0.tar.gz b/1.2.0.tar.gz new file mode 100644 index 0000000..47e5d91 --- /dev/null +++ b/1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5310d3b1ef30b771eb587f2d53261e4662158fcbacb63a0426e30d04f7c73da1 +size 43753 diff --git a/happybase-1.1.0.tar.gz b/happybase-1.1.0.tar.gz deleted file mode 100644 index e4d13e4..0000000 --- a/happybase-1.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e20376e2e32291798d2226502994134c1c4e175136d8375b3c517a234fa22481 -size 40633 diff --git a/python-happybase.changes b/python-happybase.changes index 326263c..ff6bc25 100644 --- a/python-happybase.changes +++ b/python-happybase.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 12 09:02:50 UTC 2019 - Tomáš Chvátal + +- Update to 1.2.0: + * Switch from thriftpy to its successor thriftpy2, which supports Python 3.7. + ------------------------------------------------------------------- Tue Dec 4 12:48:49 UTC 2018 - Matej Cepl diff --git a/python-happybase.spec b/python-happybase.spec index 6d3bfc7..fd5e181 100644 --- a/python-happybase.spec +++ b/python-happybase.spec @@ -1,7 +1,7 @@ # # spec file for package python-happybase # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -18,19 +18,21 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-happybase -Version: 1.1.0 +Version: 1.2.0 Release: 0 Summary: A Python library to interact with Apache HBase License: MIT Group: Development/Languages/Python URL: https://github.com/wbolster/happybase -Source: https://files.pythonhosted.org/packages/source/h/happybase/happybase-%{version}.tar.gz +Source: https://github.com/wbolster/happybase/archive/%{version}.tar.gz +BuildRequires: %{python_module nose} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module thriftpy} +BuildRequires: %{python_module thriftpy2} +BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python3-Sphinx Requires: python-six -Requires: python-thriftpy >= 0.3.8 +Requires: python-thriftpy2 >= 0.4 BuildArch: noarch %python_subpackages @@ -56,10 +58,12 @@ sphinx-build -b html doc docs/build/html %install %python_install -rm docs/build/html/.doctrees/environment.pickle +%python_expand %fdupes %{buildroot}%{$python_sitelib} +rm -r docs/build/html/.[a-z]* %check -%python_exec setup.py test +# the api tests need running thrift server +%python_expand nosetests-%{$python_bin_suffix} -v tests/test_util.py %files %{python_files} %license LICENSE.rst