15
0

Accepting request 730343 from devel:languages:python

- Update to 1.2.0:
  * Switch from thriftpy to its successor thriftpy2, which supports Python 3.7.

OBS-URL: https://build.opensuse.org/request/show/730343
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-happybase?expand=0&rev=14
This commit is contained in:
2019-09-27 12:45:54 +00:00
committed by Git OBS Bridge
4 changed files with 20 additions and 10 deletions

3
1.2.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5310d3b1ef30b771eb587f2d53261e4662158fcbacb63a0426e30d04f7c73da1
size 43753

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e20376e2e32291798d2226502994134c1c4e175136d8375b3c517a234fa22481
size 40633

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Sep 12 09:02:50 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- 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 <mcepl@suse.com>

View File

@@ -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