1
0
forked from pool/python-BTrees

Accepting request 793790 from devel:languages:python

- Do not bother with documentation
- Update to 4.7.2:
  * Fix more cases of C and Python inconsistency.

OBS-URL: https://build.opensuse.org/request/show/793790
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-BTrees?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2020-04-15 17:53:24 +00:00 committed by Git OBS Bridge
commit cd54957883
4 changed files with 13 additions and 21 deletions

View File

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

3
BTrees-4.7.2.tar.gz Normal file
View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Apr 14 09:19:56 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Do not bother with documentation
- Update to 4.7.2:
* Fix more cases of C and Python inconsistency.
-------------------------------------------------------------------
Wed Mar 25 16:00:38 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

@ -19,19 +19,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-BTrees
Version: 4.7.1
Version: 4.7.2
Release: 0
Summary: Persistent B-tree object containers for Python
License: ZPL-2.1
URL: http://www.zope.org/Products/ZODB
URL: https://github.com/zopefoundation/BTrees
Source: https://files.pythonhosted.org/packages/source/B/BTrees/BTrees-%{version}.tar.gz
# Documentation requirements:
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module persistent-devel >= 4.1.0}
BuildRequires: %{python_module repoze.sphinx.autointerface}
BuildRequires: %{python_module setuptools}
# Testing requirements:
BuildRequires: %{python_module transaction}
BuildRequires: %{python_module zope.interface}
BuildRequires: %{python_module zope.testrunner}
@ -39,6 +35,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-persistent >= 4.1.0
Requires: python-zope.interface
Obsoletes: %{name}-doc
%python_subpackages
%description
@ -58,21 +55,12 @@ Requires: %{name} = %{version}
%description devel
This package contains the files needed for binding the %{name} C module.
%package doc
Summary: Documentation for the python-BTrees module
Requires: %{name} = %{version}
%description doc
This package contains documentation files for %{name}.
%prep
%setup -q -n BTrees-%{version}
rm -rf BTrees.egg-info
%build
%python_build
%{_python_use_flavor python3}
python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
%install
%python_install
@ -92,7 +80,4 @@ python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
%files %{python_files devel}
%{python_sitearch}/BTrees/*.h
%files %{python_files doc}
%doc build/sphinx/html/
%changelog