Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15
python-Epsilon
python-Epsilon.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-Epsilon.spec of Package python-Epsilon
# # spec file for package python-Epsilon # # Copyright (c) 2015 SUSE LINUX 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.7.0 Release: 0 Summary: Divmod utility package License: MIT Group: Development/Languages/Python Url: https://github.com/twisted/epsilon Source0: http://pypi.python.org/packages/source/E/Epsilon/Epsilon-%{version}.tar.gz BuildRequires: python-Twisted >= 13.2.0 BuildRequires: python-devel BuildRequires: python-setuptools Requires: python-Twisted >= 13.2.0 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 # fix end-of-line sed -i 's/\r//' NAME.txt %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 LICENSE README NAME.txt NEWS.txt %{python_sitelib}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor