14
0
forked from pool/python-semver

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
This commit is contained in:
Tomáš Chvátal
2020-05-09 17:30:28 +00:00
committed by Git OBS Bridge
parent d100318dbe
commit d62028be47
4 changed files with 41 additions and 8 deletions

View File

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

View File

@@ -1,3 +1,37 @@
-------------------------------------------------------------------
Sat May 9 16:05:49 UTC 2020 - Arun Persaud <arun@gmx.de>
- 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 <sebix+novell.com@sebix.at> Tue Feb 18 20:00:54 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>

View File

@@ -19,14 +19,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test %bcond_without test
Name: python-semver Name: python-semver
Version: 2.9.1 Version: 2.10.0
Release: 0 Release: 0
Summary: Python helper for Semantic Versioning Summary: Python helper for Semantic Versioning
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/k-bx/python-semver URL: https://github.com/python-semver/python-semver
# https://github.com/k-bx/python-semver/issues/136 Source: https://files.pythonhosted.org/packages/source/s/semver/semver-%{version}.tar.gz
Source: https://github.com/k-bx/python-semver/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
@@ -42,7 +41,7 @@ A Python module for semantic versioning. Simplifies comparing versions.
See also http://semver.org/ See also http://semver.org/
%prep %prep
%setup -q -n python-semver-%{version} %setup -q -n semver-%{version}
%build %build
%python_build %python_build

3
semver-2.10.0.tar.gz Normal file
View File

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