Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:netmask
python-epsilon
python-epsilon.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-epsilon.spec of Package python-epsilon
%{?!python:%define python python} %{?!pybasever:%{expand:%%define pybasever %(%{__python} -c "import sys ; print sys.version[:3]")}} %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %define origname Epsilon Name: %{python}-epsilon Version: 0.5.8 Release: 0%{?dist} Summary: Divmod utility package Group: Development/Libraries License: MIT URL: http://www.divmod.org/trac/wiki/DivmodEpsilon Source0: http://divmod.org/trac/attachment/wiki/SoftwareReleases/%{origname}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel BuildRequires: %{python}-twisted-core >= 2.1.1 # Must have setuptools to build the package # The build portions moved to a subpackage in F-8 %if 0%{?fedora} >= 8 BuildRequires: python-setuptools-devel %else BuildRequires: python-setuptools %endif # for FC3 and earlier %if "%{pybasever}" < "2.4" Requires: python(abi) = %{pybasever} %endif Requires: %{python}-twisted-core >= 2.1.1 %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 %{origname}-%{version} -q %build %{__python} setup.py build %install rm -rf $RPM_BUILD_ROOT %{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT/usr/bin/benchmark %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README NAME.txt NEWS.txt %dir %{python_sitelib}/epsilon/ %{python_sitelib}/epsilon/*.py %{python_sitelib}/epsilon/*.pyc #%ghost %{python_sitelib}/epsilon/*.pyo %dir %{python_sitelib}/epsilon/hotfixes/ %{python_sitelib}/epsilon/hotfixes/*.py %{python_sitelib}/epsilon/hotfixes/*.pyc #%ghost %{python_sitelib}/epsilon/hotfixes/*.pyo %dir %{python_sitelib}/epsilon/scripts/ %{python_sitelib}/epsilon/scripts/*.py %{python_sitelib}/epsilon/scripts/*.pyc #%ghost %{python_sitelib}/epsilon/scripts/*.pyo %dir %{python_sitelib}/epsilon/test/ %{python_sitelib}/epsilon/test/*.py %{python_sitelib}/epsilon/test/*.pyc #%ghost %{python_sitelib}/epsilon/test/*.pyo %changelog * Sat Feb 09 2007 Mauricio Teixeira <mteixeira@webset.net> 0.5.8-0 - initial package
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