!8 Upgrade to version 0.3.3

Merge pull request !8 from 桐小哥/openEuler-22.03-LTS-Next
This commit is contained in:
openeuler-ci-bot 2021-12-20 09:34:31 +00:00 committed by Gitee
commit 20b0d0a675
3 changed files with 21 additions and 10 deletions

View File

@ -1,6 +1,8 @@
--- distlib-0.1.9/distlib/compat.py.orig 2014-06-06 09:58:21.317560756 +0200
+++ distlib-0.1.9/distlib/compat.py 2014-06-06 09:58:29.955611427 +0200
@@ -17,7 +17,7 @@ if sys.version_info[0] < 3:
diff --git a/distlib/compat.py b/distlib/compat.py
index e594106..100d695 100644
--- a/distlib/compat.py
+++ b/distlib/compat.py
@@ -22,7 +22,7 @@ if sys.version_info[0] < 3: # pragma: no cover
from types import FileType as file_type
import __builtin__ as builtins
import ConfigParser as configparser
@ -9,7 +11,7 @@
from urlparse import urlparse, urlunparse, urljoin, urlsplit, urlunsplit
from urllib import (urlretrieve, quote as _quote, unquote, url2pathname,
pathname2url, ContentTooShortError, splittype)
@@ -267,7 +267,7 @@ except ImportError: # pragma: no cover
@@ -316,7 +316,7 @@ except ImportError: # pragma: no cover
try:
import sysconfig
except ImportError: # pragma: no cover
@ -18,9 +20,11 @@
try:
callable = callable
--- distlib-0.1.9/setup.py.orig 2014-06-06 10:19:13.971997156 +0200
+++ distlib-0.1.9/setup.py 2014-06-06 10:19:20.012034150 +0200
@@ -62,12 +62,7 @@ distutils.core.setup(
diff --git a/setup.py b/setup.py
index 052cae0..cc41754 100644
--- a/setup.py
+++ b/setup.py
@@ -60,13 +60,7 @@ distutils.core.setup(
platforms='any',
packages=[
'distlib',
@ -28,8 +32,12 @@
],
- package_data={
- 'distlib._backport': ['sysconfig.cfg'],
- 'distlib': ['t32.exe', 't64.exe', 'w32.exe', 'w64.exe'],
- 'distlib': ['t32.exe', 't64.exe', 'w32.exe', 'w64.exe',
- 't64-arm.exe', 'w64-arm.exe'],
- },
cmdclass={
'test': TestCommand,
},
--
1.8.3.1

View File

@ -1,10 +1,10 @@
%bcond_with check
Name: python-distlib
Version: 0.3.1
Version: 0.3.3
Release: 1
Summary: A library of packaging functionality
License: Python
License: Python-2.0
URL: https://readthedocs.org/projects/distlib/
Source0: %pypi_source distlib %{version} zip
Patch0000: distlib_unbundle.patch
@ -49,6 +49,9 @@ export PYTHONHASHSEED=0
%{python3_sitelib}/distlib-%{version}-py?.?.egg-info
%changelog
* Mon Dec 20 2021 shixuantong <shixuantong@huawei.com> - 0.3.3-1
- update to 0.3.3
* Fri Aug 7 2020 shixuantong <shixuantong@huawei.com> - 0.3.1-1
- update to 0.3.1