Группа :: Development/Python3
Пакет: python3-module-triangle
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define oname triangle
Name: python3-module-%oname
Version: 2017.04.29
Release: alt2
Summary: Python wrapper for libtriangle
License: LGPL
Group: Development/Python
Url: http://dzhelil.info/triangle/
# https://github.com/drufat/triangle.git
Source: %name-%version.tar
Patch1: %oname-alt-docs.patch
Patch2: %oname-alt-reqs.patch
#BuildRequires(pre): rpm-macros-sphinx3
BuildRequires: libtriangle-devel
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools
BuildRequires: python3-module-Cython libnumpy-py3-devel
BuildRequires: python3-module-nose
BuildRequires: python3-module-notebook python3-module-numpy-testing
%description
Python Triangle is a python wrapper around Jonathan Richard Shewchuk's
two-dimensional quality mesh generator and delaunay triangulator
library.
%prep
%setup
%patch1 -p1
#prepare_sphinx3 .
#ln -s ../objects.inv doc/
%build
%add_optflags -fno-strict-aliasing
%python3_build_debug
%install
%python3_install
%check
%if_with python3
python3 setup.py build_ext -i
nosetests3 -v
%endif
%files
%doc *.rst
%python3_sitelibdir/*
%changelog
…
Полный changelog можно просмотреть здесь
Name: python3-module-%oname
Version: 2017.04.29
Release: alt2
Summary: Python wrapper for libtriangle
License: LGPL
Group: Development/Python
Url: http://dzhelil.info/triangle/
# https://github.com/drufat/triangle.git
Source: %name-%version.tar
Patch1: %oname-alt-docs.patch
Patch2: %oname-alt-reqs.patch
#BuildRequires(pre): rpm-macros-sphinx3
BuildRequires: libtriangle-devel
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools
BuildRequires: python3-module-Cython libnumpy-py3-devel
BuildRequires: python3-module-nose
BuildRequires: python3-module-notebook python3-module-numpy-testing
%description
Python Triangle is a python wrapper around Jonathan Richard Shewchuk's
two-dimensional quality mesh generator and delaunay triangulator
library.
%prep
%setup
%patch1 -p1
#prepare_sphinx3 .
#ln -s ../objects.inv doc/
%build
%add_optflags -fno-strict-aliasing
%python3_build_debug
%install
%python3_install
%check
%if_with python3
python3 setup.py build_ext -i
nosetests3 -v
%endif
%files
%doc *.rst
%python3_sitelibdir/*
%changelog
…
Полный changelog можно просмотреть здесь