Files
guru/dev-python/trianglesolver/trianglesolver-1.2.ebuild
T
David Roman 59f98117e4 */*: disable py3.12 && remove dead impls
Disable py3.12 except for packages which only had py3.12 in PYTHON_COMPAT

Signed-off-by: David Roman <stkw0@disroot.org>
Part-of: https://codeberg.org/gentoo/guru/pulls/161
2026-11-03 14:42:49 +01:00

21 lines
522 B
Bash

# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{13..14} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="Attempt to solve triangles given partial info about sides and angles"
HOMEPAGE="https://pypi.org/project/trianglesolver/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
python_test() {
"${EPYTHON}" -c "import trianglesolver; trianglesolver.run_lots_of_tests()" \
|| die "Tests failed with ${EPYTHON}"
}