forked from pool/python-packaging
Accepting request 368433 from home:tbechtold:branches:devel:languages:python
- update to 16.5:
* Fix a regression in parsing requirements with whitespaces between the comma
separators.
* Fix a regression in parsing requirements like ``foo (==4)``.
* Fix a bug where ``packaging.requirements:Requirement`` was overly strict when
matching legacy requirements.
* Add a function that implements the name canonicalization from PEP 503.
* Implement requirement specifiers from PEP 508.
* Relicense so that packaging is available under *either* the Apache License,
Version 2.0 or a 2 Clause BSD license.
* Support installation of packaging when only distutils is available.
* Fix ``==`` comparison when there is a prefix and a local version in play.
(:issue:`41`).
* Implement environment markers from PEP 508.
- Adjust Requires according to requires.txt
OBS-URL: https://build.opensuse.org/request/show/368433
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=7
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-packaging
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 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
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: python-packaging
|
||||
Version: 15.3
|
||||
Version: 16.5
|
||||
Release: 0
|
||||
Summary: Core utilities for Python packages
|
||||
License: Apache-2.0
|
||||
@@ -26,8 +26,12 @@ Url: https://github.com/pypa/packaging
|
||||
Source: https://pypi.python.org/packages/source/p/packaging/packaging-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-pretend
|
||||
BuildRequires: python-pyparsing
|
||||
BuildRequires: python-pytest
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-six
|
||||
Requires: python-pyparsing
|
||||
Requires: python-six
|
||||
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()")}
|
||||
|
||||
Reference in New Issue
Block a user