forked from pool/python-happybase
Accepting request 210381 from home:posophe:branches:devel:languages:python
- Update to version 0.7
* Added a `wal` argument to various data manipulation methods on the
:py:class:`Table` and :py:class:`Batch` classes to determine whether
to write the mutation to the Write-Ahead Log (WAL). (`issue #36
<https://github.com/wbolster/happybase/issues/36>`_).
* Pass batch_size to underlying Thrift Scan instance (`issue #38
<https://github.com/wbolster/happybase/issues/38>`_).
* Expose server name and port in :py:meth:`Table.regions` (recent HBase
versions only) (`issue #37
<https://github.com/wbolster/happybase/issues/37>`_).
* Regenerated bundled Thrift API modules using a recent upstream
Thrift APIdefinition. This is required to expose newly added API.
- Package NEWS.rst, TODO.rst and html pages in documentation directory
- Add python-Sphinx requirement to build html documentation
OBS-URL: https://build.opensuse.org/request/show/210381
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-happybase?expand=0&rev=10
This commit is contained in:
committed by
Git OBS Bridge
parent
8fd1f4ab57
commit
aee63874d0
@@ -17,13 +17,14 @@
|
||||
|
||||
|
||||
Name: python-happybase
|
||||
Version: 0.6
|
||||
Version: 0.7
|
||||
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: http://pypi.python.org/packages/source/h/happybase/happybase-%{version}.tar.gz
|
||||
BuildRequires: python-Sphinx
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-thrift
|
||||
@@ -43,16 +44,19 @@ HappyBase is a developer-friendly Python library to interact with Apache HBase.
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
python setup.py build_sphinx
|
||||
# Remove hidden file generated by Sphinx
|
||||
rm doc/build/html/.buildinfo
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%check
|
||||
python setup.py test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE.rst README.rst
|
||||
%doc LICENSE.rst NEWS.rst README.rst TODO.rst doc/build/html
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user