From 5ecef0126c9fa77bc7b5a6651b3aa5b8e02f404b814ad76154f04b651b552ccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 18 Mar 2020 17:38:47 +0000 Subject: [PATCH] Accepting request 786192 from home:pgajdos:python - version update to 2.8.4 * `#89 `_: Properly coerce versions with leading zeroes in components (e.g. ``1.01.007``) - Add `Clause.prettyprint()` for debugging * `#86 `_: Fix handling of prerelease ranges within `NpmSpec` OBS-URL: https://build.opensuse.org/request/show/786192 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-semantic_version?expand=0&rev=11 --- python-semantic_version.changes | 11 +++++++++++ python-semantic_version.spec | 7 ++++--- semantic_version-2.8.2.tar.gz | 3 --- semantic_version-2.8.4.tar.gz | 3 +++ 4 files changed, 18 insertions(+), 6 deletions(-) delete mode 100644 semantic_version-2.8.2.tar.gz create mode 100644 semantic_version-2.8.4.tar.gz diff --git a/python-semantic_version.changes b/python-semantic_version.changes index 23f3c37..75b58a3 100644 --- a/python-semantic_version.changes +++ b/python-semantic_version.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Mar 18 13:38:47 UTC 2020 - pgajdos@suse.com + +- version update to 2.8.4 + * `#89 `_: + Properly coerce versions with leading zeroes in components (e.g. + ``1.01.007``) + - Add `Clause.prettyprint()` for debugging + * `#86 `_: + Fix handling of prerelease ranges within `NpmSpec` + ------------------------------------------------------------------- Tue Sep 10 10:29:15 UTC 2019 - Tomáš Chvátal diff --git a/python-semantic_version.spec b/python-semantic_version.spec index cf5259f..b3b06cc 100644 --- a/python-semantic_version.spec +++ b/python-semantic_version.spec @@ -1,7 +1,7 @@ # # spec file for package python-semantic_version # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,13 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-semantic_version -Version: 2.8.2 +Version: 2.8.4 Release: 0 Summary: A library implementing the 'SemVer' scheme License: BSD-2-Clause Group: Development/Languages/Python URL: https://github.com/rbarrois/python-semanticversion Source: https://files.pythonhosted.org/packages/source/s/semantic_version/semantic_version-%{version}.tar.gz +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -46,7 +47,7 @@ It follows strictly the 2.0.0 version of the SemVer scheme. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pytest %files %{python_files} %license LICENSE diff --git a/semantic_version-2.8.2.tar.gz b/semantic_version-2.8.2.tar.gz deleted file mode 100644 index 5a60e5c..0000000 --- a/semantic_version-2.8.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:71c716e99086c44d068262b86e4775aa6db7fabee0743e4e33b00fbf6f672585 -size 49243 diff --git a/semantic_version-2.8.4.tar.gz b/semantic_version-2.8.4.tar.gz new file mode 100644 index 0000000..91b5716 --- /dev/null +++ b/semantic_version-2.8.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:352459f640f3db86551d8054d1288608b29a96e880c7746f0a59c92879d412a3 +size 49774