forked from pool/python-pyahocorasick
- Fix Summary to make rpmlint happy. That’s all we care about, isn’t it,
to make rpmlint happy? OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyahocorasick?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 15 13:41:37 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Fix Summary to make rpmlint happy. That’s all we care about, isn’t it,
|
||||||
|
to make rpmlint happy?
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 15 11:40:58 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
Mon Mar 15 11:40:58 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
@@ -20,29 +20,30 @@
|
|||||||
Name: python-pyahocorasick
|
Name: python-pyahocorasick
|
||||||
Version: 1.4.1
|
Version: 1.4.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Fast and memory efficient library for exact or approximate multi-pattern string search
|
Summary: Library for exact or approximate multi-pattern string search
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: http://github.com/WojciechMula/pyahocorasick
|
URL: http://github.com/WojciechMula/pyahocorasick
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pyahocorasick/pyahocorasick-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pyahocorasick/pyahocorasick-%{version}.tar.gz
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
BuildRequires: %{python_module Cython}
|
BuildRequires: %{python_module Cython}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
**pyahocorasick** is a fast and memory efficient library for exact or approximate
|
**pyahocorasick** is a fast and memory efficient library for exact or
|
||||||
multi-pattern string search meaning that you can find multiple key strings
|
approximate multi-pattern string search meaning that you can find
|
||||||
occurrences at once in some input text. The library provides an `ahocorasick` Python
|
multiple key strings occurrences at once in some input text. The
|
||||||
module that you can use as a plain dict-like Trie or convert a Trie to an automaton
|
library provides an `ahocorasick` Python module that you can use as
|
||||||
for efficient Aho-Corasick search.
|
a plain dict-like Trie or convert a Trie to an automaton for efficient
|
||||||
|
Aho-Corasick search.
|
||||||
|
|
||||||
It is implemented in C and tested on Python 2.7 and 3.4+. It works on Linux, Mac and
|
It is implemented in C and tested on Python 2.7 and 3.4+. It works on
|
||||||
Windows.
|
Linux, Mac and Windows.
|
||||||
|
|
||||||
The license is BSD-3-clause. Some utilities, such as tests and the pure Python
|
The license is BSD-3-clause. Some utilities, such as tests and the pure
|
||||||
automaton are dedicated to the Public Domain.
|
Python automaton are dedicated to the Public Domain.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pyahocorasick-%{version}
|
%setup -q -n pyahocorasick-%{version}
|
||||||
@@ -55,7 +56,7 @@ automaton are dedicated to the Public Domain.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pyunittest_arch unittests.py
|
%pyunittest_arch -v unittests.py
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
Reference in New Issue
Block a user