Группа :: Разработка/Python
Пакет: python-module-Epsilon
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define version 0.5.12
%define release alt1
%setup_python_module Epsilon
Name: %packagename
Version:%version
Release: %release
BuildArch: noarch
Summary: A set of utility modules used by Divmod projects
License: MIT
Group: Development/Python
Packager: Alexey Shabalin <shaba at altlinux.ru>
Url: http://divmod.org/trac/wiki/DivmodEpsilon
Source: http://divmod.org/trac/attachment/wiki/SoftwareReleases/%modulename-%version.tar.gz
BuildPreReq: rpm-build-python
BuildRequires: python-devel python-module-setuptools python-module-twisted python-module-OpenSSL python-modules-email
%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 %modulename-%version
%build
%python_build
%install
%python_install
%files
%python_sitelibdir/Epsilon-*.egg-info
%python_sitelibdir/epsilon
%doc *.txt LICENSE README
%exclude %_bindir/benchmark
# remove dependencies on combinator
%exclude %python_sitelibdir/epsilon/release.*
%exclude %python_sitelibdir/epsilon/test/test_release.*
%changelog
…
Полный changelog можно просмотреть здесь
%define release alt1
%setup_python_module Epsilon
Name: %packagename
Version:%version
Release: %release
BuildArch: noarch
Summary: A set of utility modules used by Divmod projects
License: MIT
Group: Development/Python
Packager: Alexey Shabalin <shaba at altlinux.ru>
Url: http://divmod.org/trac/wiki/DivmodEpsilon
Source: http://divmod.org/trac/attachment/wiki/SoftwareReleases/%modulename-%version.tar.gz
BuildPreReq: rpm-build-python
BuildRequires: python-devel python-module-setuptools python-module-twisted python-module-OpenSSL python-modules-email
%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 %modulename-%version
%build
%python_build
%install
%python_install
%files
%python_sitelibdir/Epsilon-*.egg-info
%python_sitelibdir/epsilon
%doc *.txt LICENSE README
%exclude %_bindir/benchmark
# remove dependencies on combinator
%exclude %python_sitelibdir/epsilon/release.*
%exclude %python_sitelibdir/epsilon/test/test_release.*
%changelog
…
Полный changelog можно просмотреть здесь