Switch to patch that I got in to upstream
This commit is contained in:
parent
d9f5a2d4b3
commit
8e9734fd2b
@ -1,23 +1,24 @@
|
|||||||
diff -up distribute-0.6.14/setuptools/command/easy_install.py.bak distribute-0.6.14/setuptools/command/easy_install.py
|
changeset: 754:f64c2d57df43
|
||||||
--- distribute-0.6.14/setuptools/command/easy_install.py.bak 2011-02-22 09:50:37.899769278 -0800
|
branch: 0.6-maintenance
|
||||||
+++ distribute-0.6.14/setuptools/command/easy_install.py 2011-02-22 10:03:06.662931661 -0800
|
tag: tip
|
||||||
@@ -191,7 +191,6 @@ class easy_install(Command):
|
user: Toshio Kuratomi <toshio@fedoraproject.org>
|
||||||
|
date: Tue Feb 22 12:05:49 2011 -0800
|
||||||
py_version = sys.version.split()[0]
|
summary: Fix for easy_install running on python-3.2
|
||||||
prefix, exec_prefix = get_config_vars('prefix', 'exec_prefix')
|
|
||||||
-
|
diff -r 5bc94690ee6c -r f64c2d57df43 setuptools/command/easy_install.py
|
||||||
self.config_vars = {'dist_name': self.distribution.get_name(),
|
--- a/setuptools/command/easy_install.py Sat Nov 06 15:01:33 2010 +0100
|
||||||
'dist_version': self.distribution.get_version(),
|
+++ b/setuptools/command/easy_install.py Tue Feb 22 12:05:49 2011 -0800
|
||||||
'dist_fullname': self.distribution.get_fullname(),
|
@@ -204,6 +204,12 @@
|
||||||
@@ -203,6 +202,11 @@ class easy_install(Command):
|
|
||||||
'sys_exec_prefix': exec_prefix,
|
|
||||||
'exec_prefix': exec_prefix,
|
'exec_prefix': exec_prefix,
|
||||||
}
|
}
|
||||||
|
|
||||||
+ try:
|
+ try:
|
||||||
+ self.config_vars['abiflags'] = sys.abiflags
|
+ self.config_vars['abiflags'] = sys.abiflags
|
||||||
+ except AttributeError:
|
+ except AttributeError:
|
||||||
+ # abiflags is only available on python-3.2+
|
+ # Only python-3.2+ has sys.abiflags
|
||||||
+ pass
|
+ self.config_vars['abiflags'] = ''
|
||||||
|
+
|
||||||
if HAS_USER_SITE:
|
if HAS_USER_SITE:
|
||||||
self.config_vars['userbase'] = self.install_userbase
|
self.config_vars['userbase'] = self.install_userbase
|
||||||
|
self.config_vars['usersite'] = self.install_usersite
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
Name: python-setuptools
|
Name: python-setuptools
|
||||||
Version: 0.6.14
|
Version: 0.6.14
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Easily build and distribute Python packages
|
Summary: Easily build and distribute Python packages
|
||||||
|
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
@ -138,6 +138,9 @@ rm -rf %{buildroot}
|
|||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 22 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.14-7
|
||||||
|
- Switch to patch that I got in to upstream
|
||||||
|
|
||||||
* Tue Feb 22 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.14-6
|
* Tue Feb 22 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.14-6
|
||||||
- Fix build on python-3.2
|
- Fix build on python-3.2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user