2019-01-02 15:10:06 +01:00
|
|
|
#
|
2023-03-30 10:31:37 +02:00
|
|
|
# spec file
|
2019-01-02 15:10:06 +01:00
|
|
|
#
|
2023-03-30 10:31:37 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2019-01-02 15:10:06 +01:00
|
|
|
# Copyright (c) 2018 Matthias Fehring <buschmann23@opensuse.org>
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-01-02 15:15:56 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2019-01-02 15:10:06 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
|
|
%define _pkgname celery-batches
|
|
|
|
Name: python-%{_pkgname}
|
2023-08-09 09:40:27 +02:00
|
|
|
Version: 0.8.1
|
2019-01-02 15:10:06 +01:00
|
|
|
Release: 0
|
2019-01-13 19:16:26 +01:00
|
|
|
Summary: Django module to process multiple Celery task requests together
|
2019-01-02 15:10:06 +01:00
|
|
|
License: BSD-3-Clause
|
|
|
|
Group: Development/Languages/Python
|
2019-01-02 15:15:56 +01:00
|
|
|
URL: https://github.com/percipient/celery-batches
|
2019-01-02 15:10:06 +01:00
|
|
|
Source: https://github.com/percipient/%{_pkgname}/archive/v%{version}.tar.gz#/%{_pkgname}-%{version}.tar.gz
|
2021-01-26 15:42:29 +01:00
|
|
|
Patch0: celery-fixtures.patch
|
2023-08-09 09:40:27 +02:00
|
|
|
BuildRequires: %{python_module base >= 3.8}
|
|
|
|
BuildRequires: %{python_module celery >= 5.0}
|
2019-01-02 15:10:06 +01:00
|
|
|
BuildRequires: %{python_module coverage}
|
2023-03-30 10:31:37 +02:00
|
|
|
BuildRequires: %{python_module pip}
|
2019-01-02 15:15:56 +01:00
|
|
|
BuildRequires: %{python_module pytest}
|
2019-01-02 15:10:06 +01:00
|
|
|
BuildRequires: %{python_module pytz}
|
2023-03-30 10:31:37 +02:00
|
|
|
BuildRequires: %{python_module wheel}
|
2019-01-02 15:15:56 +01:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
2021-01-26 15:42:29 +01:00
|
|
|
Requires: python-celery >= 4.4
|
2019-01-02 15:10:06 +01:00
|
|
|
BuildArch: noarch
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
2019-01-13 19:16:26 +01:00
|
|
|
An alternate way to have Django DRY forms. The developer can build
|
|
|
|
programmatic reusable layouts out of components, having control of
|
|
|
|
the rendered HTML without writing HTML in templates, without breaking
|
|
|
|
the standard way of doing things in Django, so that it still works
|
|
|
|
with any other form application.
|
2019-01-02 15:10:06 +01:00
|
|
|
|
|
|
|
%prep
|
2023-03-30 10:31:37 +02:00
|
|
|
%autosetup -p1 -n %{_pkgname}-%{version}
|
2019-01-02 15:10:06 +01:00
|
|
|
|
|
|
|
%build
|
2023-03-30 10:31:37 +02:00
|
|
|
%pyproject_wheel
|
2019-01-02 15:10:06 +01:00
|
|
|
|
|
|
|
%install
|
2023-03-30 10:31:37 +02:00
|
|
|
%pyproject_install
|
2019-01-02 15:10:06 +01:00
|
|
|
|
|
|
|
%check
|
2019-12-05 12:36:43 +01:00
|
|
|
%pytest t/
|
2019-01-02 15:10:06 +01:00
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
%doc README.rst CHANGELOG.rst
|
|
|
|
%license LICENSE
|
|
|
|
%{python_sitelib}/*
|
|
|
|
|
|
|
|
%changelog
|