2014-02-10 10:18:22 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-queuelib
|
|
|
|
#
|
2024-06-10 09:52:48 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2014-02-10 10:18:22 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-12-04 13:58:24 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-12-21 22:42:54 +00:00
|
|
|
#
|
2014-02-10 10:18:22 +00:00
|
|
|
|
|
|
|
|
2017-12-21 22:42:54 +00:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
2014-02-10 10:18:22 +00:00
|
|
|
Name: python-queuelib
|
2024-06-10 09:52:48 +00:00
|
|
|
Version: 1.7.0
|
2014-02-10 10:18:22 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Collection of Persistent (Disk-Based) Queues
|
2017-12-21 22:42:54 +00:00
|
|
|
License: BSD-2-Clause
|
2019-11-15 10:22:11 +00:00
|
|
|
URL: https://github.com/scrapy/queuelib
|
2017-12-21 22:42:54 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/q/queuelib/queuelib-%{version}.tar.gz
|
|
|
|
BuildRequires: %{python_module setuptools}
|
2019-11-15 10:22:11 +00:00
|
|
|
BuildRequires: %{pythons}
|
2017-12-21 22:42:54 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
2019-11-15 10:22:11 +00:00
|
|
|
Requires: python
|
|
|
|
BuildArch: noarch
|
2018-11-17 16:07:31 +00:00
|
|
|
# SECTION test requirements
|
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
# /SECTION
|
2017-12-21 22:42:54 +00:00
|
|
|
%python_subpackages
|
2014-02-10 10:18:22 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Queuelib is a collection of persistent (disk-based) queues for Python.
|
|
|
|
|
2017-12-21 22:42:54 +00:00
|
|
|
Queuelib goals are speed and simplicity. It was originally part of the
|
|
|
|
`Scrapy framework`_ and stripped out on its own library.
|
2014-02-10 10:18:22 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n queuelib-%{version}
|
|
|
|
|
|
|
|
%build
|
2017-12-21 22:42:54 +00:00
|
|
|
%python_build
|
2014-02-10 10:18:22 +00:00
|
|
|
|
|
|
|
%install
|
2017-12-21 22:42:54 +00:00
|
|
|
%python_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
%check
|
2021-09-08 07:39:58 +00:00
|
|
|
%pyunittest discover -v
|
2014-02-10 10:18:22 +00:00
|
|
|
|
2017-12-21 22:42:54 +00:00
|
|
|
%files %{python_files}
|
2018-11-17 16:07:31 +00:00
|
|
|
%doc README.rst NEWS
|
|
|
|
%license LICENSE
|
2014-02-10 10:18:22 +00:00
|
|
|
%{python_sitelib}/*
|
|
|
|
|
2017-12-21 22:42:54 +00:00
|
|
|
%changelog
|