diff --git a/python-rq.changes b/python-rq.changes index 5521aed..4213ba6 100644 --- a/python-rq.changes +++ b/python-rq.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Aug 12 15:07:48 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-rq.spec b/python-rq.spec index fc10de2..308b2ce 100644 --- a/python-rq.spec +++ b/python-rq.spec @@ -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 - diff --git a/rq-0.13.0.tar.gz b/rq-0.13.0.tar.gz deleted file mode 100644 index 07912b5..0000000 --- a/rq-0.13.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2ef7de3fa26a4ce41dcd0561bdba12bb62fa5b9b6d21120122d8dbbe44bb6a77 -size 45487 diff --git a/v1.1.0.tar.gz b/v1.1.0.tar.gz new file mode 100644 index 0000000..2d19ec4 --- /dev/null +++ b/v1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:337cfe56e8859a6ca8c8bd4b8632997b949ca3106cee789b37a1ef02c8243939 +size 550664