Группа :: Development/Python3
Пакет: python3-module-glumpy
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define oname glumpy
Name: python3-module-%oname
Version: 1.2.0
Release: alt1
Summary: Fast, scalable & beautiful scientific visualisation
License: BSD-3-Clause
Group: Development/Python3
Url: https://pypi.python.org/pypi/glumpy/
# https://github.com/glumpy/glumpy.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-numpy
BuildRequires: python3-module-Cython
BuildRequires: libnumpy-py3-devel
BuildRequires: python3-module-sphinx
BuildRequires: python3-module-sphinx_rtd_theme
BuildRequires: python3-module-OpenGL
%add_python3_req_skip glumpy.ext.six.moves.urllib
%py3_provides %oname
%description
Glumpy is a python library for scientific visualization that is both
fast, scalable and beautiful. Glumpy offers an intuitive interface
between numpy and modern OpenGL.
%package tests
Summary: Tests for %oname
Group: Development/Python3
Requires: %name = %EVR
%description tests
Glumpy is a python library for scientific visualization that is both
fast, scalable and beautiful. Glumpy offers an intuitive interface
between numpy and modern OpenGL.
This package contains tests for %oname.
%package pickles
Summary: Pickles for %oname
Group: Development/Python3
%description pickles
Glumpy is a python library for scientific visualization that is both
fast, scalable and beautiful. Glumpy offers an intuitive interface
between numpy and modern OpenGL.
This package contains pickles for %oname.
%package docs
Summary: Documentation for %oname
Group: Development/Documentation
BuildArch: noarch
%description docs
Glumpy is a python library for scientific visualization that is both
fast, scalable and beautiful. Glumpy offers an intuitive interface
between numpy and modern OpenGL.
This package contains documentation for %oname.
%prep
%setup
# pngmath deprecated
sed -i 's|sphinx.ext.pngmath|sphinx.ext.imgmath|' doc/conf.py
sed -i 's|sphinx-build|sphinx-build-3|' doc/Makefile
%build
%python3_build
%install
%python3_install
%make -C doc pickle
%make -C doc html
cp -fR doc/_build/pickle %buildroot%python3_sitelibdir/%oname/
%files
%doc README.rst LICENSE.txt
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*/pickle
%exclude %python3_sitelibdir/*/*/*/test*
%files tests
%python3_sitelibdir/*/*/*/test*
%files pickles
%python3_sitelibdir/*/pickle
%files docs
%doc doc/_build/html examples
%changelog
…
Полный changelog можно просмотреть здесь
Name: python3-module-%oname
Version: 1.2.0
Release: alt1
Summary: Fast, scalable & beautiful scientific visualisation
License: BSD-3-Clause
Group: Development/Python3
Url: https://pypi.python.org/pypi/glumpy/
# https://github.com/glumpy/glumpy.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-numpy
BuildRequires: python3-module-Cython
BuildRequires: libnumpy-py3-devel
BuildRequires: python3-module-sphinx
BuildRequires: python3-module-sphinx_rtd_theme
BuildRequires: python3-module-OpenGL
%add_python3_req_skip glumpy.ext.six.moves.urllib
%py3_provides %oname
%description
Glumpy is a python library for scientific visualization that is both
fast, scalable and beautiful. Glumpy offers an intuitive interface
between numpy and modern OpenGL.
%package tests
Summary: Tests for %oname
Group: Development/Python3
Requires: %name = %EVR
%description tests
Glumpy is a python library for scientific visualization that is both
fast, scalable and beautiful. Glumpy offers an intuitive interface
between numpy and modern OpenGL.
This package contains tests for %oname.
%package pickles
Summary: Pickles for %oname
Group: Development/Python3
%description pickles
Glumpy is a python library for scientific visualization that is both
fast, scalable and beautiful. Glumpy offers an intuitive interface
between numpy and modern OpenGL.
This package contains pickles for %oname.
%package docs
Summary: Documentation for %oname
Group: Development/Documentation
BuildArch: noarch
%description docs
Glumpy is a python library for scientific visualization that is both
fast, scalable and beautiful. Glumpy offers an intuitive interface
between numpy and modern OpenGL.
This package contains documentation for %oname.
%prep
%setup
# pngmath deprecated
sed -i 's|sphinx.ext.pngmath|sphinx.ext.imgmath|' doc/conf.py
sed -i 's|sphinx-build|sphinx-build-3|' doc/Makefile
%build
%python3_build
%install
%python3_install
%make -C doc pickle
%make -C doc html
cp -fR doc/_build/pickle %buildroot%python3_sitelibdir/%oname/
%files
%doc README.rst LICENSE.txt
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*/pickle
%exclude %python3_sitelibdir/*/*/*/test*
%files tests
%python3_sitelibdir/*/*/*/test*
%files pickles
%python3_sitelibdir/*/pickle
%files docs
%doc doc/_build/html examples
%changelog
…
Полный changelog можно просмотреть здесь