From cfddb61bac97bece1a7cd43220046d8d93d5cbe8f9cf7dbe4ff364e7046bbc94 Mon Sep 17 00:00:00 2001 From: Todd R Date: Tue, 8 Mar 2016 15:38:19 +0000 Subject: [PATCH] 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 --- packaging-15.3.tar.gz | 3 --- packaging-16.5.tar.gz | 3 +++ python-packaging.changes | 19 +++++++++++++++++++ python-packaging.spec | 8 ++++++-- 4 files changed, 28 insertions(+), 5 deletions(-) delete mode 100644 packaging-15.3.tar.gz create mode 100644 packaging-16.5.tar.gz diff --git a/packaging-15.3.tar.gz b/packaging-15.3.tar.gz deleted file mode 100644 index a0782fd..0000000 --- a/packaging-15.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1e9a6b9ad621bc1dbd3aa8dfff52abc4b44f5c14fbb406731c25cba250a5f61e -size 34359 diff --git a/packaging-16.5.tar.gz b/packaging-16.5.tar.gz new file mode 100644 index 0000000..8ae79d4 --- /dev/null +++ b/packaging-16.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b763bd2a025e957323f761bf00fb72e8c17ac1c6d5eb8fb55c18802f2143f911 +size 43810 diff --git a/python-packaging.changes b/python-packaging.changes index f84ca34..ea6eaa0 100644 --- a/python-packaging.changes +++ b/python-packaging.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Tue Mar 8 13:59:53 UTC 2016 - tbechtold@suse.com + +- 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 + ------------------------------------------------------------------- Tue Aug 11 07:05:29 UTC 2015 - tbechtold@suse.com diff --git a/python-packaging.spec b/python-packaging.spec index 01e167b..d133c63 100644 --- a/python-packaging.spec +++ b/python-packaging.spec @@ -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()")}