Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37756218
en ru br
ALT Linux repos
S:2022.02.02-alt2

Group :: Development/Python3
RPM: python3-module-triangle

 Main   Changelog   Spec   Patches   Sources   Download   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

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin