forked from pool/python-python-binary-memcached
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
This commit is contained in:
committed by
Git OBS Bridge
commit
8730125ae5
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
23
drop-m2r-dependency.patch
Normal file
23
drop-m2r-dependency.patch
Normal file
@@ -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"],
|
3
python-binary-memcached-0.31.1.tar.gz
Normal file
3
python-binary-memcached-0.31.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:de4056f00a15d054dcf1af87d6cc9564876699e52da954c3ef44e8c5753d4050
|
||||||
|
size 95924
|
14
python-python-binary-memcached.changes
Normal file
14
python-python-binary-memcached.changes
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 30 12:19:52 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- 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 <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Initial spec for v0.29.0
|
64
python-python-binary-memcached.spec
Normal file
64
python-python-binary-memcached.spec
Normal file
@@ -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
|
Reference in New Issue
Block a user