diff --git a/decorator-3.0.1-doctest.patch b/decorator-3.0.1-doctest.patch index 4eda3b8..0cea5eb 100644 --- a/decorator-3.0.1-doctest.patch +++ b/decorator-3.0.1-doctest.patch @@ -1,6 +1,7 @@ -diff -up decorator-3.0.1/documentation.py.doctest decorator-3.0.1/documentation.py ---- decorator-3.0.1/documentation.py.doctest 2009-05-21 21:13:24.171482875 -0700 -+++ decorator-3.0.1/documentation.py 2009-05-21 21:59:01.242233871 -0700 +Index: decorator-3.1.2/documentation.py +=================================================================== +--- decorator-3.1.2.orig/documentation.py ++++ decorator-3.1.2/documentation.py @@ -120,7 +120,7 @@ keyword arguments: >>> from inspect import getargspec @@ -46,30 +47,3 @@ diff -up decorator-3.0.1/documentation.py.doctest decorator-3.0.1/documentation. >>> exotic_signature() calling exotic_signature with args ((1, 2),), {} 3 -@@ -281,7 +281,7 @@ can easily check that the signature has - .. code-block:: python - - >>> print getargspec(trace) -- (['f'], None, None, None) -+ ArgSpec(args=['f'], varargs=None, keywords=None, defaults=None) - - Therefore now ``trace`` can be used as a decorator and - the following will work: -@@ -387,13 +387,13 @@ be locked. Here is a minimalistic exampl - Each call to ``write`` will create a new writer thread, but there will - be no synchronization problems since ``write`` is locked. - -->>> write("data1") -- -+>>> write("data1") # doctest: +ELLIPSIS -+ - - >>> time.sleep(.1) # wait a bit, so we are sure data2 is written after data1 - -->>> write("data2") -- -+>>> write("data2") # doctest: +ELLIPSIS -+ - - >>> time.sleep(2) # wait for the writers to complete - diff --git a/python-decorator.spec b/python-decorator.spec index 4341583..1d07207 100644 --- a/python-decorator.spec +++ b/python-decorator.spec @@ -2,8 +2,8 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: python-decorator -Version: 3.0.1 -Release: 3%{?dist} +Version: 3.1.2 +Release: 1%{?dist} Summary: Module to simplify usage of decorators Group: Development/Languages @@ -52,6 +52,10 @@ nosetests --with-doctest %{python_sitelib}/* %changelog +* Tue Oct 6 2009 Toshio Kuratomi - 3.1.2-1 +- Update to upstream release 3.1.2 +- Drop patch included upstream + * Sun Jul 26 2009 Fedora Release Engineering - 3.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild