forked from pool/python-pika-pool
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pika-pool?expand=0&rev=14
60 lines
1.9 KiB
RPMSpec
60 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package python-pika-pool
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: python-pika-pool
|
|
Version: 0.1.3
|
|
Release: 0
|
|
Summary: Pools for pikas
|
|
License: BSD-3-Clause
|
|
Group: Development/Languages/Python
|
|
URL: https://github.com/bninja/pika-pool
|
|
Source: https://files.pythonhosted.org/packages/source/p/pika-pool/pika-pool-%{version}.tar.gz
|
|
BuildRequires: %{python_module pika}
|
|
BuildRequires: %{python_module pip}
|
|
BuildRequires: %{python_module setuptools}
|
|
BuildRequires: %{python_module wheel}
|
|
BuildRequires: python-rpm-macros
|
|
Requires: python-pika >= 0.9
|
|
BuildArch: noarch
|
|
%python_subpackages
|
|
|
|
%description
|
|
Pika connection pooling inspired by:
|
|
|
|
- `flask-pika <https://github.com/WeatherDecisionTechnologies/flask-pika>`_
|
|
- `sqlalchemy.pool.Pool <http://docs.sqlalchemy.org/en/latest/core/pooling.html#sqlalchemy.pool.Pool>`_
|
|
|
|
Typically you'll go with local `shovels <https://www.rabbitmq.com/shovel.html>`_, `krazee-eyez kombu <http://bit.ly/1txcnnO>`_, etc. but this works too.
|
|
|
|
%prep
|
|
%setup -q -n pika-pool-%{version}
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
%install
|
|
%pyproject_install
|
|
|
|
%files %{python_files}
|
|
%doc README.rst
|
|
%{python_sitelib}/pika_pool.py
|
|
%{python_sitelib}/pika[-_]pool-%{version}*-info
|
|
%pycache_only %{python_sitelib}/__pycache__/pika[-_]pool*
|
|
|
|
%changelog
|