From 95de91900ff882d3c67aa32bd918252c98563764a104cda918b7070ed7bd1e62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 16 Jun 2020 12:17:04 +0000 Subject: [PATCH] osc copypac from project:home:jayvdb:django package:python-python-redis-lock revision:2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-redis-lock?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + python-python-redis-lock.changes | 4 +++ python-python-redis-lock.spec | 61 ++++++++++++++++++++++++++++++++ python-redis-lock-3.3.1.tar.gz | 3 ++ 5 files changed, 92 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-python-redis-lock.changes create mode 100644 python-python-redis-lock.spec create mode 100644 python-redis-lock-3.3.1.tar.gz 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/python-python-redis-lock.changes b/python-python-redis-lock.changes new file mode 100644 index 0000000..a899927 --- /dev/null +++ b/python-python-redis-lock.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Mar 27 08:50:40 AM UTC 2019 - John Vandenberg + +- Initial spec for v3.3.1 diff --git a/python-python-redis-lock.spec b/python-python-redis-lock.spec new file mode 100644 index 0000000..66e4656 --- /dev/null +++ b/python-python-redis-lock.spec @@ -0,0 +1,61 @@ +# +# spec file for package python-python-redis-lock +# +# 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 +# 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/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-python-redis-lock +Version: 3.3.1 +Release: 0 +Summary: Lock context manager implemented via redis SETNX/BLPOP +License: BSD-2-Clause +Group: Development/Languages/Python +URL: https://github.com/ionelmc/python-redis-lock +Source: https://files.pythonhosted.org/packages/source/p/python-redis-lock/python-redis-lock-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-redis >= 2.10.0 +Suggests: python-django-redis >= 3.8.0 +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module redis >= 2.10.0} +BuildRequires: %{python_module django-redis >= 3.8.0} +# /SECTION +%python_subpackages + +%description +Lock context manager implemented via redis SETNX/BLPOP. + +%prep +%setup -q -n python-redis-lock-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%python_exec setup.py test + +%files %{python_files} +%doc AUTHORS.rst CHANGELOG.rst README.rst +%license LICENSE +%{python_sitelib}/* + +%changelog diff --git a/python-redis-lock-3.3.1.tar.gz b/python-redis-lock-3.3.1.tar.gz new file mode 100644 index 0000000..e2883b0 --- /dev/null +++ b/python-redis-lock-3.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5316d473ce6ce86a774b9f9c110d84c3a9bd1a2abfda5d99e9c0c8a872a8e6d6 +size 158759