From e58e030537d4af35efb9255591fd96968d785effe774d940745fe65790436fb1 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 8 Oct 2020 03:48:25 +0000 Subject: [PATCH] - Update to 0.3.1: * scripts + Fixed #132: Added documentation to help with relative interpreter paths. + Fixed #134: Allowed specifying a different target Python version when generating scripts. + Fixed #135: Exposed the ``enquote_executable`` function previously implemented as an internal function. + Addressed #138: Improved metadata support for newer metadata versions. * wheel + Changed the output of flags in entry point definitions. + Stopped writing JSON metadata. Only old-style metadata is written now. - Refreshed remove-backports.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distlib?expand=0&rev=14 --- distlib-0.3.0.zip | 3 --- distlib-0.3.1.zip | 3 +++ python-distlib.changes | 16 +++++++++++++ python-distlib.spec | 2 +- remove-backports.patch | 51 +++++++++++++++++++++++------------------- 5 files changed, 48 insertions(+), 27 deletions(-) delete mode 100644 distlib-0.3.0.zip create mode 100644 distlib-0.3.1.zip diff --git a/distlib-0.3.0.zip b/distlib-0.3.0.zip deleted file mode 100644 index 6af43d2..0000000 --- a/distlib-0.3.0.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2e166e231a26b36d6dfe35a48c4464346620f8645ed0ace01ee31822b288de21 -size 571953 diff --git a/distlib-0.3.1.zip b/distlib-0.3.1.zip new file mode 100644 index 0000000..02c0153 --- /dev/null +++ b/distlib-0.3.1.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:edf6116872c863e1aa9d5bb7cb5e05a022c519a4594dc703843343a9ddd9bff1 +size 578925 diff --git a/python-distlib.changes b/python-distlib.changes index 236539d..b6fa45e 100644 --- a/python-distlib.changes +++ b/python-distlib.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Oct 8 03:44:52 UTC 2020 - Steve Kowalik + +- Update to 0.3.1: + * scripts + + Fixed #132: Added documentation to help with relative interpreter paths. + + Fixed #134: Allowed specifying a different target Python version when + generating scripts. + + Fixed #135: Exposed the ``enquote_executable`` function previously + implemented as an internal function. + + Addressed #138: Improved metadata support for newer metadata versions. + * wheel + + Changed the output of flags in entry point definitions. + + Stopped writing JSON metadata. Only old-style metadata is written now. +- Refreshed remove-backports.patch + ------------------------------------------------------------------- Fri Mar 13 08:37:16 UTC 2020 - Tomáš Chvátal diff --git a/python-distlib.spec b/python-distlib.spec index 9baf114..f70027a 100644 --- a/python-distlib.spec +++ b/python-distlib.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-distlib -Version: 0.3.0 +Version: 0.3.1 Release: 0 Summary: Distribution utilities License: Python-2.0 diff --git a/remove-backports.patch b/remove-backports.patch index 33dac78..503c9bf 100644 --- a/remove-backports.patch +++ b/remove-backports.patch @@ -1,19 +1,21 @@ -diff -ur distlib-0.2.8-orig/distlib/_backport/shutil.py distlib-0.2.8/distlib/_backport/shutil.py ---- distlib-0.2.8-orig/distlib/_backport/shutil.py 2019-03-08 21:07:05.882089921 +0700 -+++ distlib-0.2.8/distlib/_backport/shutil.py 2019-03-08 21:07:30.806286099 +0700 -@@ -16,7 +16,7 @@ - import fnmatch - import collections +Index: distlib-0.3.1/distlib/_backport/shutil.py +=================================================================== +--- distlib-0.3.1.orig/distlib/_backport/shutil.py ++++ distlib-0.3.1/distlib/_backport/shutil.py +@@ -19,7 +19,7 @@ try: + except ImportError: + from collections import Callable import errno -from . import tarfile +import tarfile try: import bz2 -diff -ur distlib-0.2.8-orig/distlib/compat.py distlib-0.2.8/distlib/compat.py ---- distlib-0.2.8-orig/distlib/compat.py 2019-03-08 21:07:05.882089921 +0700 -+++ distlib-0.2.8/distlib/compat.py 2019-03-08 21:08:56.770962447 +0700 -@@ -311,10 +311,7 @@ +Index: distlib-0.3.1/distlib/compat.py +=================================================================== +--- distlib-0.3.1.orig/distlib/compat.py ++++ distlib-0.3.1/distlib/compat.py +@@ -311,10 +311,7 @@ except ImportError: # pragma: no cover return 'IronPython' return 'CPython' @@ -25,9 +27,10 @@ diff -ur distlib-0.2.8-orig/distlib/compat.py distlib-0.2.8/distlib/compat.py try: callable = callable -diff -ur distlib-0.2.8-orig/setup.py distlib-0.2.8/setup.py ---- distlib-0.2.8-orig/setup.py 2019-03-08 21:07:05.894090015 +0700 -+++ distlib-0.2.8/setup.py 2019-03-08 21:07:30.794286005 +0700 +Index: distlib-0.3.1/setup.py +=================================================================== +--- distlib-0.3.1.orig/setup.py ++++ distlib-0.3.1/setup.py @@ -6,7 +6,6 @@ # @@ -36,7 +39,7 @@ diff -ur distlib-0.2.8-orig/setup.py distlib-0.2.8/setup.py from os.path import join, dirname, abspath import re import sys -@@ -68,7 +67,6 @@ +@@ -69,7 +68,6 @@ distutils.core.setup( 'distlib._backport', ], package_data={ @@ -44,10 +47,11 @@ diff -ur distlib-0.2.8-orig/setup.py distlib-0.2.8/setup.py 'distlib': ['t32.exe', 't64.exe', 'w32.exe', 'w64.exe'], }, cmdclass={ -diff -ur distlib-0.2.8-orig/tests/distlib_tests.py distlib-0.2.8/tests/distlib_tests.py ---- distlib-0.2.8-orig/tests/distlib_tests.py 2019-03-08 21:07:05.890089984 +0700 -+++ distlib-0.2.8/tests/distlib_tests.py 2019-03-08 21:07:30.782285911 +0700 -@@ -10,7 +10,6 @@ +Index: distlib-0.3.1/tests/distlib_tests.py +=================================================================== +--- distlib-0.3.1.orig/tests/distlib_tests.py ++++ distlib-0.3.1/tests/distlib_tests.py +@@ -10,7 +10,6 @@ _ver = sys.version_info[:2] from test_database import (DataFilesTestCase, TestDatabase, TestDistribution, TestEggInfoDistribution, DepGraphTestCase) from test_index import PackageIndexTestCase @@ -55,17 +59,18 @@ diff -ur distlib-0.2.8-orig/tests/distlib_tests.py distlib-0.2.8/tests/distlib_t from test_manifest import ManifestTestCase from test_markers import MarkersTestCase from test_metadata import MetadataTestCase, LegacyMetadataTestCase -@@ -23,6 +22,5 @@ +@@ -23,6 +22,5 @@ from test_wheel import WheelTestCase if _ver == (2, 6): from test_shutil import TestCopyFile, TestMove, TestShutil - from test_sysconfig import TestSysConfig, MakefileTests from test_util import (UtilTestCase, ProgressTestCase, FileOpsTestCase, GlobTestCase) -diff -ur distlib-0.2.8-orig/tests/test_shutil.py distlib-0.2.8/tests/test_shutil.py ---- distlib-0.2.8-orig/tests/test_shutil.py 2019-03-08 21:07:05.890089984 +0700 -+++ distlib-0.2.8/tests/test_shutil.py 2019-03-08 21:07:30.818286194 +0700 -@@ -20,7 +20,7 @@ +Index: distlib-0.3.1/tests/test_shutil.py +=================================================================== +--- distlib-0.3.1.orig/tests/test_shutil.py ++++ distlib-0.3.1/tests/test_shutil.py +@@ -20,7 +20,7 @@ import tempfile from compat import unittest