3
0

Accepting request 590421 from home:TheBlackCat:branches:devel:languages:python

- Update to version 17.1
  * Fix utils.canonicalize_version when supplying non PEP 440 versions.
- Update to version 17.0
  * Drop support for python 2.6, 3.2, and 3.3.
  * Define minimal pyparsing version to 2.0.2 (#91).
  * Add epoch, release, pre, dev, and post attributes to Version and LegacyVersion (#34).
  * Add Version().is_devrelease and LegacyVersion().is_devrelease to make it easy to determine if a release is a development release.
  * Add utils.canonicalize_version to canonicalize version strings or Version instances (#121).

OBS-URL: https://build.opensuse.org/request/show/590421
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=19
This commit is contained in:
Todd R 2018-03-22 20:43:19 +00:00 committed by Git OBS Bridge
parent d3ba2f0100
commit 5004914bfa
4 changed files with 19 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5d50835fdf0a7edf0b55e311b7c887786504efea1177abd7e69329a8e5ea619e
size 44706

3
packaging-17.1.tar.gz Normal file
View File

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Mar 22 20:37:57 UTC 2018 - toddrme2178@gmail.com
- Update to version 17.1
* Fix utils.canonicalize_version when supplying non PEP 440 versions.
- Update to version 17.0
* Drop support for python 2.6, 3.2, and 3.3.
* Define minimal pyparsing version to 2.0.2 (#91).
* Add epoch, release, pre, dev, and post attributes to Version and LegacyVersion (#34).
* Add Version().is_devrelease and LegacyVersion().is_devrelease to make it easy to determine if a release is a development release.
* Add utils.canonicalize_version to canonicalize version strings or Version instances (#121).
-------------------------------------------------------------------
Tue May 2 08:41:19 UTC 2017 - dmueller@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-packaging
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -20,7 +20,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-packaging
Version: 16.8
Version: 17.1
Release: 0
Summary: Core utilities for Python packages
License: Apache-2.0
@ -28,7 +28,7 @@ Group: Development/Languages/Python
Url: https://github.com/pypa/packaging
Source: https://pypi.io/packages/source/p/packaging/packaging-%{version}.tar.gz
BuildRequires: %{python_module base}
BuildRequires: %{python_module pyparsing}
BuildRequires: %{python_module pyparsing >= 2.0.2}
BuildRequires: %{python_module six}
BuildRequires: python-rpm-macros
# do not add setuptools dependency, this is now a dependency
@ -43,9 +43,8 @@ BuildRequires: %{python_module pytest}
# File "/usr/lib/python2.7/site-packages/packaging/requirements.py", line 59, in <module>
# MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
# TypeError: __call__() takes exactly 2 arguments (1 given)
Requires: python-pyparsing >= 2.2.0
Requires: python-pyparsing >= 2.0.2
Requires: python-six
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages