Update to upstream 0.6.36. Many bugfixes
This commit is contained in:
parent
afefd20505
commit
895ce1eb13
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@ distribute-0.6.14.tar.gz
|
|||||||
/distribute-0.6.26.tar.gz
|
/distribute-0.6.26.tar.gz
|
||||||
/distribute-0.6.27.tar.gz
|
/distribute-0.6.27.tar.gz
|
||||||
/distribute-0.6.28.tar.gz
|
/distribute-0.6.28.tar.gz
|
||||||
|
/distribute-0.6.36.tar.gz
|
||||||
|
30
distribute-skip-sdist_with_utf8_encoded_filename.patch
Normal file
30
distribute-skip-sdist_with_utf8_encoded_filename.patch
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
diff -r a59fcbbf5ca7 setuptools/tests/test_sdist.py
|
||||||
|
--- a/setuptools/tests/test_sdist.py Fri Apr 05 17:14:51 2013 -0400
|
||||||
|
+++ b/setuptools/tests/test_sdist.py Thu Apr 11 18:04:06 2013 -0700
|
||||||
|
@@ -1,7 +1,7 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
"""sdist tests"""
|
||||||
|
|
||||||
|
-
|
||||||
|
+import locale
|
||||||
|
import os
|
||||||
|
import shutil
|
||||||
|
import sys
|
||||||
|
@@ -11,7 +11,7 @@
|
||||||
|
import unicodedata
|
||||||
|
from StringIO import StringIO
|
||||||
|
|
||||||
|
-
|
||||||
|
+from setuptools.tests.py26compat import skipIf
|
||||||
|
from setuptools.command.sdist import sdist
|
||||||
|
from setuptools.command.egg_info import manifest_maker
|
||||||
|
from setuptools.dist import Distribution
|
||||||
|
@@ -316,6 +316,8 @@
|
||||||
|
filename = filename.decode('latin-1')
|
||||||
|
self.assertFalse(filename in cmd.filelist.files)
|
||||||
|
|
||||||
|
+ @skipIf(sys.version_info >= (3,) and locale.getpreferredencoding() != 'UTF-8',
|
||||||
|
+ 'Unittest fails if locale is not utf-8 but the manifests is recorded correctly')
|
||||||
|
def test_sdist_with_utf8_encoded_filename(self):
|
||||||
|
# Test for #303.
|
||||||
|
dist = Distribution(SETUP_ATTRS)
|
@ -7,7 +7,7 @@
|
|||||||
%global srcname distribute
|
%global srcname distribute
|
||||||
|
|
||||||
Name: python-setuptools
|
Name: python-setuptools
|
||||||
Version: 0.6.28
|
Version: 0.6.36
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Easily build and distribute Python packages
|
Summary: Easily build and distribute Python packages
|
||||||
|
|
||||||
@ -17,11 +17,9 @@ URL: http://pypi.python.org/pypi/%{srcname}
|
|||||||
Source0: http://pypi.python.org/packages/source/d/%{srcname}/%{srcname}-%{version}.tar.gz
|
Source0: http://pypi.python.org/packages/source/d/%{srcname}/%{srcname}-%{version}.tar.gz
|
||||||
Source1: psfl.txt
|
Source1: psfl.txt
|
||||||
Source2: zpl.txt
|
Source2: zpl.txt
|
||||||
# https://bitbucket.org/tarek/distribute/issue/300/invalid-urls-can-fail-with-other-error
|
# Submitted upstream
|
||||||
Patch0: distribute-different-exception-message.patch
|
# https://bitbucket.org/tarek/distribute/issue/363/skip-test_sdist_with_utf8_encoded_filename
|
||||||
# Sometimes this times out in the build system. Hanging onto the patch in git
|
Patch0: distribute-skip-sdist_with_utf8_encoded_filename.patch
|
||||||
# for a bit in case that behavior returns
|
|
||||||
#Patch1: distribute-timeout-exception.patch
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
@ -67,8 +65,7 @@ This package contains the distribute fork of setuptools.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{srcname}-%{version}
|
%setup -q -n %{srcname}-%{version}
|
||||||
|
|
||||||
%patch0 -p1 -b .excmsg
|
%patch0 -p1
|
||||||
#patch1 -p1 -b .exctype
|
|
||||||
|
|
||||||
find -name '*.txt' | xargs chmod -x
|
find -name '*.txt' | xargs chmod -x
|
||||||
find . -name '*.orig' -exec rm \{\} \;
|
find . -name '*.orig' -exec rm \{\} \;
|
||||||
@ -152,6 +149,12 @@ rm -rf %{buildroot}
|
|||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 11 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.36-1
|
||||||
|
- Update to upstream 0.6.36. Many bugfixes
|
||||||
|
|
||||||
|
* Sat Oct 20 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.29-1
|
||||||
|
- New upstream release
|
||||||
|
|
||||||
* Mon Jul 23 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.28-1
|
* Mon Jul 23 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.28-1
|
||||||
- New upstream release:
|
- New upstream release:
|
||||||
- python-3.3 fixes
|
- python-3.3 fixes
|
||||||
|
Loading…
Reference in New Issue
Block a user