Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37571895
en ru br
Репозитории ALT
5.1: 3.2.1-alt1.svn20090901.1
www.altlinux.org/Changes

Группа :: Разработка/Python
Пакет: python-module-Enable

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define oname Enable
Name: python-module-%oname
Version: 3.2.1
Release: alt1.svn20090901.1
Summary: Drawing and interaction packages

Group: Development/Python
License: BSD and GPLv2
URL: http://pypi.python.org/pypi/Enable
# https://svn.enthought.com/svn/enthought/Enable
Source: %oname-%version.tar.gz
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>

BuildRequires: python-devel, python-module-setuptools
BuildPreReq: python-module-numpy gcc-c++ swig python-module-Pyrex
BuildPreReq: python-module-sphinx python-module-Pygments
BuildPreReq: libGL-devel libX11-devel

%description
The Enable project provides two related multi-platform packages for
drawing GUI objects. The Enable package is a multi-platform object
drawing library built on top of Kiva. The core of Enable is a
container/component model for drawing and event notification. Kiva is a
multi-platform DisplayPDF vector drawing engine that supports multiple
output backends, including Windows, GTK, and Macintosh native windowing
systems, a variety of raster image formats, PDF, and Postscript.

%package doc
Summary: Documentation for Enable project
Group: Development/Documentation
BuildArch: noarch
Conflicts: %name < %version-%release

%description doc
The Enable project provides two related multi-platform packages for
drawing GUI objects. The Enable package is a multi-platform object
drawing library built on top of Kiva. The core of Enable is a
container/component model for drawing and event notification. Kiva is a
multi-platform DisplayPDF vector drawing engine that supports multiple
output backends, including Windows, GTK, and Macintosh native windowing
systems, a variety of raster image formats, PDF, and Postscript.

This package contains development documentation for Enable project.

%prep
%setup

%build
%python_build

%install
%python_install -O1

rm -fR %buildroot%python_sitelibdir/enthought/kiva/mac
rm -f $(find %buildroot%python_sitelibdir -name '*mac*.py*')

sed -i 's/\.dev$//g' \
%buildroot/%python_sitelibdir/%oname-%version-*.egg-info/requires.txt

%files
%doc *.txt
%python_sitelibdir/*

%files doc
%doc docs/kiva docs/*.txt examples build/docs/html

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin