forked from pool/python-shortuuid
Accepting request 944972 from home:jayvdb:branches:devel:languages:python
- Remove tests from runtime package - Update to v1.0.8 (fixes breakage) OBS-URL: https://build.opensuse.org/request/show/944972 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-shortuuid?expand=0&rev=9
This commit is contained in:
@@ -1,3 +1,25 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 9 02:02:33 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Remove tests from runtime package
|
||||||
|
- Update to v1.0.8
|
||||||
|
* Include the COPYING file in releases
|
||||||
|
- from v1.0.7
|
||||||
|
* Add prefix and max_length to the Django field
|
||||||
|
- from v1.0.6
|
||||||
|
* Fix compatibility for python versions older than 3.8
|
||||||
|
- from v1.0.5
|
||||||
|
* Don't try to get the version from the pyproject.toml
|
||||||
|
* Fix slow loading times from using pkg_resources
|
||||||
|
- from v1.0.4
|
||||||
|
* Fix the cli interface that the previous release broke
|
||||||
|
- from v1.0.3
|
||||||
|
* Add Django ShortUUIDField
|
||||||
|
- from v1.0.2
|
||||||
|
* Added basic input type validation to encode and decode
|
||||||
|
* Use sys.version_info since sys.version returns string that
|
||||||
|
interprets 3.10 as 3.1 in comparison
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 18 11:29:15 UTC 2020 - pgajdos@suse.com
|
Wed Mar 18 11:29:15 UTC 2020 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-shortuuid
|
# spec file for package python-shortuuid
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2022 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
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-shortuuid
|
Name: python-shortuuid
|
||||||
Version: 1.0.1
|
Version: 1.0.8
|
||||||
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
|
||||||
@@ -30,6 +30,9 @@ BuildRequires: %{python_module pytest}
|
|||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun):update-alternatives
|
||||||
|
Requires: python-base
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -46,14 +49,24 @@ similar-looking letters and numbers.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_clone -a %{buildroot}%{_bindir}/shortuuid
|
||||||
|
%{python_expand rm %{buildroot}%{$python_sitelib}/shortuuid/tests.py
|
||||||
|
%fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest shortuuid/tests.py
|
%pytest shortuuid/tests.py
|
||||||
|
|
||||||
|
%post
|
||||||
|
%python_install_alternative shortuuid
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%python_uninstall_alternative shortuuid
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.md
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{python_sitelib}/*
|
%python_alternative %{_bindir}/shortuuid
|
||||||
|
%{python_sitelib}/*shortuuid*/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3c11d2007b915c43bee3e10625f068d8a349e04f0d81f08f5fa08507427ebf1f
|
|
||||||
size 6974
|
|
3
shortuuid-1.0.8.tar.gz
Normal file
3
shortuuid-1.0.8.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9435e87e5a64f3b92f7110c81f989a3b7bdb9358e22d2359829167da476cfc23
|
||||||
|
size 8302
|
Reference in New Issue
Block a user