commit
9c6f39df1d
Binary file not shown.
BIN
distlib-0.3.4.zip
Normal file
BIN
distlib-0.3.4.zip
Normal file
Binary file not shown.
@ -1,35 +1,18 @@
|
||||
--- 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:
|
||||
from types import FileType as file_type
|
||||
import __builtin__ as builtins
|
||||
import ConfigParser as configparser
|
||||
- from ._backport import shutil
|
||||
+ import shutil
|
||||
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
|
||||
try:
|
||||
import sysconfig
|
||||
except ImportError: # pragma: no cover
|
||||
- from ._backport import sysconfig
|
||||
+ import sysconfig
|
||||
|
||||
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(
|
||||
platforms='any',
|
||||
diff --git a/setup.py b/setup.py
|
||||
index e88d95f..6e1e3df 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -61,10 +61,6 @@ distutils.core.setup(
|
||||
packages=[
|
||||
'distlib',
|
||||
- 'distlib._backport',
|
||||
'distlib'
|
||||
],
|
||||
- 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
|
||||
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
%bcond_with check
|
||||
|
||||
Name: python-distlib
|
||||
Version: 0.3.1
|
||||
Release: 2
|
||||
Version: 0.3.4
|
||||
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
|
||||
@ -27,9 +27,6 @@ basis for third-party packaging tools.
|
||||
%autosetup -n distlib-%{version} -p1
|
||||
|
||||
rm distlib/*.exe
|
||||
rm -rf distlib/_backport
|
||||
rm tests/test_shutil.py*
|
||||
rm tests/test_sysconfig.py*
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
@ -48,6 +45,9 @@ export PYTHONHASHSEED=0
|
||||
%{python3_sitelib}/distlib*
|
||||
|
||||
%changelog
|
||||
* Thu Dec 09 2021 shixuantong <shixuantong@huawei.com> - 0.3.4-1
|
||||
- update version to 0.3.4
|
||||
|
||||
* Sat Nov 27 2021 shixuantong <shixuantong@huawei.com> - 0.3.1-2
|
||||
- fix build fail for python3-3.10.0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user