diff --git a/.gitignore b/.gitignore index d1510fb..0f85cd2 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ decorator-3.2.0.tar.gz /decorator-3.3.0.tar.gz /decorator-3.3.1.tar.gz /decorator-3.3.2.tar.gz +/decorator-3.3.3.tar.gz diff --git a/decorator-3.0.1-doctest.patch b/decorator-3.0.1-doctest.patch deleted file mode 100644 index 0cea5eb..0000000 --- a/decorator-3.0.1-doctest.patch +++ /dev/null @@ -1,49 +0,0 @@ -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 - >>> print getargspec(f1) -- ([], 'args', 'kw', None) -+ ArgSpec(args=[], varargs='args', keywords='kw', defaults=None) - - This means that introspection tools such as pydoc will give - wrong informations about the signature of ``f1``. This is pretty bad: -@@ -186,7 +186,7 @@ The signature of ``heavy_computation`` i - .. code-block:: python - - >>> print getargspec(heavy_computation) -- ([], None, None, None) -+ ArgSpec(args=[], varargs=None, keywords=None, defaults=None) - - A ``trace`` decorator - ------------------------------------------------------ -@@ -219,7 +219,7 @@ and it that it has the correct signature - .. code-block:: python - - >>> print getargspec(f1) -- (['x'], None, None, None) -+ ArgSpec(args=['x'], varargs=None, keywords=None, defaults=None) - - The same decorator works with functions of any signature: - -@@ -233,7 +233,7 @@ The same decorator works with functions - calling f with args (0, 3, 2), {} - - >>> print getargspec(f) -- (['x', 'y', 'z'], 'args', 'kw', (1, 2)) -+ ArgSpec(args=['x', 'y', 'z'], varargs='args', keywords='kw', defaults=(1, 2)) - - That includes even functions with exotic signatures like the following: - -@@ -243,7 +243,7 @@ That includes even functions with exotic - ... def exotic_signature((x, y)=(1,2)): return x+y - - >>> print getargspec(exotic_signature) -- ([['x', 'y']], None, None, ((1, 2),)) -+ ArgSpec(args=[['x', 'y']], varargs=None, keywords=None, defaults=((1, 2),)) - >>> exotic_signature() - calling exotic_signature with args ((1, 2),), {} - 3 diff --git a/python-decorator.spec b/python-decorator.spec index f82a449..0e42007 100644 --- a/python-decorator.spec +++ b/python-decorator.spec @@ -1,12 +1,11 @@ -# sitelib for noarch packages, sitearch for others (remove the unneeded one) -%if 0%{?fedora} > 12 || 0%{?rhel} > 6 +%if 0%{?fedora} || 0%{?rhel} > 6 %global with_python3 1 %else %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %endif Name: python-decorator -Version: 3.3.2 +Version: 3.3.3 Release: 1%{?dist} Summary: Module to simplify usage of decorators @@ -107,6 +106,9 @@ popd %changelog +* Tue Apr 24 2012 Toshio Kuratomi - 3.3.3-1 +- New upstream release + * Fri Sep 2 2011 Toshio Kuratomi - 3.3.2-1 - New upstream release diff --git a/sources b/sources index 09b4a04..18ce749 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -446f5165af67eb0fcd8fd28abd259e86 decorator-3.3.2.tar.gz +f5a0227cb1c34a0e7d5b7f9cd2ae3135 decorator-3.3.3.tar.gz