From d62028be47461d93a48431d5f9fcec7b9c86080ffff9ced27fb71e1eb9e59337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 9 May 2020 17:30:28 +0000 Subject: [PATCH] Accepting request 802262 from home:apersaud:branches:devel:languages:python update to latest version OBS-URL: https://build.opensuse.org/request/show/802262 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-semver?expand=0&rev=21 --- python-semver-2.9.1.tar.gz | 3 --- python-semver.changes | 34 ++++++++++++++++++++++++++++++++++ python-semver.spec | 9 ++++----- semver-2.10.0.tar.gz | 3 +++ 4 files changed, 41 insertions(+), 8 deletions(-) delete mode 100644 python-semver-2.9.1.tar.gz create mode 100644 semver-2.10.0.tar.gz diff --git a/python-semver-2.9.1.tar.gz b/python-semver-2.9.1.tar.gz deleted file mode 100644 index 234ed97..0000000 --- a/python-semver-2.9.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6132e85fc9edbce6c049d60a3e297885c88c7c9ac9a3f4f021369b67bf1cb8ed -size 32437 diff --git a/python-semver.changes b/python-semver.changes index ca335d9..6f13b2b 100644 --- a/python-semver.changes +++ b/python-semver.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Sat May 9 16:05:49 UTC 2020 - Arun Persaud + +- specfile: + * updated url + * moved download url back to pypi (issue with tests not included seems resolved) + +- update to version 2.10.0: + * Features + + :pr:`138`: Added __getitem__ magic method to semver.VersionInfo + class. Allows to access a version like version[1]. + + :pr:`235`: Improved documentation and shift focus on + semver.VersionInfo instead of advertising the old and deprecated + module-level functions. + * Bug Fixes + + :gh:`224` (:pr:`226`): In setup.py, replaced in class clean, + super(CleanCommand, self).run() with CleanCommand.run(self) + + :gh:`244` (:pr:`245`): Allow comparison with VersionInfo, + tuple/list, dict, and string. + * Additions + + :pr:`228`: Added better doctest integration + * Removals + + :gh:`225` (:pr:`229`): Output a DeprecationWarning for the + following functions: + - semver.parse + - semver.parse_version_info + - semver.format_version + - semver.bump_{major,minor,patch,prerelease,build} + - semver.finalize_version + - semver.replace + - semver.VersionInfo._asdict (use the new, public available function semver.VersionInfo.to_dict()) + - semver.VersionInfo._astuple (use the new, public available function semver.VersionInfo.to_tuple()) + These deprecated functions will be removed in semver 3. + ------------------------------------------------------------------- Tue Feb 18 20:00:54 UTC 2020 - Sebastian Wagner diff --git a/python-semver.spec b/python-semver.spec index 4e9b445..18a7269 100644 --- a/python-semver.spec +++ b/python-semver.spec @@ -19,14 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-semver -Version: 2.9.1 +Version: 2.10.0 Release: 0 Summary: Python helper for Semantic Versioning License: BSD-3-Clause Group: Development/Languages/Python -URL: https://github.com/k-bx/python-semver -# https://github.com/k-bx/python-semver/issues/136 -Source: https://github.com/k-bx/python-semver/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +URL: https://github.com/python-semver/python-semver +Source: https://files.pythonhosted.org/packages/source/s/semver/semver-%{version}.tar.gz BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} @@ -42,7 +41,7 @@ A Python module for semantic versioning. Simplifies comparing versions. See also http://semver.org/ %prep -%setup -q -n python-semver-%{version} +%setup -q -n semver-%{version} %build %python_build diff --git a/semver-2.10.0.tar.gz b/semver-2.10.0.tar.gz new file mode 100644 index 0000000..2fd7660 --- /dev/null +++ b/semver-2.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ae5f926f2c4c1aa0612f95d4d502c838f41526f0b71e20cc706c28aa9763c47 +size 40852