Hello community,

here is the log from the commit of package python-Whoosh for openSUSE:Factory 
checked in at 2017-06-26 15:56:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Whoosh (Old)
 and      /work/SRC/openSUSE:Factory/.python-Whoosh.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Whoosh"

Mon Jun 26 15:56:54 2017 rev:2 rq:506215 version:2.7.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Whoosh/python-Whoosh.changes      
2015-04-27 22:09:15.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-Whoosh.new/python-Whoosh.changes 
2017-06-26 15:56:55.552211728 +0200
@@ -1,0 +2,96 @@
+Mon Jun 26 09:07:38 UTC 2017 - [email protected]
+
+- convert to singlespec
+- split -doc package
+- use files.pythonhosted.org as Source url
+- update to 2.7.4:
+  * Changed version number to 2.7.0.
+  * Added tag 2.7.0 for changeset 8abeb09483b9
+  * Results.extend() didn't update the cached length.
+  * Fixed VarBytesListColumn and FixedBytesListColumn.
+  * Handle an empty queue exception in mpwriter.
+  * Merging pull request with local commit.
+  * Added test for storing tuples.
+  * Remove caching decorator from VarBytesColumn reader.
+  * Added test for has_deletions() after an optimization.
+  * Try to avoid an UnboundLocalError in the DFA when MultiTerm.matcher() has
+    an empty string.
+  * Don't try to write a vector if the list of items is empty.
+  * Implemented use of score_fn argument to NestedParent.
+  * Don't cache query -> bitset, since this somehow prevents the Searcher from
+    being collected.
+  * Changed README docs link to point to readthedocs.org.
+  * Change uses of dump[s]() to always use protocol 2 instead of -1
+    ("use latest protocol") so indices created with Python 3.x are backwards
+    compatible.
+  * Fix the analyzer in test_vector_unicode() to not lowercase, since this
+    makes the test fail on some Python versions.
+  * Actually use the split_fn passed by the user. Not sure what happened here.
+  * Handle pickled Schema objects that don't have a _subfields attribute.
+  * Added fix and tests for calling expand_prefix() with unicode.
+  * Fix short code for Swedish in language aliases.
+  * Fix missing a consecutive token during highlighting
+  * Added estimate_size() methods to SpanNear2.
+  * Removed reference to "allfields" keyword argument.
+  * Added tests/english-words.10.gz to manifest so it's included in the 
distribution.
+  * Fix warnings in docs build.
+  * BufferedWriter should call close() instead of commit() when exiting a 
context.
+  * Reinstate fields.IDLIST's analyzer.
+  * Change the version of my fork to be distinct from the base repo.
+  * Backed out changeset 96255fc8ff17
+  * A typo in `whoosh.fields.KEYWORD` documentation
+  * Created new branch romanian-stemmer
+  * Skip ISO-8859-1 suffixes on Unicode strings
+  * Created new branch spanish-tokenizer
+  * Add sanity check for Spanish stemmer
+  * Fix sample highlight class
+  * Reorder the self._tempstorage.destroy() in SegmentWriter._finish to
+    before the lock is released
+  * IOError from rmdir is ok if the error was ENOENT
+  * Fix reporting of total count in FilterCollector, based on PR #63 by Jannon 
Frank.
+  * Added a test for pickling a schema with a stemming analyzer.
+  * Initial unfinished, massive checkin of next-gen architecture.
+  * Fix forward-compatibility issue for Python 3.x.
+  * Write offsets in VarBytesColumn when there are more than a certain number 
of rows.
+  * Replaced porter stemming algorithm implementation with one based on the 
one in NLTK.
+  * Add IDEA's .cache directory to hgignore.
+  * Add IDEA's .cache directory to hgignore.
+  * Remove docstring chickenscratch.
+  * Fix test accidentally left with assert False at the end.
+  * Removed accidentally committed debug prints.
+  * Bumped version number for bugfix release.
+  * Added tag 2.7.1 for changeset 1bd4b9792eed
+  * Merging Bitbucket and local heads.
+  * Bumped version number.
+  * Added tag 2.7.2 for changeset f6bf123ac708
+  * Fixed logic for checking if floats are all whole in encode_weights.
+  * Change posting storage so the data from individual posts can be pulled
+    out as raw bytes.
+  * Fixed error in CommaSeparatedTokenizer.
+  * Fixed import error.
+  * Minor changes.
+  * Updated VarBytesColumn to store offsets as well as lengths.
+  * Added context protocol to Index class. Store TOC file name in object.
+  * Switched to lighter-weight posting block format.
+  * Forgot to check in pfor.py.
+  * Reduced size of and references to whoosh.compat, in anticipation of
+    using 3to2 for most things.
+  * Remove (object) from class definitions, assuming 3to2 will take care of it.
+  * Fixed problems from compat refactoring.
+  * Fixed problem with calling leaf matcher methods on a MultiMatcher.
+  * Don't encode bytes in _kws_to_query.
+  * Removed typing annotations to prevent circular import.
+  * Cleaned up filename generation/checking, added GC step to saving TOC.
+  * Added header checks in terms and postings files.
+  * Cleaned up storage cleanup, call it in SegmentWriter.cancel().
+  * Added another except clause to catch TypeError, because that's what's 
raised
+    if you try to pickle a function.
+  * Fixed error that discarded vector metadata when merging segments.
+  * Added ability to specify an analyzer in KEYWORD field constructor.
+  * Bumped version number to 2.7.3.
+  * Added tag 2.7.3 for changeset f5a1508e93fd
+  * Added HyphenFilter to collapse hyphenated words into single tokens.
+  * Have OrGroup.factory() return a real class instead of a function.
+  * Bumped version number.
+
+-------------------------------------------------------------------

Old:
----
  Whoosh-2.7.0.tar.gz

New:
----
  Whoosh-2.7.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-Whoosh.spec ++++++
--- /var/tmp/diff_new_pack.6fuQgj/_old  2017-06-26 15:56:56.524074660 +0200
+++ /var/tmp/diff_new_pack.6fuQgj/_new  2017-06-26 15:56:56.528074096 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Whoosh
 #
-# 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,26 +16,33 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without test
 Name:           python-Whoosh
-Version:        2.7.0
+Version:        2.7.4
 Release:        0
 Url:            http://www.turbogears.org
 Summary:        Fast, pure-Python full text indexing, search, and spell 
checking library
 License:        BSD-2-Clause
 Group:          Development/Languages/Python
-Source:         
http://pypi.python.org/packages/source/W/Whoosh/Whoosh-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/W/Whoosh/Whoosh-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-Sphinx
-BuildRequires:  python-devel
-BuildRequires:  python-pytest
-BuildRequires:  python-setuptools
-%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
+BuildRequires:  %{python_module Sphinx}
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
+# SECTION the testing dependencies
+%if %{with test}
+BuildRequires:  %{python_module pytest}
 %endif
+# /SECTION
+BuildArch:      noarch
+%ifpython2
 Provides:       python-whoosh = %{version}
 Obsoletes:      python-whoosh < %{version}
+%endif
+
+%python_subpackages
 
 %description
 Whoosh is a fast, pure-Python indexing and search library. Programmers can use
@@ -45,22 +52,41 @@
 fast at indexing and searching. Every part of how Whoosh works can be extended
 or replaced to meet your needs exactly.
 
+%package -n python-Whoosh-doc
+Summary:        Documentation for %{name}
+Group:          Documentation/Other
+Provides:       %{python_module Whoosh-doc = %{version}}
+
+%description -n python-Whoosh-doc
+Whoosh is a fast, pure-Python indexing and search library. Programmers can use
+it to easily add search functionality to their applications and websites.
+Because Whoosh is pure Python, you don't have to compile or install a binary
+support library and/or make Python work with a JVM, yet Whoosh is still very
+fast at indexing and searching. Every part of how Whoosh works can be extended
+or replaced to meet your needs exactly.
+This package contains the documentation.
+
 %prep
 %setup -q -n Whoosh-%{version}
 
 %build
-python setup.py build
+%python_build
 sphinx-build -b html -d docs/build/doctrees docs/source docs/build/html
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 
+%if %{with test}
 %check
-python setup.py test
+%python_exec setup.py test
+%endif
 
-%files 
+%files %{python_files}
 %defattr(-,root,root,-)
-%doc LICENSE.txt README.txt docs/build/html
+%doc LICENSE.txt README.txt
 %{python_sitelib}/*
 
+%files -n python-Whoosh-doc
+%doc LICENSE.txt docs/build/html
+
 %changelog

++++++ Whoosh-2.7.0.tar.gz -> Whoosh-2.7.4.tar.gz ++++++
++++ 1671 lines of diff (skipped)


Reply via email to