forked from pool/python-semver
Accepting request 802284 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/802284 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-semver?expand=0&rev=11
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6132e85fc9edbce6c049d60a3e297885c88c7c9ac9a3f4f021369b67bf1cb8ed
|
|
||||||
size 32437
|
|
@@ -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>
|
||||||
|
|
||||||
|
@@ -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
3
semver-2.10.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4ae5f926f2c4c1aa0612f95d4d502c838f41526f0b71e20cc706c28aa9763c47
|
||||||
|
size 40852
|
Reference in New Issue
Block a user