SHA256
14
0
forked from pool/python-rq

- Update to 1.1.0:

* Many feature updates and bugfixes to support new python stack
- Execute tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rq?expand=0&rev=2
This commit is contained in:
Tomáš Chvátal
2019-08-12 15:16:47 +00:00
committed by Git OBS Bridge
parent 607bc84851
commit 5a3cc97a5c
4 changed files with 35 additions and 14 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Aug 12 15:07:48 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.1.0:
* Many feature updates and bugfixes to support new python stack
- Execute tests
-------------------------------------------------------------------
Mon Feb 4 13:40:07 UTC 2019 - Marcus Rueckert <mrueckert@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-argparse-manpage
# spec file for package python-rq
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@@ -12,23 +12,28 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define mod_name rq
%define skip_python2 1
%define mod_name rq
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-rq
Version: 0.13.0
Version: 1.1.0
Release: 0
Summary: Easy Job Queues for Python
License: Apache-2.0
Group: Development/Languages/Python
Url: http://python-rq.org/
Source: %{mod_name}-%{version}.tar.gz
URL: https://github.com/rq/rq
Source: https://github.com/rq/rq/archive/v%{version}.tar.gz
BuildRequires: %{python_module click >= 3.0}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module redis >= 3.0.0}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: psmisc
BuildRequires: python-rpm-macros
Requires: python-click >= 3.0
Requires: python-redis >= 3.0.0
%python_subpackages
@@ -46,11 +51,20 @@ to have a low barrier to entry. It can be integrated in your web stack easily.
%install
%python_install
%python_expand rm -r %{buildroot}%{$python_sitelib}/tests/
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# test_failure_capture - circular dependency on sentry-sdk
export PATH="$PATH:%{buildroot}%{_bindir}"
%{_sbindir}/redis-server --port 6379 &
%pytest -k 'not test_failure_capture'
killall redis-server
%files %{python_files}
%doc README* PKG-INFO
%doc README.md CHANGES.md
%license LICENSE
%{python_sitelib}/*
%{_bindir}/rq*
%python3_only %{_bindir}/rq*
%changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2ef7de3fa26a4ce41dcd0561bdba12bb62fa5b9b6d21120122d8dbbe44bb6a77
size 45487

3
v1.1.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:337cfe56e8859a6ca8c8bd4b8632997b949ca3106cee789b37a1ef02c8243939
size 550664