forked from pool/python-uhashring
Accepting request 1084228 from devel:languages:python
- update to 2.3: * support for python 3.11 * support for python 3.10 * drop support of EOL python 3.6 * migrate to hatch * fix test_distribution to be deterministic (using randint causes a fai… (#17), by Ben Hockley * ci: add github actions OBS-URL: https://build.opensuse.org/request/show/1084228 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uhashring?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 3 09:14:04 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2.3:
|
||||||
|
* support for python 3.11
|
||||||
|
* support for python 3.10
|
||||||
|
* drop support of EOL python 3.6
|
||||||
|
* migrate to hatch
|
||||||
|
* fix test_distribution to be deterministic
|
||||||
|
(using randint causes a fai… (#17), by Ben Hockley
|
||||||
|
* ci: add github actions
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 3 09:22:52 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
Mon Oct 3 09:22:52 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-uhashring
|
# spec file for package python-uhashring
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,15 +18,19 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-uhashring
|
Name: python-uhashring
|
||||||
Version: 2.1
|
Version: 2.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Full featured consistent hashing python library compatible with ketama
|
Summary: Full featured consistent hashing python library compatible with ketama
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/ultrabug/uhashring
|
URL: https://github.com/ultrabug/uhashring
|
||||||
Source: https://files.pythonhosted.org/packages/source/u/uhashring/uhashring-%{version}.tar.gz
|
Source: https://github.com/ultrabug/uhashring/archive/refs/tags/%{version}.tar.gz#/uhashring-%{version}-gh.tar.gz
|
||||||
BuildRequires: %{python_module devel >= 3.6}
|
BuildRequires: %{python_module devel >= 3.6}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module hatchling}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module python-memcached}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -39,14 +43,14 @@ Full featured consistent hashing python library compatible with ketama.
|
|||||||
%setup -q -n uhashring-%{version}
|
%setup -q -n uhashring-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec setup.py test
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b21340d0d32497a67f34f5177a64908115fdc23264ed87fa7d1eca79ef9641fa
|
|
||||||
size 18288
|
|
3
uhashring-2.3-gh.tar.gz
Normal file
3
uhashring-2.3-gh.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:aeebb2a2b5014a78307d663807337c0de8be1ff27474ea6808928ca948e88381
|
||||||
|
size 14332
|
Reference in New Issue
Block a user