Hello community,

here is the log from the commit of package python-interlude for 
openSUSE:Factory checked in at 2012-03-20 11:33:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-interlude (Old)
 and      /work/SRC/openSUSE:Factory/.python-interlude.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-interlude", Maintainer is ""

Changes:
--------
New Changes file:

--- /dev/null   2012-03-17 10:42:43.883537212 +0100
+++ /work/SRC/openSUSE:Factory/.python-interlude.new/python-interlude.changes   
2012-03-20 11:33:31.000000000 +0100
@@ -0,0 +1,10 @@
+-------------------------------------------------------------------
+Wed Mar 14 10:34:49 UTC 2012 - [email protected]
+
+- Use license mentioned in README.rst
+
+-------------------------------------------------------------------
+Mon Mar 12 08:51:33 UTC 2012 - [email protected]
+
+- Initial version
+

New:
----
  interlude-1.1.1.tar.gz
  python-interlude.changes
  python-interlude.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-interlude.spec ++++++
#
# spec file for package python-interlude
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:           python-interlude
Version:        1.1.1
Release:        0
Url:            http://github.com/collective/interlude
Summary:        Interlude for Doctests provides an Interactive Console
License:        LGPL-3.0+
Group:          Development/Languages/Python
Source:         
http://pypi.python.org/packages/source/i/interlude/interlude-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python-devel
BuildRequires:  python-distribute
Recommends:     IPython
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch:      noarch
%endif

%description
Provides an interactive shell aka console inside your doctest case.
    
The console looks exact like in a doctest-case and you can copy and paste
code from the shell into your doctest. It feels as you are in the test case 
itself. Its not pdb, it's a python shell. 

In your doctest you can invoke the shell at any point by calling::
        
    >>> interact( locals() )        

To make your testrunner interlude aware following is needed:

%prep
%setup -q -n interlude-%{version}

%build
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}

%files
%defattr(-,root,root,-)
%doc CHANGELOG.rst README.rst
%{python_sitelib}/*

%changelog
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to