Files
guru/dev-util/fypp/fypp-3.1.ebuild
Sergey Torokhov cbb7558847 dev-util/fypp: drop python3.8, add 3.11 compat
Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
2023-01-19 03:14:42 +03:00

26 lines
526 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="Fypp - Python powered Fortran preprocessor"
HOMEPAGE="https://github.com/aradi/fypp"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
python_test() {
# pass python version as arg
test/runtests.sh ${EPYTHON} || die
}