commit af4e3605f85bcbd431dcec4b79df01542ead2c830a583648bdff93f45e95f134 Author: John Vandenberg Date: Tue Oct 11 04:07:04 2022 +0000 Accepting request 1009645 from home:jayvdb:django 1.6k github stars already being maintained over a long period by https://build.opensuse.org/users/zombah OBS-URL: https://build.opensuse.org/request/show/1009645 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-rq?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/django-rq-2.5.1.tar.gz b/django-rq-2.5.1.tar.gz new file mode 100644 index 0000000..ac7f7fc --- /dev/null +++ b/django-rq-2.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5cb9e13f364852f80ce421262d38eef7b20be91d0de932e75f094836ea5bf06e +size 119721 diff --git a/python-django-rq.changes b/python-django-rq.changes new file mode 100644 index 0000000..2a35a87 --- /dev/null +++ b/python-django-rq.changes @@ -0,0 +1,60 @@ +------------------------------------------------------------------- +Tue Oct 11 01:46:54 UTC 2022 - John Vandenberg + +- Activate test suite +- Tidy spec + +------------------------------------------------------------------- +Tue Apr 12 23:51:34 UTC 2022 - Misha Komarovskiy + +- Update to 2.5.1 + * Redis.from_url does not accept ssl_cert_reqs argument for + non SSL Redis URL. Thanks @barash-asenov! + +------------------------------------------------------------------- +Mon Aug 30 22:59:02 UTC 2021 - Misha Komarovskiy + +- update to 2.4.1 + +------------------------------------------------------------------- +Thu May 14 21:44:43 UTC 2020 - Misha Komarovskiy + +- update to 2.3.2 + - Support for RQ >= 1.4.0 + +------------------------------------------------------------------- +Thu Apr 23 16:31:23 UTC 2020 - Marcus Rueckert + +- Update to 2.3.1 + - Added `--with-scheduler` argument to `rqworker` management + command. Thanks @stlk! + - Fixed a bug where opening job detail would crash if + job.dependency no longer exists. Thanks @selwin! + - Support for RQ's new `ScheduledJobRegistry`. Thanks @Yolley! + - Improve performance when displaying pages showing a large + number of jobs by using `Job.fetch_many()`. Thanks @selwin! + - `django-rq` will now automatically cleanup orphaned worker keys + in job registries. Thanks @selwin! + - Site name now properly displayed in Django-RQ admin pages. + Thanks @tom-price! + - `NoSuchJobError`s are now handled properly when requeuing all + jobs. Thanks @thomasmatecki! + - Support for displaying jobs with names containing `$`. Thanks + @gowthamk63! + +------------------------------------------------------------------- +Sat Jan 18 00:34:10 UTC 2020 - Marcus Rueckert + +- Update to 2.2.0 + - Support for Django 3.0. This release also drops support for + Django 1.X. Thanks @hugorodgerbrown! + - `rqworker` management command now properly passes in + `--verbosity` to `Worker`. Thanks @stlk! + - The admin interface can now view jobs with `:` on their IDs. + Thanks @carboncoop! + - Job detail page now shows `job.dependency`. Thanks @selwin! + +------------------------------------------------------------------- +Sat Sep 28 07:49:00 UTC 2019 - ecsos@opensuse.org + +- Initial version diff --git a/python-django-rq.spec b/python-django-rq.spec new file mode 100644 index 0000000..1e9aa4b --- /dev/null +++ b/python-django-rq.spec @@ -0,0 +1,72 @@ +# +# spec file for package python-django-rq +# +# Copyright (c) 2022 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/ +# + + +%define skip_python2 1 +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-django-rq +Version: 2.5.1 +Release: 0 +Summary: Simple app that provides django integration for RQ (Redis Queue) +License: MIT +Group: Development/Languages/Python +URL: https://github.com/rq/django-rq +Source: https://github.com/rq/django-rq/archive/v%{version}/django-rq-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-Django >= 2.0 +Requires: python-rq >= 1.2 +Recommends: python-django-redis >= 3.0 +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module Django >= 2.0} +BuildRequires: %{python_module django-redis >= 3.0} +BuildRequires: %{python_module pytest-django} +BuildRequires: %{python_module rq >= 1.2} +BuildRequires: redis +# /SECTION +%python_subpackages + +%description +Django integration with RQ, a Redis based Python queuing library. +Django-RQ is a simple app that allows you to configure your queues +in django's settings.py and easily use them in your project. + +%prep +%setup -q -n django-rq-%{version} + +%build +%python_build + +%install +%python_install +%python_expand rm -r %{buildroot}%{$python_sitelib}/django_rq/tests/ +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%{_sbindir}/redis-server & +export PYTHONPATH=${PWD} +export DJANGO_SETTINGS_MODULE=django_rq.tests.settings +%pytest -k 'not (test_job_details or test_jobs)' + +%files %{python_files} +%license LICENSE.txt +%doc README.rst +%{python_sitelib}/django[-_]rq*/ + +%changelog