rpms/python-decorator/devel decorator-3.0.1-doctest.patch, 1.1, 1.2 python-decorator.spec, 1.8, 1.9

Toshio くらとみ toshio at fedoraproject.org
Tue Oct 6 20:35:58 UTC 2009


Author: toshio

Update of /cvs/pkgs/rpms/python-decorator/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18247

Modified Files:
	decorator-3.0.1-doctest.patch python-decorator.spec 
Log Message:

* Tue Oct 6 2009 Toshio Kuratomi <toshio at fedoraproject.org> - 3.1.2-1
- Update to upstream release 3.1.2
- Drop patch included upstream


decorator-3.0.1-doctest.patch:
 documentation.py |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Index: decorator-3.0.1-doctest.patch
===================================================================
RCS file: /cvs/pkgs/rpms/python-decorator/devel/decorator-3.0.1-doctest.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- decorator-3.0.1-doctest.patch	22 May 2009 05:24:36 -0000	1.1
+++ decorator-3.0.1-doctest.patch	6 Oct 2009 20:35:56 -0000	1.2
@@ -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.p
   >>> 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") 
--<Thread(write-1, started)>
-+>>> write("data1")  # doctest: +ELLIPSIS
-+<Thread(write-1, started...)>
- 
- >>> time.sleep(.1) # wait a bit, so we are sure data2 is written after data1
- 
-->>> write("data2") 
--<Thread(write-2, started)>
-+>>> write("data2") # doctest: +ELLIPSIS
-+<Thread(write-2, started...)>
- 
- >>> time.sleep(2) # wait for the writers to complete
- 


Index: python-decorator.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-decorator/devel/python-decorator.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- python-decorator.spec	26 Jul 2009 20:17:31 -0000	1.8
+++ python-decorator.spec	6 Oct 2009 20:35:57 -0000	1.9
@@ -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 <toshio at fedoraproject.org> - 3.1.2-1
+- Update to upstream release 3.1.2
+- Drop patch included upstream
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list