# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) PYTHON_REQ_USE="tk" DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 DESCRIPTION="SnapPy is for studying the topology and geometry of 3-manifolds" HOMEPAGE="https://github.com/3-manifolds/SnapPy https://pypi.org/project/snappy/" # Not using pypi. Ship with cythonized files without the sources. SRC_URI="https://github.com/3-manifolds/SnapPy/archive/refs/tags/${PV}_as_released.tar.gz -> ${P}.gh.tar.gz" LICENSE="GPL-2+ BSD" SLOT="0" KEYWORDS="~amd64" DEPEND="dev-python/cypari2[${PYTHON_USEDEP}] dev-python/ipython[${PYTHON_USEDEP}] dev-python/pypng[${PYTHON_USEDEP}] virtual/opengl" RDEPEND="${DEPEND} >=sci-mathematics/spherogram-2.1[${PYTHON_USEDEP}] >=sci-mathematics/plink-2.4.1[${PYTHON_USEDEP}] sci-mathematics/snappy-manifolds[${PYTHON_USEDEP}] sci-mathematics/FXrays[${PYTHON_USEDEP}] !!dev-python/python-snappy" BDEPEND="dev-python/cython[${PYTHON_USEDEP}]