A new user interface for you! Read more...

File python-py.spec of Package python-py

#
# spec file for package python-py (Version 0.9.2)
#
# Copyright 2008 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.

# norootforbuild
%define real_name py

Name:           python-%{real_name}
Version:        0.9.2
Release:        0
License:        MIT
Source:         %{real_name}-%{version}.tar.gz
Group:          Development/Libraries/Python
Summary:        Agile development and test support library

BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Autoreqprov:    on
Url:            http://pypi.python.org/pypi/py
BuildRequires:  python-devel
BuildRequires:  python-setuptools
%py_requires

%description
The py lib is a development support library featuring these tools and APIs:

    * py.test: cross-project testing tool with many advanced features
    * py.execnet: ad-hoc code distribution to SSH, Socket and local sub processes
    * py.magic.greenlet: micro-threads on standard CPython ("stackless-light") and PyPy
    * py.path: path abstractions over local and subversion files
    * py.code: dynamic code compile and traceback printing support

%prep
%setup -q -n %real_name-%version

%build
python setup.py build

%install
python setup.py install --prefix=%_prefix --root=%buildroot --record-rpm=filelist

%clean
rm -rf %buildroot

%files -f filelist
%defattr(-,root,root)
%doc
#PKG-INFO docs


%changelog
* Wed Mar 04 2009 cfarrell1980@gmail.com
- First import