Accepting request 518704 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/518704 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-happybase?expand=0&rev=10
This commit is contained in:
commit
aac602f282
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:744e342936f6c9e384b203435c38ff21a339626a0d7c11aa177988b5e164ef2a
|
||||
size 62934
|
3
happybase-1.1.0.tar.gz
Normal file
3
happybase-1.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e20376e2e32291798d2226502994134c1c4e175136d8375b3c517a234fa22481
|
||||
size 40633
|
@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 25 10:09:26 UTC 2017 - tbechtold@suse.com
|
||||
|
||||
- update to 1.1.0:
|
||||
* Set socket timeout unconditionally on ``TSocket``
|
||||
* Add new ‘0.98’ compatibility mode
|
||||
* Add support for reversed scanners
|
||||
* From now on this library uses a semantic versioning scheme.
|
||||
HappyBase is a mature library, but always used 0.x version numbers
|
||||
for no good reason. This has now changed.
|
||||
* Finally, Python 3 support. Thanks to all the people who contributed!
|
||||
* Switch to thriftpy as the underlying Thrift library, which is a much
|
||||
nicer and better maintained library.
|
||||
* Enable building universal wheels
|
||||
- convert to singlespec
|
||||
- split -doc package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 6 14:14:33 UTC 2015 - benoit.monin@gmx.fr
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-happybase
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 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
|
||||
@ -16,47 +16,59 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-happybase
|
||||
Version: 0.9
|
||||
Version: 1.1.0
|
||||
Release: 0
|
||||
Summary: A developer-friendly Python library to interact with Apache HBase
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/wbolster/happybase
|
||||
Source: https://pypi.python.org/packages/source/h/happybase/happybase-%{version}.tar.gz
|
||||
BuildRequires: python-Sphinx
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-thrift
|
||||
Requires: python-thrift
|
||||
Source: https://files.pythonhosted.org/packages/source/h/happybase/happybase-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module thriftpy}
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-Sphinx
|
||||
Requires: python-six
|
||||
Requires: python-thriftpy >= 0.3.8
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
HappyBase is a developer-friendly Python library to interact with Apache HBase.
|
||||
|
||||
%package -n python-happybase-doc
|
||||
Summary: Documentation for %{name}
|
||||
Group: Documentation/Other
|
||||
Provides: %{python_module happybase-doc = %{version}}
|
||||
|
||||
%description -n python-happybase-doc
|
||||
HappyBase is a developer-friendly Python library to interact with Apache HBase.
|
||||
|
||||
This package contains the documentation.
|
||||
|
||||
%prep
|
||||
%setup -q -n happybase-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
python setup.py build_sphinx
|
||||
# Remove hidden file generated by Sphinx
|
||||
rm doc/build/html/.buildinfo
|
||||
%python_build
|
||||
sphinx-build -b html doc docs/build/html
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
|
||||
%check
|
||||
python setup.py test
|
||||
%python_exec setup.py test
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE.rst NEWS.rst README.rst TODO.rst doc/build/html
|
||||
%doc LICENSE.rst NEWS.rst README.rst TODO.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
%files -n python-happybase-doc
|
||||
%doc LICENSE.rst docs/build/html
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user