Update to upstream 0.6.36. Many bugfixes

This commit is contained in:
Toshio Kuratomi 2013-04-11 18:09:47 -07:00
parent afefd20505
commit 895ce1eb13
4 changed files with 43 additions and 9 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ distribute-0.6.14.tar.gz
/distribute-0.6.26.tar.gz
/distribute-0.6.27.tar.gz
/distribute-0.6.28.tar.gz
/distribute-0.6.36.tar.gz

View 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)

View File

@ -7,7 +7,7 @@
%global srcname distribute
Name: python-setuptools
Version: 0.6.28
Version: 0.6.36
Release: 1%{?dist}
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
Source1: psfl.txt
Source2: zpl.txt
# https://bitbucket.org/tarek/distribute/issue/300/invalid-urls-can-fail-with-other-error
Patch0: distribute-different-exception-message.patch
# Sometimes this times out in the build system. Hanging onto the patch in git
# for a bit in case that behavior returns
#Patch1: distribute-timeout-exception.patch
# Submitted upstream
# https://bitbucket.org/tarek/distribute/issue/363/skip-test_sdist_with_utf8_encoded_filename
Patch0: distribute-skip-sdist_with_utf8_encoded_filename.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -67,8 +65,7 @@ This package contains the distribute fork of setuptools.
%prep
%setup -q -n %{srcname}-%{version}
%patch0 -p1 -b .excmsg
#patch1 -p1 -b .exctype
%patch0 -p1
find -name '*.txt' | xargs chmod -x
find . -name '*.orig' -exec rm \{\} \;
@ -152,6 +149,12 @@ rm -rf %{buildroot}
%endif # with_python3
%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
- New upstream release:
- python-3.3 fixes

View File

@ -1 +1 @@
b400b532e33f78551e6847c1f5965e56 distribute-0.6.28.tar.gz
a923385de72dcdca68cd4ac2b9dc1148 distribute-0.6.36.tar.gz