14
0

- update to 1.0.13:

* require python 3.6+
  * switch to poetry

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-shortuuid?expand=0&rev=17
This commit is contained in:
2024-03-16 13:20:07 +00:00
committed by Git OBS Bridge
parent ad25746a0f
commit f3322ee2fb
4 changed files with 19 additions and 9 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Mar 16 13:19:34 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.0.13:
* require python 3.6+
* switch to poetry
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jun 25 07:16:19 UTC 2023 - Andreas Schneider <asn@cryptomilk.org> Sun Jun 25 07:16:19 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-shortuuid # spec file for package python-shortuuid
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 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,19 +18,21 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-shortuuid Name: python-shortuuid
Version: 1.0.11 Version: 1.0.13
Release: 0 Release: 0
Summary: A generator library for concise, unambiguous and URL-safe UUIDs Summary: A generator library for concise, unambiguous and URL-safe UUIDs
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/stochastic-technologies/shortuuid/ URL: https://github.com/stochastic-technologies/shortuuid/
Source: https://files.pythonhosted.org/packages/source/s/shortuuid/shortuuid-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/s/shortuuid/shortuuid-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun): update-alternatives
Requires: python-base Requires: python-base
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@@ -44,11 +46,12 @@ similar-looking letters and numbers.
%setup -q -n shortuuid-%{version} %setup -q -n shortuuid-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_clone -a %{buildroot}%{_bindir}/shortuuid %python_clone -a %{buildroot}%{_bindir}/shortuuid
%python_expand rm %{buildroot}%{$python_sitelib}/COPYING
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc75f2615914815a8e4cb1501b3a513745cb66ef0fd5fc6fb9f8c3fa3481f789
size 10523

3
shortuuid-1.0.13.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3bb9cf07f606260584b1df46399c0b87dd84773e7b25912b7e391e30797c5e72
size 9662