- Switch to pyproject and pytest macros.
- No more greedy globs in %files. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-binary-memcached?expand=0&rev=10
This commit is contained in:
commit
83b6662565
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
|
3
python-binary-memcached-0.31.2.tar.gz
Normal file
3
python-binary-memcached-0.31.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:290f70451e277df6a39aa0eea3cb6ca2eefcf5d601f957cf2ec1d353d7676c03
|
||||
size 96474
|
27
python-python-binary-memcached.changes
Normal file
27
python-python-binary-memcached.changes
Normal file
@ -0,0 +1,27 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 11 04:54:20 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject and pytest macros.
|
||||
- No more greedy globs in %files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 3 09:07:48 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.31.2:
|
||||
* Remove setup's.py dependency on m2r
|
||||
- drop drop-m2r-dependency.patch (upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
70
python-python-binary-memcached.spec
Normal file
70
python-python-binary-memcached.spec
Normal file
@ -0,0 +1,70 @@
|
||||
#
|
||||
# spec file for package python-python-binary-memcached
|
||||
#
|
||||
# Copyright (c) 2024 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/
|
||||
#
|
||||
|
||||
|
||||
Name: python-python-binary-memcached
|
||||
Version: 0.31.2
|
||||
Release: 0
|
||||
Summary: Access memcached via its binary protocol with SASL auth support
|
||||
License: MIT
|
||||
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
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module trustme}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: memcached
|
||||
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}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
export MEMCACHED_HOST=localhost
|
||||
memcached &
|
||||
pid=$!
|
||||
%pytest -k 'not (SocketMemcachedTests or BinaryMemcachedTests or MemcachedTests)'
|
||||
kill $pid
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python_sitelib}/bmemcached
|
||||
%{python_sitelib}/python_binary_memcached-%{version}.dist-info
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user