From 8730125ae58fd07769a610326d720496de1a7e2c1682f0b1daf06987345f71d9 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Mon, 3 Oct 2022 13:59:30 +0000 Subject: [PATCH] Accepting request 1007650 from devel:languages:python baserev update by copy to link target OBS-URL: https://build.opensuse.org/request/show/1007650 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-binary-memcached?expand=0&rev=5 --- .gitattributes | 23 +++++++++ .gitignore | 1 + drop-m2r-dependency.patch | 23 +++++++++ python-binary-memcached-0.31.1.tar.gz | 3 ++ python-python-binary-memcached.changes | 14 ++++++ python-python-binary-memcached.spec | 64 ++++++++++++++++++++++++++ 6 files changed, 128 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 drop-m2r-dependency.patch create mode 100644 python-binary-memcached-0.31.1.tar.gz create mode 100644 python-python-binary-memcached.changes create mode 100644 python-python-binary-memcached.spec 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/drop-m2r-dependency.patch b/drop-m2r-dependency.patch new file mode 100644 index 0000000..e9b7838 --- /dev/null +++ b/drop-m2r-dependency.patch @@ -0,0 +1,23 @@ +CHANGELOG.md is anyway missing in the sdist tarball + +--- python-binary-memcached-0.31.1/setup.py ++++ python-binary-memcached-0.31.1/setup.py +@@ -2,7 +2,6 @@ + import sys + + from setuptools import setup +-from m2r import convert + + + def read(filename): +@@ -19,8 +18,8 @@ + author="Jayson Reis", + author_email="santosdosreis@gmail.com", + description="A pure python module to access memcached via its binary protocol with SASL auth support", +- long_description="{0}\n{1}".format( +- read("README.rst"), convert(read("CHANGELOG.md")) ++ long_description="{0}".format( ++ read("README.rst") + ), + url="https://github.com/jaysonsantos/python-binary-memcached", + packages=["bmemcached", "bmemcached.client"], diff --git a/python-binary-memcached-0.31.1.tar.gz b/python-binary-memcached-0.31.1.tar.gz new file mode 100644 index 0000000..1854ce2 --- /dev/null +++ b/python-binary-memcached-0.31.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de4056f00a15d054dcf1af87d6cc9564876699e52da954c3ef44e8c5753d4050 +size 95924 diff --git a/python-python-binary-memcached.changes b/python-python-binary-memcached.changes new file mode 100644 index 0000000..08ad811 --- /dev/null +++ b/python-python-binary-memcached.changes @@ -0,0 +1,14 @@ +------------------------------------------------------------------- +Fri Sep 30 12:19:52 UTC 2022 - Dirk Müller + +- update to 0.31.1: + * Use bytearrays for building up bytes for I/O. (#245) + * Expose incr/decr ``default`` and ``time`` protocol arguments in client class (#243) + * Add ability to return default value on get but breaking get's API + * Support an arbitrary collection of keys, not just a list +- add drop-m2r-dependency.patch + +------------------------------------------------------------------- +Fri Jun 12 11:21:10 PM UTC 2020 - John Vandenberg + +- Initial spec for v0.29.0 diff --git a/python-python-binary-memcached.spec b/python-python-binary-memcached.spec new file mode 100644 index 0000000..b098fce --- /dev/null +++ b/python-python-binary-memcached.spec @@ -0,0 +1,64 @@ +# +# spec file for package python-python-binary-memcached +# +# 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/ +# + + +%{?!python_module:%define python_module() python3-%{**}} +Name: python-python-binary-memcached +Version: 0.31.1 +Release: 0 +Summary: Access memcached via its binary protocol with SASL auth support +License: MIT +Group: Development/Languages/Python +URL: https://github.com/jaysonsantos/python-binary-memcached +Source: https://files.pythonhosted.org/packages/source/p/python-binary-memcached/python-binary-memcached-%{version}.tar.gz +Patch1: drop-m2r-dependency.patch +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-six +Requires: python-uhashring +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module uhashring} +# /SECTION +%python_subpackages + +%description +A pure python module to access memcached via its binary protocol with SASL auth support + +%prep +%setup -q -n python-binary-memcached-%{version} +%patch1 -p1 + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%python_exec setup.py test + +%files %{python_files} +%license LICENSE +%doc README.rst +%{python_sitelib}/* + +%changelog