Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37858572
en ru br
Репозитории ALT

Группа :: Науки/Прочее
Пакет: python-module-pycdf

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

%define cdfdir %_libexecdir/hdf5-seq

%define oname pycdf
Name: python-module-pycdf
Version: 0.6_0
Release: alt1
Summary: Python wrapper around the Unidata netCDF library
License: Public
Group: Sciences/Other
Url: http://sourceforge.net/projects/pysclint/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>

# https://pysclint.svn.sourceforge.net/svnroot/pysclint

Source: %oname-%version.tar.gz

BuildRequires(pre): rpm-build-python
BuildPreReq: python-devel python-module-Pyrex swig python-module-numpy
BuildPreReq: zlib-devel libjpeg-devel libnetcdf-devel
%setup_python_module %oname

%description
The pycdf package wraps the complete functionality of the Unidata netcdf
library inside a Python OOP framework. Variables are read/written
through arrays defined by the Numeric or numarray packages.

%prep
%setup

%build
pushd pycdf
sed -i "s| at INCDIRS at |%cdfdir/include|g" setup.py
sed -i "s| at LIBDIRS at |%cdfdir/lib|g" setup.py
%python_build
popd

%install
pushd pycdf
%python_install
popd

cp -fR doc/pycdf/examples %buildroot%python_sitelibdir/pycdf/

%files
%doc pycdf/CHANGES pycdf/PKG-INFO pycdf/README pycdf/doc/pycdf.html
%python_sitelibdir/*

%changelog

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

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