Accepting request 313618 from home:tbechtold:branches:devel:languages:python

- update to 15.2:
  * Fix an error where the arbitary specifier (``===``) was not correctly
    allowing pre-releases when it was being used.
  * Expose the specifier and version parts through properties on the
    ``Specifier`` classes.
  * Allow iterating over the ``SpecifierSet`` to get access to all of the
    ``Specifier`` instances.
  * Allow testing if a version is contained within a specifier via the ``in``
    operator.

OBS-URL: https://build.opensuse.org/request/show/313618
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=2
This commit is contained in:
Alberto Planas 2015-06-25 09:01:38 +00:00 committed by Git OBS Bridge
parent dfa31f38bc
commit 8c58561cd9
4 changed files with 24 additions and 9 deletions

View File

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

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

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

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Thu Jun 25 04:01:09 UTC 2015 - tbechtold@suse.com
- update to 15.2:
* Fix an error where the arbitary specifier (``===``) was not correctly
allowing pre-releases when it was being used.
* Expose the specifier and version parts through properties on the
``Specifier`` classes.
* Allow iterating over the ``SpecifierSet`` to get access to all of the
``Specifier`` instances.
* Allow testing if a version is contained within a specifier via the ``in``
operator.
-------------------------------------------------------------------
Thu Apr 23 18:45:03 UTC 2015 - tbechtold@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-packaging
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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
@ -13,20 +13,21 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-packaging
Version: 15.1
Version: 15.2
Release: 0
License: Apache-2.0
Summary: Core utilities for Python packages
Url: https://github.com/pypa/packaging
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/pypa/packaging
Source: https://pypi.python.org/packages/source/p/packaging/packaging-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: python-pytest
BuildRequires: python-pretend
BuildRequires: python-pytest
BuildRequires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}