File python-Epsilon.spec of Package python-Epsilon
#
# spec file for package python-pip
#
# 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-Epsilon
Version: 0.6.0
Release: 0
Summary: Divmod utility package
License: MIT
Url: http://www.divmod.org/trac/wiki/DivmodEpsilon
Group: Development/Languages/Python
Source0: http://pypi.python.org/packages/source/E/Epsilon/Epsilon-0.6.0.tar.gz
BuildRequires: python-Twisted >= 2.1.1
BuildRequires: python-devel
BuildRequires: python-distribute
Requires: python-Twisted >= 2.1.1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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
A small utility package that depends on tools too recent for Twisted (like
datetime in python2.4) but performs generic enough functions that it can be
used in projects that don't want to share Divmod's other projects' large
footprint.
Currently included:
* A powerful date/time formatting and import/export class (ExtimeDotTime),
for exchanging date and time information between all Python's various
ways to interpret objects as times or time deltas.
* Tools for managing concurrent asynchronous processes within Twisted.
* A metaclass which helps you define classes with explicit states.
* A featureful Version class.
* A formal system for application of monkey-patches.
%prep
%setup -n Epsilon-%{version} -q
%build
python setup.py build
%install
python setup.py install --skip-build --root %{buildroot} --prefix %{_prefix}
rm -f %{buildroot}%{_bindir}/benchmark
%files
%defattr(-,root,root,-)
%doc README NAME.txt NEWS.txt
%{python_sitelib}/*
%changelog